mirror of
https://github.com/YACReader/yacreader
synced 2025-07-26 17:04:45 -04:00
removed fullScreenToolTip
This commit is contained in:
@ -212,14 +212,6 @@ void LibraryWindow::doLayout()
|
|||||||
|
|
||||||
comicsViewStack->setCurrentWidget(comicsView);
|
comicsViewStack->setCurrentWidget(comicsView);
|
||||||
|
|
||||||
fullScreenToolTip = new QLabel(comicsView);
|
|
||||||
fullScreenToolTip->setText(tr("<font color='white'> press 'F' to close fullscreen mode </font>"));
|
|
||||||
fullScreenToolTip->setPalette(QPalette(QColor(0,0,0)));
|
|
||||||
fullScreenToolTip->setFont(QFont("courier new",15,234));
|
|
||||||
fullScreenToolTip->setAutoFillBackground(true);
|
|
||||||
fullScreenToolTip->hide();
|
|
||||||
fullScreenToolTip->adjustSize();
|
|
||||||
|
|
||||||
sHorizontal->addWidget(sideBar);
|
sHorizontal->addWidget(sideBar);
|
||||||
#ifndef Q_OS_MAC
|
#ifndef Q_OS_MAC
|
||||||
QVBoxLayout * rightLayout = new QVBoxLayout;
|
QVBoxLayout * rightLayout = new QVBoxLayout;
|
||||||
@ -1416,16 +1408,10 @@ void LibraryWindow::toFullScreen()
|
|||||||
comicsView->toFullScreen();
|
comicsView->toFullScreen();
|
||||||
|
|
||||||
showFullScreen();
|
showFullScreen();
|
||||||
|
|
||||||
fullScreenToolTip->move((width()-fullScreenToolTip->width())/2,0);
|
|
||||||
fullScreenToolTip->adjustSize();
|
|
||||||
fullScreenToolTip->show();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void LibraryWindow::toNormal()
|
void LibraryWindow::toNormal()
|
||||||
{
|
{
|
||||||
fullScreenToolTip->hide();
|
|
||||||
|
|
||||||
sideBar->show();
|
sideBar->show();
|
||||||
|
|
||||||
comicsView->toNormal();
|
comicsView->toNormal();
|
||||||
|
@ -109,7 +109,6 @@ private:
|
|||||||
TableModel * dmCV;
|
TableModel * dmCV;
|
||||||
//QStringList paths;
|
//QStringList paths;
|
||||||
YACReaderLibraries libraries;
|
YACReaderLibraries libraries;
|
||||||
QLabel * fullScreenToolTip;
|
|
||||||
|
|
||||||
QStackedWidget * mainWidget;
|
QStackedWidget * mainWidget;
|
||||||
NoLibrariesWidget * noLibrariesWidget;
|
NoLibrariesWidget * noLibrariesWidget;
|
||||||
|
Reference in New Issue
Block a user