mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
Merged in Anon789/yacreader-4/Anon789/yacreader_ruts-correcting-errors-in-wor-1519495902252 (pull request #66)
yacreader_ru.ts Approved-by: Luis ?ngel San Mart?n <luisangelsm@gmail.com>
This commit is contained in:
@ -11,6 +11,7 @@
|
|||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QColorDialog>
|
#include <QColorDialog>
|
||||||
|
#include <QCheckBox>
|
||||||
|
|
||||||
#include "yacreader_spin_slider_widget.h"
|
#include "yacreader_spin_slider_widget.h"
|
||||||
#include "yacreader_flow_config_widget.h"
|
#include "yacreader_flow_config_widget.h"
|
||||||
@ -104,7 +105,7 @@ OptionsDialog::OptionsDialog(QWidget * parent)
|
|||||||
gammaS->setTracking(false);
|
gammaS->setTracking(false);
|
||||||
connect(gammaS,SIGNAL(valueChanged(int)),this,SLOT(gammaChanged(int)));
|
connect(gammaS,SIGNAL(valueChanged(int)),this,SLOT(gammaChanged(int)));
|
||||||
//connect(brightnessS,SIGNAL(valueChanged(int)),this,SIGNAL(changedOptions()));
|
//connect(brightnessS,SIGNAL(valueChanged(int)),this,SIGNAL(changedOptions()));
|
||||||
|
|
||||||
quickNavi = new QCheckBox(tr("Quick Navigation Mode"));
|
quickNavi = new QCheckBox(tr("Quick Navigation Mode"));
|
||||||
disableShowOnMouseOver = new QCheckBox(tr("Disable mouse over activation"));
|
disableShowOnMouseOver = new QCheckBox(tr("Disable mouse over activation"));
|
||||||
|
|
||||||
|
@ -63,6 +63,6 @@ void ApiKeyDialog::enableAccept(const QString &text)
|
|||||||
|
|
||||||
void ApiKeyDialog::saveApiKey()
|
void ApiKeyDialog::saveApiKey()
|
||||||
{
|
{
|
||||||
settings->setValue(COMIC_VINE_API_KEY,edit->text());
|
settings->setValue(COMIC_VINE_API_KEY,edit->text().trimmed());
|
||||||
accept();
|
accept();
|
||||||
}
|
}
|
||||||
|
@ -7,8 +7,9 @@
|
|||||||
#include "yacreader_flow_config_widget.h"
|
#include "yacreader_flow_config_widget.h"
|
||||||
#include "api_key_dialog.h"
|
#include "api_key_dialog.h"
|
||||||
|
|
||||||
|
#ifndef NO_OPENGL
|
||||||
FlowType flowType = Strip;
|
FlowType flowType = Strip;
|
||||||
|
#endif
|
||||||
|
|
||||||
OptionsDialog::OptionsDialog(QWidget * parent)
|
OptionsDialog::OptionsDialog(QWidget * parent)
|
||||||
:YACReaderOptionsDialog(parent)
|
:YACReaderOptionsDialog(parent)
|
||||||
|
@ -6,19 +6,17 @@ HEADERS += $$PWD/extract_delegate.h \
|
|||||||
|
|
||||||
SOURCES += $$PWD/compressed_archive.cpp
|
SOURCES += $$PWD/compressed_archive.cpp
|
||||||
|
|
||||||
unix:!macx {
|
unix:!macx:!contains(QT_CONFIG, no-pkg-config):packagesExist(libunarr) {
|
||||||
!contains(QT_CONFIG, no-pkg-config):packagesExist(libunarr) {
|
message(Using system provided unarr installation found by pkg-config.)
|
||||||
message(Using system provided unarr installation found by pkg-config.)
|
CONFIG += link_pkgconfig
|
||||||
CONFIG += link_pkgconfig
|
PKGCONFIG += libunarr
|
||||||
PKGCONFIG += libunarr
|
DEFINES += use_unarr
|
||||||
DEFINES += use_unarr
|
|
||||||
}
|
|
||||||
else:exists(/usr/include/unarr.h):exists(/usr/lib/libunarr.so) {
|
|
||||||
message(Using system provided unarr installation.)
|
|
||||||
LIBS += -lunarr
|
|
||||||
DEFINES += use_unarr
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
else:unix:!macx:exists(/usr/include/unarr.h) {
|
||||||
|
message(Using system provided unarr installation.)
|
||||||
|
LIBS += -lunarr
|
||||||
|
DEFINES += use_unarr
|
||||||
|
}
|
||||||
|
|
||||||
else:macx:exists(../../dependencies/unarr/macx/libunarr.a) {
|
else:macx:exists(../../dependencies/unarr/macx/libunarr.a) {
|
||||||
message(Found prebuilt unarr library in dependencies directory.)
|
message(Found prebuilt unarr library in dependencies directory.)
|
||||||
|
@ -27,7 +27,7 @@ lessThan(QT_VER_MIN, 3) {
|
|||||||
isEmpty(QMAKE_TARGET.arch) {
|
isEmpty(QMAKE_TARGET.arch) {
|
||||||
QMAKE_TARGET.arch = $$QMAKE_HOST.arch
|
QMAKE_TARGET.arch = $$QMAKE_HOST.arch
|
||||||
}
|
}
|
||||||
contains(QMAKE_TARGET.arch, arm.*) {
|
contains(QMAKE_TARGET.arch, arm.*)|contains(QMAKE_TARGET.arch, aarch.*) {
|
||||||
message("Building for ARM architecture. Disabling OpenGL coverflow ...")
|
message("Building for ARM architecture. Disabling OpenGL coverflow ...")
|
||||||
CONFIG += no_opengl
|
CONFIG += no_opengl
|
||||||
}
|
}
|
||||||
|
8
dependencies/pdf_backend.pri
vendored
8
dependencies/pdf_backend.pri
vendored
@ -22,10 +22,10 @@ CONFIG(pdfium) {
|
|||||||
message(Using system provided installation of libpdfium found by pkg-config.)
|
message(Using system provided installation of libpdfium found by pkg-config.)
|
||||||
CONFIG += link_pkgconfig
|
CONFIG += link_pkgconfig
|
||||||
PKGCONFIG += libpdfium
|
PKGCONFIG += libpdfium
|
||||||
} else:exists(/usr/include/pdfium):exists(/usr/lib/libpdfium.so) {
|
} else:exists(/usr/include/pdfium) {
|
||||||
message(Using libpdfium found at /usr/lib/pdfium)
|
message(Using libpdfium found at /usr/lib/pdfium)
|
||||||
INCLUDEPATH += /usr/include/pdfium
|
INCLUDEPATH += /usr/include/pdfium
|
||||||
LIBS += -L/usr/lib/pdfium -lpdfium
|
LIBS += -lpdfium
|
||||||
} else {
|
} else {
|
||||||
error(Could not find libpdfium.)
|
error(Could not find libpdfium.)
|
||||||
}
|
}
|
||||||
@ -58,10 +58,10 @@ CONFIG(poppler) {
|
|||||||
message("Using system provided installation of poppler-qt5 found by pkg-config.")
|
message("Using system provided installation of poppler-qt5 found by pkg-config.")
|
||||||
CONFIG += link_pkgconfig
|
CONFIG += link_pkgconfig
|
||||||
PKGCONFIG += poppler-qt5
|
PKGCONFIG += poppler-qt5
|
||||||
} else:!macx:exists(/usr/include/poppler/qt5):exists(/usr/lib/libpoppler-qt5) {
|
} else:!macx:exists(/usr/include/poppler/qt5) {
|
||||||
message("Using system provided installation of poppler-qt5.")
|
message("Using system provided installation of poppler-qt5.")
|
||||||
INCLUDEPATH += /usr/include/poppler/qt5
|
INCLUDEPATH += /usr/include/poppler/qt5
|
||||||
LIBS += -L/usr/lib -lpoppler-qt5
|
LIBS += -lpoppler-qt5
|
||||||
} else {
|
} else {
|
||||||
error("Could not find poppler-qt5")
|
error("Could not find poppler-qt5")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user