/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
- #ifndef STARTDLG_H
- #define STARTDLG_H
-
- #include <QtGui/QDialog>
- #include <QDateTime>
- #include <QSignalMapper>
- #include <QPrinterInfo>
- #include <QStandardItemModel>
-
-
-
- #include "dcontroller.h"
- #include "asktheuser.h"
- #include "view.h"
- #include "workreport.h"
-
- namespace Ui {
- class StartDlg;
- }
-
- class StartDlg : public QDialog {
- Q_OBJECT
- public:
- StartDlg(QWidget *parent = 0);
- ~StartDlg();
- void convertToPDF(QString &filename);
- void setModel (QStandardItemModel *model);
- private slots:
- void enableGUI(steps_t step,QString &message);
- void fill_docCard4Print(int Mode);
- void showErrorInfo();
- void do_showTemplatesEditor();
- protected:
- void changeEvent(QEvent *e);
- void createConnection();
- void printToLog(QString & log_mes);
- void setPrinterList();
- void rabbitHole(); // ???????? ???? ? ??????? ????????? ??? ??????? ? ?????
- private:
- Ui::StartDlg *ui;
- AskTheUser *askDlg;
- workReport *wrkDlg;
- View *templViewer;
- dController *control;
-
-
- QSignalMapper *signalMapper;
- bool connectStep;
- bool convertStep;
- bool getMandatUserStep;
- };
-
- #endif // STARTDLG_H