mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
corregido el comportamiento de la barra de herramientas en el visor (OSX)
cambios menores en no_libraries_widget
This commit is contained in:
parent
f5318b9dc0
commit
97bd2ee0ab
@ -596,6 +596,8 @@ void MainWindowViewer::toggleToolBars()
|
|||||||
toolbars?hideToolBars():showToolBars();
|
toolbars?hideToolBars():showToolBars();
|
||||||
|
|
||||||
Configuration::getConfiguration().setShowToolbars(toolbars);
|
Configuration::getConfiguration().setShowToolbars(toolbars);
|
||||||
|
|
||||||
|
comicToolBar->setMovable(false);
|
||||||
}
|
}
|
||||||
void MainWindowViewer::hideToolBars()
|
void MainWindowViewer::hideToolBars()
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@ NoLibrariesWidget::NoLibrariesWidget(QWidget *parent) :
|
|||||||
setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding);
|
setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding);
|
||||||
|
|
||||||
QPalette p(palette());
|
QPalette p(palette());
|
||||||
p.setColor(QPalette::Background, Qt::white);
|
p.setColor(QPalette::Background, QColor(250,250,250));
|
||||||
setAutoFillBackground(true);
|
setAutoFillBackground(true);
|
||||||
setPalette(p);
|
setPalette(p);
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ NoLibrariesWidget::NoLibrariesWidget(QWidget *parent) :
|
|||||||
QLabel * lineLabel = new QLabel();
|
QLabel * lineLabel = new QLabel();
|
||||||
lineLabel->setPixmap(line);
|
lineLabel->setPixmap(line);
|
||||||
|
|
||||||
QLabel * text = new QLabel(tr("<font color=\"#565959\">You don't have any library yet</font>"));
|
QLabel * text = new QLabel(tr("<font color=\"#565959\">You don't have any librarires yet</font>"));
|
||||||
text->setStyleSheet("QLabel {font-size:25px;font-weight:bold;}");
|
text->setStyleSheet("QLabel {font-size:25px;font-weight:bold;}");
|
||||||
|
|
||||||
QPushButton * createButton = new QPushButton(tr("create your first library"));
|
QPushButton * createButton = new QPushButton(tr("create your first library"));
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 6.0 KiB |
Loading…
x
Reference in New Issue
Block a user