From 5e4ca4df9bb34e10a897e32e7e0ca8645b97f293 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 11 Aug 2022 18:01:06 +0900 Subject: TCC khotkeys: added 'move up' and 'move down' buttons to 'Actions' and 'Conditions' listviews for input actions. Signed-off-by: Michele Calgaro --- khotkeys/kcontrol/ui/action_list_widget_ui.ui | 30 ++++++++++++++++++++++ khotkeys/kcontrol/ui/condition_list_widget_ui.ui | 32 +++++++++++++++++++++++- 2 files changed, 61 insertions(+), 1 deletion(-) (limited to 'khotkeys/kcontrol/ui') diff --git a/khotkeys/kcontrol/ui/action_list_widget_ui.ui b/khotkeys/kcontrol/ui/action_list_widget_ui.ui index d78c6b5f1..2895e5752 100644 --- a/khotkeys/kcontrol/ui/action_list_widget_ui.ui +++ b/khotkeys/kcontrol/ui/action_list_widget_ui.ui @@ -97,6 +97,22 @@ Delete + + + move_up_button + + + Move &up + + + + + move_down_button + + + Move &down + + @@ -147,6 +163,18 @@ Action_list_widget_ui delete_pressed() + + move_up_button + clicked() + Action_list_widget_ui + move_up_pressed() + + + move_down_button + clicked() + Action_list_widget_ui + move_down_pressed() + actions_listview current_changed(TQListViewItem*) @@ -162,6 +190,8 @@ current_changed(TQListViewItem*) delete_pressed() modify_pressed() + move_up_pressed() + move_down_pressed() kdialog.h diff --git a/khotkeys/kcontrol/ui/condition_list_widget_ui.ui b/khotkeys/kcontrol/ui/condition_list_widget_ui.ui index 9b3727ffd..269b889ce 100644 --- a/khotkeys/kcontrol/ui/condition_list_widget_ui.ui +++ b/khotkeys/kcontrol/ui/condition_list_widget_ui.ui @@ -94,7 +94,23 @@ delete_button - Delete + D&elete + + + + + move_up_button + + + Move &up + + + + + move_down_button + + + Move &down @@ -146,6 +162,18 @@ Condition_list_widget_ui delete_pressed() + + move_up_button + clicked() + Condition_list_widget_ui + move_up_pressed() + + + move_down_button + clicked() + Condition_list_widget_ui + move_down_pressed() + conditions_listview current_changed(TQListViewItem*) @@ -161,6 +189,8 @@ current_changed(TQListViewItem*) delete_pressed() modify_pressed() + move_up_pressed() + move_down_pressed() kdialog.h -- cgit v1.2.1