Debian Codegraph @

src/ui/shortcutsdialog.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>ShortcutsDialog</class>
4 <widget class="QDialog" name="ShortcutsDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>702</width>
10 <height>486</height>
11 </rect>
12 </property>
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
17 </sizepolicy>
18 </property>
19 <property name="focusPolicy">
20 <enum>Qt::ClickFocus</enum>
21 </property>
22 <property name="contextMenuPolicy">
23 <enum>Qt::NoContextMenu</enum>
24 </property>
25 <property name="windowTitle">
26 <string>Shortcuts Dialog</string>
27 </property>
28 <layout class="QVBoxLayout" name="verticalLayout">
29 <item>
30 <widget class="QTableWidget" name="tableWidget">
31 <property name="editTriggers">
32 <set>QAbstractItemView::NoEditTriggers</set>
33 </property>
34 <property name="selectionBehavior">
35 <enum>QAbstractItemView::SelectRows</enum>
36 </property>
37 <property name="columnCount">
38 <number>2</number>
39 </property>
40 <column>
41 <property name="text">
42 <string>Actions</string>
43 </property>
44 </column>
45 <column>
46 <property name="text">
47 <string>Shortcuts</string>
48 </property>
49 </column>
50 </widget>
51 </item>
52 <item>
53 <layout class="QHBoxLayout" name="horizontalLayout">
54 <item>
55 <widget class="QLabel" name="label">
56 <property name="text">
57 <string>Press any key here:</string>
58 </property>
59 <property name="alignment">
60 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
61 </property>
62 <property name="buddy">
63 <cstring>editShortcut</cstring>
64 </property>
65 </widget>
66 </item>
67 <item>
68 <widget class="QLineEdit" name="editShortcut"/>
69 </item>
70 <item>
71 <widget class="QPushButton" name="buttonAssign">
72 <property name="text">
73 <string>Assign</string>
74 </property>
75 </widget>
76 </item>
77 <item>
78 <widget class="QPushButton" name="buttonRemove">
79 <property name="text">
80 <string>Remove</string>
81 </property>
82 </widget>
83 </item>
84 </layout>
85 </item>
86 <item>
87 <widget class="Line" name="line">
88 <property name="orientation">
89 <enum>Qt::Horizontal</enum>
90 </property>
91 </widget>
92 </item>
93 <item>
94 <layout class="QHBoxLayout" name="horizontalLayout_2">
95 <item>
96 <widget class="QPushButton" name="buttonDefault">
97 <property name="text">
98 <string>Default</string>
99 </property>
100 </widget>
101 </item>
102 <item>
103 <spacer name="horizontalSpacer">
104 <property name="orientation">
105 <enum>Qt::Horizontal</enum>
106 </property>
107 <property name="sizeHint" stdset="0">
108 <size>
109 <width>40</width>
110 <height>20</height>
111 </size>
112 </property>
113 </spacer>
114 </item>
115 <item>
116 <widget class="QPushButton" name="buttonDone">
117 <property name="text">
118 <string>OK</string>
119 </property>
120 <property name="default">
121 <bool>true</bool>
122 </property>
123 </widget>
124 </item>
125 <item>
126 <widget class="QPushButton" name="buttonCancel">
127 <property name="text">
128 <string>Cancel</string>
129 </property>
130 </widget>
131 </item>
132 </layout>
133 </item>
134 </layout>
135 </widget>
136 <tabstops>
137 <tabstop>editShortcut</tabstop>
138 <tabstop>buttonAssign</tabstop>
139 <tabstop>buttonRemove</tabstop>
140 <tabstop>buttonDone</tabstop>
141 <tabstop>buttonCancel</tabstop>
142 <tabstop>buttonDefault</tabstop>
143 <tabstop>tableWidget</tabstop>
144 </tabstops>
145 <resources/>
146 <connections>
147 <connection>
148 <sender>buttonDone</sender>
149 <signal>clicked()</signal>
150 <receiver>ShortcutsDialog</receiver>
151 <slot>accept()</slot>
152 <hints>
153 <hint type="sourcelabel">
154 <x>520</x>
155 <y>500</y>
156 </hint>
157 <hint type="destinationlabel">
158 <x>179</x>
159 <y>282</y>
160 </hint>
161 </hints>
162 </connection>
163 <connection>
164 <sender>buttonCancel</sender>
165 <signal>clicked()</signal>
166 <receiver>ShortcutsDialog</receiver>
167 <slot>reject()</slot>
168 <hints>
169 <hint type="sourcelabel">
170 <x>585</x>
171 <y>473</y>
172 </hint>
173 <hint type="destinationlabel">
174 <x>88</x>
175 <y>423</y>
176 </hint>
177 </hints>
178 </connection>
179 </connections>
180 </ui>