File: dialogmultipageeditor.h

package info (click to toggle)
converseen 0.9.5.2-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 2,108 kB
  • ctags: 458
  • sloc: cpp: 2,976; xml: 59; makefile: 16; ansic: 9
file content (44 lines) | stat: -rwxr-xr-x 942 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef DIALOGMULTIPAGEEDITOR_H
#define DIALOGMULTIPAGEEDITOR_H

#include <QDialog>
#include <QList>
#include <QToolBar>
#include <QStringList>
#include "Modules/multipageconverter.h"

namespace Ui {
class DialogMultipageEditor;
}

class DialogMultipageEditor : public QDialog
{
    Q_OBJECT

public:
    explicit DialogMultipageEditor(QWidget *parent = 0);
    ~DialogMultipageEditor();
    void readFile(QString fileName);
    QStringList fileNames();

private slots:
    void on_actionCheck_triggered();
    void on_actionCheckAll_triggered();
    void on_actionUncheck_triggered();
    void on_actionUncheckAll_triggered();

private:
    Ui::DialogMultipageEditor *ui;
    QToolBar *toolBar;

    QString m_currentFileName;
    QStringList m_fileNames;

    void selector(bool select_all, bool action_select);
    void analyzeMultipageFile(QString fileName);

private slots:
    void acceptDialog();
};

#endif // DIALOGMULTIPAGEEDITOR_H