summary refs log tree commit diff
path: root/include/dialogs/CreateRoom.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-17 16:37:25 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-17 16:37:25 +0300
commit0e814da91c8e041897a4c3f7e6e9234bbc7c6f7a (patch)
tree21f655d30630fe77ba48d07e4b357e2b6c6a5730 /include/dialogs/CreateRoom.h
parentMerge pull request #372 from bebehei/notification (diff)
downloadnheko-0e814da91c8e041897a4c3f7e6e9234bbc7c6f7a.tar.xz
Move all files under src/
Diffstat (limited to 'include/dialogs/CreateRoom.h')
-rw-r--r--include/dialogs/CreateRoom.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/include/dialogs/CreateRoom.h b/include/dialogs/CreateRoom.h
deleted file mode 100644

index 46edebdc..00000000 --- a/include/dialogs/CreateRoom.h +++ /dev/null
@@ -1,45 +0,0 @@ -#pragma once - -#include <QFrame> - -#include <mtx.hpp> - -class FlatButton; -class TextField; -class QComboBox; -class Toggle; - -namespace dialogs { - -class CreateRoom : public QFrame -{ - Q_OBJECT -public: - CreateRoom(QWidget *parent = nullptr); - -signals: - void closing(bool isCreating, const mtx::requests::CreateRoom &request); - -protected: - void paintEvent(QPaintEvent *event) override; - void showEvent(QShowEvent *event) override; - -private: - void clearFields(); - - QComboBox *visibilityCombo_; - QComboBox *presetCombo_; - - Toggle *directToggle_; - - FlatButton *confirmBtn_; - FlatButton *cancelBtn_; - - TextField *nameInput_; - TextField *topicInput_; - TextField *aliasInput_; - - mtx::requests::CreateRoom request_; -}; - -} // dialogs