mirror of
https://github.com/YACReader/yacreader
synced 2026-02-01 04:40:12 -05:00
removed no longer needed includes
This commit is contained in:
@ -1,12 +1,6 @@
|
||||
#include "goto_flow_toolbar.h"
|
||||
|
||||
#include <QLineEdit>
|
||||
#include <QIntValidator>
|
||||
#include <QPushButton>
|
||||
#include <QLabel>
|
||||
#include <QHBoxLayout>
|
||||
#include <QVBoxLayout>
|
||||
#include <QResizeEvent>
|
||||
#include <QtWidgets>
|
||||
|
||||
GoToFlowToolBar::GoToFlowToolBar(QWidget * parent)
|
||||
:QWidget(parent)
|
||||
@ -90,7 +84,14 @@ GoToFlowToolBar::GoToFlowToolBar(QWidget * parent)
|
||||
bar->setGeometry(QRect(0,0,400,50));
|
||||
|
||||
}
|
||||
|
||||
|
||||
void GoToFlowToolBar::paintEvent(QPaintEvent *)
|
||||
{
|
||||
QPainter painter(this);
|
||||
|
||||
painter.fillRect(0,0,width(),height(),QColor("#BB000000"));
|
||||
}
|
||||
|
||||
void GoToFlowToolBar::setPage(int pageNumber)
|
||||
{
|
||||
edit->setText(QString::number(pageNumber+1));
|
||||
@ -119,4 +120,4 @@ void GoToFlowToolBar::centerSlide()
|
||||
{
|
||||
if(edit->text().toInt()!=0)
|
||||
emit(setCenter(edit->text().toInt()-1));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user