/safeFatPrinter/trunk/src/workreport.h

http://cupsfilter.googlecode.com/ · C++ Header · 52 lines · 46 code · 6 blank · 0 comment · 0 complexity · d4669b67dbe3caac9152f33d1fe5691c MD5 · raw file

  1. #ifndef WORKREPORT_H
  2. #define WORKREPORT_H
  3. #include <QDialog>
  4. #include <QDebug>
  5. #include <QMessageBox>
  6. QT_BEGIN_NAMESPACE
  7. class QCheckBox;
  8. class QDialogButtonBox;
  9. class QGroupBox;
  10. class QLabel;
  11. class QLineEdit;
  12. class QPushButton;
  13. class QPlainTextEdit;
  14. class QLineEdit;
  15. class QRadioButton;
  16. QT_END_NAMESPACE
  17. class workReport : public QDialog
  18. {
  19. Q_OBJECT
  20. public:
  21. workReport(QWidget *parent = 0);
  22. private slots:
  23. void saveResultToBase();
  24. void sendErrorReport(bool state);
  25. private:
  26. QLabel * label;
  27. QLabel * label_stamp;
  28. QLabel * label_printer;
  29. QLabel * label_num;
  30. QLabel * label_page;
  31. QLabel * label_brakPage;
  32. QPlainTextEdit *DocEdit;
  33. QPlainTextEdit *brakDesEdit;
  34. QLineEdit * lineEdit;
  35. QLineEdit * printerEdit;
  36. QLineEdit * pageEdit;
  37. QLineEdit * numEdit;
  38. QLineEdit * brakEdit;
  39. QRadioButton *singlePageRB;
  40. QRadioButton *allDocRB;
  41. QPushButton *acceptButton;
  42. QPushButton *moreButton;
  43. QWidget *extension;
  44. bool saveResult; // if false save describe error else save result
  45. };
  46. #endif // WORKREPORT_H