/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
- #ifndef SELECTPAGE_H
- #define SELECTPAGE_H
- #include <QtGui/QWidget>
- #include <QtCore/QMap>
- QT_FORWARD_DECLARE_CLASS ( QRadioButton )
- QT_FORWARD_DECLARE_CLASS ( QCheckBox )
- QT_FORWARD_DECLARE_CLASS ( QComboBox )
- QT_FORWARD_DECLARE_CLASS ( QLabel )
- QT_FORWARD_DECLARE_CLASS ( QStandardItemModel )
- class SelectPage : public QWidget
- {
- Q_OBJECT
- public:
- explicit SelectPage(QWidget *parent = 0);
- void setPrintersModel(QStandardItemModel *p_model );
- void needRestart();
- /**
- * @fn bool enableNext();
- * @brief ????????? ?????? ?? ????????? ????????
- * ???? ??? ???? ????????????? ?????????
- */
- bool enableNext();
- private slots:
- void selectedPrinter(int idx);
- private:
- QStandardItemModel *printer_model;
- QRadioButton * markBrakDoc;
- QRadioButton * accountingDoc;
- QRadioButton * printDoc;
- QRadioButton * both_step;
- QComboBox * printersCBox;
- };
- #endif // SELECTPAGE_H