PageRenderTime 21ms CodeModel.GetById 13ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/vp_plugins/print_monitor/getusernamemandatdlg.h

http://cupsfilter.googlecode.com/
C++ Header | 39 lines | 31 code | 8 blank | 0 comment | 0 complexity | c0da3d186282cd4f1b0c93a0c62dd2ff MD5 | raw file
 1#ifndef GETUSERNAMEMANDATDLG_H
 2#define GETUSERNAMEMANDATDLG_H
 3
 4#include <QtGui/QDialog>
 5#include <QtCore/QStringList>
 6
 7QT_FORWARD_DECLARE_CLASS ( QFormLayout )
 8QT_FORWARD_DECLARE_CLASS ( QLabel )
 9QT_FORWARD_DECLARE_CLASS ( QLineEdit )
10QT_FORWARD_DECLARE_CLASS ( QComboBox )
11
12class getUserNameMandatDlg : public QDialog {
13    Q_OBJECT
14public:
15    getUserNameMandatDlg(QWidget *parent = 0);
16
17    void setMandatList(const QStringList &mandatList);
18
19public slots:
20    void setUserName(QString &userName);
21    void accept() ;
22private slots:
23
24    void enableButtons(int index);
25signals:
26    void setAuthData(const QString &login,const QString &mandat);
27private:   
28
29    QWidget *formLayoutWidget;
30    QFormLayout *formLayout;
31    QLabel *label;
32    QLineEdit *userNameEd;
33    QLabel *label_2;
34    QComboBox *mandatCBox;
35    QPushButton *okButton;
36    QPushButton *cancelButton;
37};
38
39#endif // GETUSERNAMEMANDATDLG_H