From 081627fcfb9076ce243a9adde4743117bc48a767 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 15 Jul 2024 00:06:06 +0200 Subject: app/ui: turn participant creation dialog into generic edit dialog --- res/windows/create_participant.ui | 74 --------------------------------------- res/windows/participant_editor.ui | 73 ++++++++++++++++++++++++++++++++++++++ res/windows/windows.cmb | 5 ++- 3 files changed, 75 insertions(+), 77 deletions(-) delete mode 100644 res/windows/create_participant.ui create mode 100644 res/windows/participant_editor.ui (limited to 'res/windows') diff --git a/res/windows/create_participant.ui b/res/windows/create_participant.ui deleted file mode 100644 index 3ff60ad..0000000 --- a/res/windows/create_participant.ui +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - True - 18 - 12 - 12 - 18 - vertical - 18 - start - - - - - Name - - - - - - - -1000.0 - 1.0 - 1000.0 - - - 1 - True - Priority - - - - - Disposition - - - - - - - - True - Finish - - - - - - - - - - - - - True - Add participant - - 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 @@ + + + + + + + + + + + + + True + 18 + 12 + 12 + 18 + vertical + 18 + start + + + + + Name + + + + + + + -1000.0 + 1.0 + 1000.0 + + + 1 + True + Priority + + + + + Disposition + + + + + + + + True + Finish + + + + + + + + + + + + + True + + diff --git a/res/windows/windows.cmb b/res/windows/windows.cmb index 262b898..1d1d2d2 100644 --- a/res/windows/windows.cmb +++ b/res/windows/windows.cmb @@ -3,7 +3,7 @@ (1,None,"main_window.ui","main.ui",None,None,None,None,None,None,None), - (2,None,None,"create_participant.ui",None,None,None,None,None,None,None) + (2,None,None,"participant_editor.ui",None,None,None,None,None,None,None) (1,"gtk","4.14",None), @@ -26,7 +26,7 @@ (1,15,"GtkListBox","participant_list",14,None,None,None,None,None,None), (1,16,"AdwStatusPage","empty",11,None,None,None,-1,None,None), (1,17,"GtkButton",None,16,None,None,None,-1,None,None), - (2,1,"AdwDialog","create_participant_dialog",None,None,None,None,-1,None,None), + (2,1,"AdwDialog","participant_editor",None,None,None,None,-1,None,None), (2,2,"AdwToolbarView",None,1,None,None,None,-1,None,None), (2,3,"AdwHeaderBar",None,2,None,"top",None,-1,None,None), (2,4,"AdwClamp",None,2,None,None,None,-1,None,None), @@ -71,7 +71,6 @@ (1,17,"GtkWidget","halign","center",None,None,None,None,None,None,None,None,None), (2,1,"AdwDialog","child",None,None,None,None,None,2,None,None,None,None), (2,1,"AdwDialog","default-widget",None,None,None,None,None,None,None,None,None,None), - (2,1,"AdwDialog","title","Add participant",1,None,None,None,None,None,None,None,None), (2,1,"GtkWidget","hexpand","True",None,None,None,None,None,None,None,None,None), (2,2,"AdwToolbarView","content",None,None,None,None,None,4,None,None,None,None), (2,4,"AdwClamp","child",None,None,None,None,None,5,None,None,None,None), -- cgit v1.2.3