PageRenderTime 23ms CodeModel.GetById 17ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/safeFatPrinter/branch/src/startdlg.h

http://cupsfilter.googlecode.com/
C++ Header | 53 lines | 44 code | 9 blank | 0 comment | 0 complexity | 8922584b670b5a1b1f85c0ac1f9ee898 MD5 | raw file
 1#ifndef STARTDLG_H
 2#define STARTDLG_H
 3
 4#include <QtGui/QDialog>
 5#include <QDateTime>
 6#include <QSignalMapper>
 7#include <QPrinterInfo>
 8#include <QStandardItemModel>
 9
10
11
12#include "dcontroller.h"
13#include "asktheuser.h"
14#include "view.h"
15#include "workreport.h"
16
17namespace Ui {
18    class StartDlg;
19}
20
21class StartDlg : public QDialog {
22    Q_OBJECT
23public:
24    StartDlg(QWidget *parent = 0);
25    ~StartDlg();
26    void convertToPDF(QString &filename);
27    void setModel (QStandardItemModel  *model);
28private slots:
29    void enableGUI(steps_t step,QString &message);
30    void fill_docCard4Print(int Mode);
31    void showErrorInfo();
32    void do_showTemplatesEditor();
33protected:
34    void changeEvent(QEvent *e);
35    void createConnection();
36    void printToLog(QString & log_mes);
37    void setPrinterList();
38    void rabbitHole(); // ???????? ???? ? ??????? ????????? ??? ??????? ? ?????
39private:
40    Ui::StartDlg  *ui;
41    AskTheUser *askDlg;
42    workReport  *wrkDlg;
43    View *templViewer;
44    dController  *control;
45
46
47    QSignalMapper *signalMapper;
48    bool connectStep;
49    bool convertStep;
50    bool getMandatUserStep;
51};
52
53#endif // STARTDLG_H