diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-08-11 18:01:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-08-12 17:39:12 +0900 |
commit | 12007bb689082f356835ae6ad4412ee414230e83 (patch) | |
tree | 0c0a1cc4c1e7244cce7fa75ad7fcea4dbccdc25a /khotkeys/kcontrol/ui | |
parent | 371ad533a3d4bf755ea1ccf50f8821261428d059 (diff) | |
download | tdebase-12007bb689082f356835ae6ad4412ee414230e83.tar.gz tdebase-12007bb689082f356835ae6ad4412ee414230e83.zip |
TCC khotkeys: added 'move up' and 'move down' buttons to 'Actions' and 'Conditions' listviews for input actions.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5e4ca4df9bb34e10a897e32e7e0ca8645b97f293)
Diffstat (limited to 'khotkeys/kcontrol/ui')
-rw-r--r-- | khotkeys/kcontrol/ui/action_list_widget_ui.ui | 30 | ||||
-rw-r--r-- | khotkeys/kcontrol/ui/condition_list_widget_ui.ui | 32 |
2 files changed, 61 insertions, 1 deletions
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 @@ <string>Delete</string> </property> </widget> + <widget class="TQPushButton"> + <property name="name"> + <cstring>move_up_button</cstring> + </property> + <property name="text"> + <string>Move &up</string> + </property> + </widget> + <widget class="TQPushButton"> + <property name="name"> + <cstring>move_down_button</cstring> + </property> + <property name="text"> + <string>Move &down</string> + </property> + </widget> </vbox> </widget> </hbox> @@ -148,6 +164,18 @@ <slot>delete_pressed()</slot> </connection> <connection> + <sender>move_up_button</sender> + <signal>clicked()</signal> + <receiver>Action_list_widget_ui</receiver> + <slot>move_up_pressed()</slot> + </connection> + <connection> + <sender>move_down_button</sender> + <signal>clicked()</signal> + <receiver>Action_list_widget_ui</receiver> + <slot>move_down_pressed()</slot> + </connection> + <connection> <sender>actions_listview</sender> <signal>current_changed(TQListViewItem*)</signal> <receiver>Action_list_widget_ui</receiver> @@ -162,6 +190,8 @@ <slot access="protected" specifier="pure virtual">current_changed(TQListViewItem*)</slot> <slot access="protected" specifier="pure virtual">delete_pressed()</slot> <slot access="protected" specifier="pure virtual">modify_pressed()</slot> + <slot access="protected" specifier="pure virtual">move_up_pressed()</slot> + <slot access="protected" specifier="pure virtual">move_down_pressed()</slot> </Q_SLOTS> <includes> <include location="global" impldecl="in implementation">kdialog.h</include> 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 @@ <cstring>delete_button</cstring> </property> <property name="text"> - <string>Delete</string> + <string>D&elete</string> + </property> + </widget> + <widget class="TQPushButton"> + <property name="name"> + <cstring>move_up_button</cstring> + </property> + <property name="text"> + <string>Move &up</string> + </property> + </widget> + <widget class="TQPushButton"> + <property name="name"> + <cstring>move_down_button</cstring> + </property> + <property name="text"> + <string>Move &down</string> </property> </widget> </vbox> @@ -147,6 +163,18 @@ <slot>delete_pressed()</slot> </connection> <connection> + <sender>move_up_button</sender> + <signal>clicked()</signal> + <receiver>Condition_list_widget_ui</receiver> + <slot>move_up_pressed()</slot> + </connection> + <connection> + <sender>move_down_button</sender> + <signal>clicked()</signal> + <receiver>Condition_list_widget_ui</receiver> + <slot>move_down_pressed()</slot> + </connection> + <connection> <sender>conditions_listview</sender> <signal>current_changed(TQListViewItem*)</signal> <receiver>Condition_list_widget_ui</receiver> @@ -161,6 +189,8 @@ <slot access="protected" specifier="pure virtual">current_changed(TQListViewItem*)</slot> <slot access="protected" specifier="pure virtual">delete_pressed()</slot> <slot access="protected" specifier="pure virtual">modify_pressed()</slot> + <slot access="protected" specifier="pure virtual">move_up_pressed()</slot> + <slot access="protected" specifier="pure virtual">move_down_pressed()</slot> </Q_SLOTS> <includes> <include location="global" impldecl="in implementation">kdialog.h</include> |