Add menu to modify the name & topic of the room
fixes #235
4 files changed, 4 insertions, 0 deletions
diff --git a/resources/icons/ui/edit.svg b/resources/icons/ui/edit.svg
new file mode 100644
index 00000000..2313feb1
--- /dev/null
+++ b/resources/icons/ui/edit.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z"/></svg>
\ No newline at end of file
diff --git a/resources/res.qrc b/resources/res.qrc
index 77a1ca83..711d32be 100644
--- a/resources/res.qrc
+++ b/resources/res.qrc
@@ -33,6 +33,7 @@
<file>icons/ui/pause-symbol@2x.png</file>
<file>icons/ui/remove-symbol.png</file>
<file>icons/ui/remove-symbol@2x.png</file>
+ <file>icons/ui/edit.svg</file>
<file>icons/emoji-categories/people.png</file>
<file>icons/emoji-categories/people@2x.png</file>
diff --git a/resources/styles/nheko-dark.qss b/resources/styles/nheko-dark.qss
index 35b4cd10..34538203 100644
--- a/resources/styles/nheko-dark.qss
+++ b/resources/styles/nheko-dark.qss
@@ -148,6 +148,7 @@ dialogs--MemberList,
dialogs--PreviewUploadOverlay,
dialogs--CreateRoom > QLineEdit,
dialogs--InviteUsers > QLineEdit,
+EditModal,
dialogs--JoinRoom > QLineEdit {
background-color: #202228;
color: #caccd1;
diff --git a/resources/styles/nheko.qss b/resources/styles/nheko.qss
index dbc8d1e0..125c34ff 100644
--- a/resources/styles/nheko.qss
+++ b/resources/styles/nheko.qss
@@ -148,6 +148,7 @@ dialogs--ReadReceipts,
dialogs--MemberList,
dialogs--JoinRoom,
dialogs--PreviewUploadOverlay,
+EditModal,
QListWidget {
background-color: white;
color: #333;
|