summaryrefslogtreecommitdiff
path: root/res/windows/participant_editor.ui
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2024-07-15 00:06:06 +0200
committerFelix Morgner <felix.morgner@gmail.com>2024-07-15 00:06:06 +0200
commit081627fcfb9076ce243a9adde4743117bc48a767 (patch)
treec2a53a7215bf9c55f314c684002d2518533bc060 /res/windows/participant_editor.ui
parentea42d061b3f9ec56eb179014c9a76053f3f4c042 (diff)
downloadturns-081627fcfb9076ce243a9adde4743117bc48a767.tar.xz
turns-081627fcfb9076ce243a9adde4743117bc48a767.zip
app/ui: turn participant creation dialog into generic edit dialog
Diffstat (limited to 'res/windows/participant_editor.ui')
-rw-r--r--res/windows/participant_editor.ui73
1 files changed, 73 insertions, 0 deletions
diff --git a/res/windows/participant_editor.ui b/res/windows/participant_editor.ui
new file mode 100644
index 0000000..3b483b4
--- /dev/null
+++ b/res/windows/participant_editor.ui
@@ -0,0 +1,73 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Created with Cambalache 0.90.4 -->
+<interface>
+ <requires lib="gtk" version="4.14"/>
+ <requires lib="libadwaita" version="1.5"/>
+ <object class="AdwDialog" id="participant_editor">
+ <property name="child">
+ <object class="AdwToolbarView">
+ <property name="content">
+ <object class="AdwClamp">
+ <property name="child">
+ <object class="GtkBox">
+ <property name="hexpand">True</property>
+ <property name="margin-bottom">18</property>
+ <property name="margin-end">12</property>
+ <property name="margin-start">12</property>
+ <property name="margin-top">18</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">18</property>
+ <property name="valign">start</property>
+ <child>
+ <object class="GtkListBox">
+ <child>
+ <object class="AdwEntryRow" id="name">
+ <property name="title" translatable="yes">Name</property>
+ </object>
+ </child>
+ <child>
+ <object class="AdwSpinRow" id="priority">
+ <property name="adjustment">
+ <object class="GtkAdjustment">
+ <property name="lower">-1000.0</property>
+ <property name="step-increment">1.0</property>
+ <property name="upper">1000.0</property>
+ </object>
+ </property>
+ <property name="digits">1</property>
+ <property name="numeric">True</property>
+ <property name="title" translatable="yes">Priority</property>
+ </object>
+ </child>
+ <child>
+ <object class="AdwComboRow" id="disposition">
+ <property name="title" translatable="yes">Disposition</property>
+ </object>
+ </child>
+ <style>
+ <class name="boxed-list"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="finish">
+ <property name="hexpand">True</property>
+ <property name="label" translatable="yes">Finish</property>
+ <style>
+ <class name="pill"/>
+ <class name="suggested-action"/>
+ </style>
+ </object>
+ </child>
+ </object>
+ </property>
+ </object>
+ </property>
+ <child type="top">
+ <object class="AdwHeaderBar"/>
+ </child>
+ </object>
+ </property>
+ <property name="hexpand">True</property>
+ </object>
+</interface>