author | sheepluva |
Sat, 23 Apr 2016 09:54:05 +0200 | |
changeset 11663 | 0427a9b6457b |
parent 8330 | aaefa587e277 |
permissions | -rw-r--r-- |
8157 | 1 |
#ifndef BANDIALOG_H |
2 |
#define BANDIALOG_H |
|
3 |
||
4 |
#include <QDialog> |
|
5 |
||
6 |
class QComboBox; |
|
7 |
class QRadioButton; |
|
8 |
class QLineEdit; |
|
9 |
||
10 |
class BanDialog : public QDialog |
|
11 |
{ |
|
12 |
Q_OBJECT |
|
13 |
public: |
|
8330 | 14 |
explicit BanDialog(QWidget *parent = 0); |
8157 | 15 |
|
16 |
bool byIP(); |
|
17 |
int duration(); |
|
18 |
QString banId(); |
|
19 |
QString reason(); |
|
20 |
||
21 |
private: |
|
22 |
QRadioButton * rbIP; |
|
23 |
QRadioButton * rbNick; |
|
24 |
QLineEdit * leId; |
|
25 |
QLineEdit * leReason; |
|
26 |
QComboBox * cbTime; |
|
27 |
||
28 |
private slots: |
|
29 |
void okClicked(); |
|
30 |
}; |
|
31 |
||
32 |
#endif // BANDIALOG_H |