added exclusive selection between folders and readlind lists views

This commit is contained in:
Luis Ángel San Martín
2014-11-15 12:51:46 +01:00
commit 904af239f2
904 changed files with 80271 additions and 0 deletions

32
YACReader/goto_dialog.h Normal file
View 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