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.
23 lines
457 B
23 lines
457 B
#pragma once |
|
|
|
#include <QDialog> |
|
#include <QCheckBox> |
|
#include <QString> |
|
|
|
class DbManager; |
|
|
|
class ChannelSettingsDialog : public QDialog { |
|
Q_OBJECT |
|
public: |
|
explicit ChannelSettingsDialog(const QString& channelId, DbManager* db, QWidget* parent = nullptr); |
|
|
|
private slots: |
|
void onSave(); |
|
|
|
private: |
|
QString m_channelId; |
|
DbManager* m_db; |
|
QCheckBox* m_autoPlayVoice; |
|
QCheckBox* m_soundOnMessage; |
|
QCheckBox* m_pttMode; |
|
};
|
|
|