PageRenderTime 19ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/vp_plugins/print_monitor/selectpage.h

http://cupsfilter.googlecode.com/
C++ Header | 40 lines | 28 code | 7 blank | 5 comment | 0 complexity | cd5470d92438dba2eefe5f3c9e20c35a MD5 | raw file
 1#ifndef SELECTPAGE_H
 2#define SELECTPAGE_H
 3
 4
 5#include <QtGui/QWidget>
 6#include <QtCore/QMap>
 7
 8QT_FORWARD_DECLARE_CLASS ( QRadioButton )
 9QT_FORWARD_DECLARE_CLASS ( QCheckBox )
10QT_FORWARD_DECLARE_CLASS ( QComboBox )
11QT_FORWARD_DECLARE_CLASS ( QLabel )
12QT_FORWARD_DECLARE_CLASS ( QStandardItemModel )
13
14class SelectPage : public QWidget
15{
16    Q_OBJECT
17public:
18    explicit SelectPage(QWidget *parent = 0);
19    void setPrintersModel(QStandardItemModel *p_model );
20    void needRestart();
21    /**
22      * @fn bool enableNext();
23      * @brief ????????? ?????? ?? ????????? ????????
24      * ???? ??? ???? ????????????? ?????????
25      */
26    bool enableNext();
27private slots:
28    void selectedPrinter(int idx);
29
30private:
31    QStandardItemModel *printer_model;
32    QRadioButton * markBrakDoc;
33    QRadioButton * accountingDoc;
34    QRadioButton * printDoc;
35    QRadioButton * both_step;
36    QComboBox    * printersCBox;
37};
38
39
40#endif // SELECTPAGE_H