From 581eb1f563df9e7fa72371d936521e0bd55d9f18 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 27 May 2020 23:09:30 +0200 Subject: filter: create a primitive "create filter preset" dialog The dialog asks the user for a name and warns if the name already exists, i.e. an old filter preset will be overwritten. Possibly, this should contain an auto-completion facility in the case that the user wants to overwrite old presets. Signed-off-by: Berthold Stoeger --- desktop-widgets/filterwidget2.ui | 58 +++++++++++++++++++++++++++------------- 1 file changed, 39 insertions(+), 19 deletions(-) (limited to 'desktop-widgets/filterwidget2.ui') diff --git a/desktop-widgets/filterwidget2.ui b/desktop-widgets/filterwidget2.ui index f6b3d65f6..ca5d7693a 100644 --- a/desktop-widgets/filterwidget2.ui +++ b/desktop-widgets/filterwidget2.ui @@ -58,7 +58,7 @@ - + 0 @@ -66,19 +66,39 @@ - Reset + Add constraint - - - :edit-clear-icon:edit-clear-icon + + + + + + Qt::Horizontal - - Qt::ToolButtonTextBesideIcon + + + + + + + 0 + 0 + + + + Save set + + + + Qt::Horizontal + + + - + 0 @@ -86,11 +106,11 @@ - Close + Reset - :filter-close:filter-close + :edit-clear-icon:edit-clear-icon Qt::ToolButtonTextBesideIcon @@ -98,7 +118,7 @@ - + 0 @@ -106,16 +126,16 @@ - Add constraint + Close - - - - - - Qt::Horizontal + + + :filter-close:filter-close - + + Qt::ToolButtonTextBesideIcon + + -- cgit v1.2.3-70-g09d2