mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
replaced some old fashioned icons
This commit is contained in:
parent
dfb2b48a70
commit
773e990821
@ -47,7 +47,7 @@ OptionsDialog::OptionsDialog(QWidget * parent)
|
|||||||
|
|
||||||
QHBoxLayout * path = new QHBoxLayout();
|
QHBoxLayout * path = new QHBoxLayout();
|
||||||
path->addWidget(pathEdit = new QLineEdit());
|
path->addWidget(pathEdit = new QLineEdit());
|
||||||
path->addWidget(pathFindButton = new QPushButton(QIcon(":/images/comicFolder.png"),""));
|
path->addWidget(pathFindButton = new QPushButton(QIcon(":/images/find_folder.png"),""));
|
||||||
pathBox->setLayout(path);
|
pathBox->setLayout(path);
|
||||||
|
|
||||||
connect(pathFindButton,SIGNAL(clicked()),this,SLOT(findFolder()));
|
connect(pathFindButton,SIGNAL(clicked()),this,SLOT(findFolder()));
|
||||||
@ -280,7 +280,7 @@ void OptionsDialog::resetImageConfig()
|
|||||||
|
|
||||||
void OptionsDialog::show()
|
void OptionsDialog::show()
|
||||||
{
|
{
|
||||||
//TODO solucionar el tema de las settings, esto sólo debería aparecer en una única línea de código
|
//TODO solucionar el tema de las settings, esto sólo debería aparecer en una única línea de código
|
||||||
QSettings *s = new QSettings(YACReader::getSettingsPath()+"/YACReader.ini",QSettings::IniFormat);
|
QSettings *s = new QSettings(YACReader::getSettingsPath()+"/YACReader.ini",QSettings::IniFormat);
|
||||||
fitToWidthRatioS->disconnect();
|
fitToWidthRatioS->disconnect();
|
||||||
fitToWidthRatioS->setSliderPosition(settings->value(FIT_TO_WIDTH_RATIO).toFloat()*100);
|
fitToWidthRatioS->setSliderPosition(settings->value(FIT_TO_WIDTH_RATIO).toFloat()*100);
|
||||||
|
@ -37,19 +37,7 @@ ShortcutsDialog::ShortcutsDialog(QWidget * parent)
|
|||||||
mainLayout->addLayout(shortcutsLayout);
|
mainLayout->addLayout(shortcutsLayout);
|
||||||
mainLayout->addLayout(bottomLayout);
|
mainLayout->addLayout(bottomLayout);
|
||||||
|
|
||||||
QHBoxLayout *imgMainLayout = new QHBoxLayout;
|
setLayout(mainLayout);
|
||||||
QLabel * imgLabel = new QLabel();
|
|
||||||
QPixmap p(":/images/shortcuts.png");
|
|
||||||
imgLabel->setPixmap(p);
|
|
||||||
|
|
||||||
QVBoxLayout * imgLayout = new QVBoxLayout;
|
|
||||||
imgLayout->addWidget(imgLabel);
|
|
||||||
imgLayout->addStretch();
|
|
||||||
|
|
||||||
imgMainLayout->addLayout(imgLayout);
|
|
||||||
imgMainLayout->addLayout(mainLayout);
|
|
||||||
|
|
||||||
setLayout(imgMainLayout);
|
|
||||||
|
|
||||||
setFixedSize(QSize(700,500));
|
setFixedSize(QSize(700,500));
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<qresource>
|
<qresource>
|
||||||
<file>../images/icon.png</file>
|
<file>../images/icon.png</file>
|
||||||
<file>../images/goto.png</file>
|
<file>../images/goto.png</file>
|
||||||
<file>../images/comicFolder.png</file>
|
<file>../images/find_folder.png</file>
|
||||||
<file>../images/flow1.png</file>
|
<file>../images/flow1.png</file>
|
||||||
<file>../images/flow2.png</file>
|
<file>../images/flow2.png</file>
|
||||||
<file>../images/flow3.png</file>
|
<file>../images/flow3.png</file>
|
||||||
@ -59,7 +59,6 @@
|
|||||||
<file>../images/helpImages/deleteLibrary.png</file>
|
<file>../images/helpImages/deleteLibrary.png</file>
|
||||||
<file>../images/helpImages/properties.png</file>
|
<file>../images/helpImages/properties.png</file>
|
||||||
<file>../images/helpImages/doublePage.png</file>
|
<file>../images/helpImages/doublePage.png</file>
|
||||||
<file>../images/helpImages/shortcuts.png</file>
|
|
||||||
<file>../images/helpImages/keyboard.png</file>
|
<file>../images/helpImages/keyboard.png</file>
|
||||||
<file>../images/helpImages/mouse.png</file>
|
<file>../images/helpImages/mouse.png</file>
|
||||||
<file>../images/helpImages/speaker.png</file>
|
<file>../images/helpImages/speaker.png</file>
|
||||||
|
BIN
images/goto.png
BIN
images/goto.png
Binary file not shown.
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 908 B |
Loading…
x
Reference in New Issue
Block a user