/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. #include <QtGui/QDialog>
  4. #include <QDateTime>
  5. #include <QSignalMapper>
  6. #include <QPrinterInfo>
  7. #include <QStandardItemModel>
  8. #include "dcontroller.h"
  9. #include "asktheuser.h"
  10. #include "view.h"
  11. #include "workreport.h"
  12. namespace Ui {
  13. class StartDlg;
  14. }
  15. class StartDlg : public QDialog {
  16. Q_OBJECT
  17. public:
  18. StartDlg(QWidget *parent = 0);
  19. ~StartDlg();
  20. void convertToPDF(QString &filename);
  21. void setModel (QStandardItemModel *model);
  22. private slots:
  23. void enableGUI(steps_t step,QString &message);
  24. void fill_docCard4Print(int Mode);
  25. void showErrorInfo();
  26. void do_showTemplatesEditor();
  27. protected:
  28. void changeEvent(QEvent *e);
  29. void createConnection();
  30. void printToLog(QString & log_mes);
  31. void setPrinterList();
  32. void rabbitHole(); // ???????? ???? ? ??????? ????????? ??? ??????? ? ?????
  33. private:
  34. Ui::StartDlg *ui;
  35. AskTheUser *askDlg;
  36. workReport *wrkDlg;
  37. View *templViewer;
  38. dController *control;
  39. QSignalMapper *signalMapper;
  40. bool connectStep;
  41. bool convertStep;
  42. bool getMandatUserStep;
  43. };
  44. #endif // STARTDLG_H