blob: 54fadfa89743131b04dd9b07eb952647c871c2c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#ifndef USERSDIALOG_H
#define USERSDIALOG_H
//#include <QAbstractListModel>
#include <QDialog>
#include <QList>
#include <QStandardItemModel>
namespace Ui {
class UsersDialog;
}
class QListWidgetItem;
struct UserInfo {
UserInfo() : enabled(false) {}
QString name;
QString key_id;
bool enabled;
};
class UsersDialog : public QDialog
{
Q_OBJECT
public:
explicit UsersDialog(QWidget *parent = 0);
~UsersDialog();
void setUsers(QList<UserInfo> *);
private slots:
void itemChange(QListWidgetItem *);
private:
Ui::UsersDialog *ui;
};
#endif // USERSDIALOG_H
|