mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 05:24:57 -04:00
Refactoring: fix mixed indentation and add curly braces in comic.cpp
This commit is contained in:
32
YACReader/goto_dialog.h
Normal file
32
YACReader/goto_dialog.h
Normal file
@ -0,0 +1,32 @@
|
||||
#ifndef __GOTODIALOG_H
|
||||
#define __GOTODIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
#include <QPushButton>
|
||||
#include <QIntValidator>
|
||||
|
||||
class GoToDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
GoToDialog(QWidget * parent = 0);
|
||||
private:
|
||||
QLabel * numPagesLabel;
|
||||
QLabel * textLabel;
|
||||
QLineEdit * pageNumber;
|
||||
QIntValidator * v;
|
||||
QPushButton * accept;
|
||||
QPushButton * cancel;
|
||||
void setupUI();
|
||||
public slots:
|
||||
void goTo();
|
||||
void setNumPages(unsigned int numPages);
|
||||
void open();
|
||||
signals:
|
||||
void goToPage(unsigned int page);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user