You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
566 B
27 lines
566 B
#pragma once |
|
|
|
#include <QDialog> |
|
#include <QCheckBox> |
|
#include <QString> |
|
|
|
class DbManager; |
|
|
|
class MemberPropsDialog : public QDialog { |
|
Q_OBJECT |
|
public: |
|
explicit MemberPropsDialog(DbManager* db, const QString& channelId, |
|
quint64 nodeId, const QString& memberName, |
|
QWidget* parent = nullptr); |
|
|
|
private slots: |
|
void onSave(); |
|
|
|
private: |
|
DbManager* m_db; |
|
QString m_channelId; |
|
quint64 m_nodeId; |
|
QByteArray m_edPrivkey; |
|
|
|
QCheckBox* m_adminCb; |
|
QCheckBox* m_superCb; |
|
};
|
|
|