PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

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