diff options
author | Michele Calgaro <[email protected]> | 2022-08-11 18:01:06 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2022-08-11 18:31:08 +0900 |
commit | 5e4ca4df9bb34e10a897e32e7e0ca8645b97f293 (patch) | |
tree | 8201231b29ca15ca749e4d886c35c3596b85aae6 /khotkeys/kcontrol/ui | |
parent | 0c22a14875913dc185e029d0078a8d15c9ffe102 (diff) | |
download | tdebase-5e4ca4df9bb34e10a897e32e7e0ca8645b97f293.tar.gz tdebase-5e4ca4df9bb34e10a897e32e7e0ca8645b97f293.zip |
TCC khotkeys: added 'move up' and 'move down' buttons to 'Actions' and 'Conditions' listviews for input actions.
Signed-off-by: Michele Calgaro <[email protected]>
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> |