Skip to content

Commit 3826f1a

Browse files
author
timlinux
committed
Layout cleanups for actions widget
git-svn-id: http://svn.osgeo.org/qgis/trunk@12111 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent c4fe714 commit 3826f1a

File tree

1 file changed

+105
-137
lines changed

1 file changed

+105
-137
lines changed

src/ui/qgsattributeactiondialogbase.ui

+105-137
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>552</width>
10-
<height>432</height>
9+
<width>695</width>
10+
<height>449</height>
1111
</rect>
1212
</property>
1313
<property name="sizePolicy">
@@ -19,11 +19,107 @@
1919
<property name="windowTitle">
2020
<string>Attribute Actions</string>
2121
</property>
22-
<layout class="QGridLayout" name="gridLayout_3">
22+
<layout class="QGridLayout" name="gridLayout_2">
2323
<property name="margin">
2424
<number>0</number>
2525
</property>
2626
<item row="0" column="0">
27+
<widget class="QGroupBox" name="groupBox_2">
28+
<property name="title">
29+
<string>Action list</string>
30+
</property>
31+
<layout class="QGridLayout" name="gridLayout_3">
32+
<item row="0" column="0" colspan="5">
33+
<widget class="QTableWidget" name="attributeActionTable">
34+
<property name="sizePolicy">
35+
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
36+
<horstretch>0</horstretch>
37+
<verstretch>0</verstretch>
38+
</sizepolicy>
39+
</property>
40+
<property name="whatsThis">
41+
<string>This list contains all actions that have been defined for the current layer. Add actions by entering the details in the controls below and then pressing the Insert action button. Actions can be edited here by double clicking on the item.</string>
42+
</property>
43+
<property name="selectionMode">
44+
<enum>QAbstractItemView::SingleSelection</enum>
45+
</property>
46+
<property name="selectionBehavior">
47+
<enum>QAbstractItemView::SelectRows</enum>
48+
</property>
49+
<property name="columnCount">
50+
<number>3</number>
51+
</property>
52+
<column>
53+
<property name="text">
54+
<string>Name</string>
55+
</property>
56+
</column>
57+
<column>
58+
<property name="text">
59+
<string>Action</string>
60+
</property>
61+
</column>
62+
<column>
63+
<property name="text">
64+
<string>Capture</string>
65+
</property>
66+
</column>
67+
</widget>
68+
</item>
69+
<item row="1" column="0">
70+
<widget class="QPushButton" name="insertButton">
71+
<property name="toolTip">
72+
<string>Inserts the action into the list above</string>
73+
</property>
74+
<property name="text">
75+
<string>Insert action</string>
76+
</property>
77+
</widget>
78+
</item>
79+
<item row="1" column="1">
80+
<widget class="QPushButton" name="updateButton">
81+
<property name="toolTip">
82+
<string>Update the selected action</string>
83+
</property>
84+
<property name="text">
85+
<string>Update action</string>
86+
</property>
87+
</widget>
88+
</item>
89+
<item row="1" column="2">
90+
<widget class="QPushButton" name="moveUpButton">
91+
<property name="toolTip">
92+
<string>Move the selected action up</string>
93+
</property>
94+
<property name="text">
95+
<string>Move up</string>
96+
</property>
97+
</widget>
98+
</item>
99+
<item row="1" column="3">
100+
<widget class="QPushButton" name="moveDownButton">
101+
<property name="toolTip">
102+
<string>Move the selected action down</string>
103+
</property>
104+
<property name="text">
105+
<string>Move down</string>
106+
</property>
107+
</widget>
108+
</item>
109+
<item row="1" column="4">
110+
<widget class="QPushButton" name="removeButton">
111+
<property name="toolTip">
112+
<string>Remove the selected action</string>
113+
</property>
114+
<property name="text">
115+
<string>Remove</string>
116+
</property>
117+
</widget>
118+
</item>
119+
</layout>
120+
</widget>
121+
</item>
122+
<item row="1" column="0">
27123
<widget class="QGroupBox" name="groupBox">
28124
<property name="title">
29125
<string>Action properties</string>
@@ -132,150 +228,22 @@
132228
</layout>
133229
</widget>
134230
</item>
135-
<item row="1" column="0">
136-
<widget class="QGroupBox" name="groupBox_2">
137-
<property name="title">
138-
<string>Action list</string>
139-
</property>
140-
<layout class="QGridLayout" name="gridLayout_2">
141-
<item row="0" column="0" rowspan="7">
142-
<widget class="QTableWidget" name="attributeActionTable">
143-
<property name="sizePolicy">
144-
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
145-
<horstretch>0</horstretch>
146-
<verstretch>0</verstretch>
147-
</sizepolicy>
148-
</property>
149-
<property name="whatsThis">
150-
<string>This list contains all actions that have been defined for the current layer. Add actions by entering the details in the controls below and then pressing the Insert action button. Actions can be edited here by double clicking on the item.</string>
151-
</property>
152-
<property name="selectionMode">
153-
<enum>QAbstractItemView::SingleSelection</enum>
154-
</property>
155-
<property name="selectionBehavior">
156-
<enum>QAbstractItemView::SelectRows</enum>
157-
</property>
158-
<property name="columnCount">
159-
<number>3</number>
160-
</property>
161-
<column>
162-
<property name="text">
163-
<string>Name</string>
164-
</property>
165-
</column>
166-
<column>
167-
<property name="text">
168-
<string>Action</string>
169-
</property>
170-
</column>
171-
<column>
172-
<property name="text">
173-
<string>Capture</string>
174-
</property>
175-
</column>
176-
</widget>
177-
</item>
178-
<item row="0" column="1">
179-
<widget class="QPushButton" name="insertButton">
180-
<property name="toolTip">
181-
<string>Inserts the action into the list above</string>
182-
</property>
183-
<property name="text">
184-
<string>Insert action</string>
185-
</property>
186-
</widget>
187-
</item>
188-
<item row="1" column="1">
189-
<widget class="QPushButton" name="updateButton">
190-
<property name="toolTip">
191-
<string>Update the selected action</string>
192-
</property>
193-
<property name="text">
194-
<string>Update action</string>
195-
</property>
196-
</widget>
197-
</item>
198-
<item row="2" column="1">
199-
<spacer>
200-
<property name="orientation">
201-
<enum>Qt::Vertical</enum>
202-
</property>
203-
<property name="sizeType">
204-
<enum>QSizePolicy::Expanding</enum>
205-
</property>
206-
<property name="sizeHint" stdset="0">
207-
<size>
208-
<width>85</width>
209-
<height>35</height>
210-
</size>
211-
</property>
212-
</spacer>
213-
</item>
214-
<item row="3" column="1">
215-
<widget class="QPushButton" name="moveUpButton">
216-
<property name="toolTip">
217-
<string>Move the selected action up</string>
218-
</property>
219-
<property name="text">
220-
<string>Move up</string>
221-
</property>
222-
</widget>
223-
</item>
224-
<item row="4" column="1">
225-
<widget class="QPushButton" name="moveDownButton">
226-
<property name="toolTip">
227-
<string>Move the selected action down</string>
228-
</property>
229-
<property name="text">
230-
<string>Move down</string>
231-
</property>
232-
</widget>
233-
</item>
234-
<item row="5" column="1">
235-
<spacer>
236-
<property name="orientation">
237-
<enum>Qt::Vertical</enum>
238-
</property>
239-
<property name="sizeType">
240-
<enum>QSizePolicy::Expanding</enum>
241-
</property>
242-
<property name="sizeHint" stdset="0">
243-
<size>
244-
<width>85</width>
245-
<height>41</height>
246-
</size>
247-
</property>
248-
</spacer>
249-
</item>
250-
<item row="6" column="1">
251-
<widget class="QPushButton" name="removeButton">
252-
<property name="toolTip">
253-
<string>Remove the selected action</string>
254-
</property>
255-
<property name="text">
256-
<string>Remove</string>
257-
</property>
258-
</widget>
259-
</item>
260-
</layout>
261-
</widget>
262-
</item>
263231
</layout>
264232
</widget>
265233
<layoutdefault spacing="6" margin="11"/>
266234
<tabstops>
267-
<tabstop>actionName</tabstop>
268-
<tabstop>actionAction</tabstop>
269-
<tabstop>browseButton</tabstop>
270-
<tabstop>captureCB</tabstop>
271-
<tabstop>fieldComboBox</tabstop>
272-
<tabstop>insertFieldButton</tabstop>
273235
<tabstop>attributeActionTable</tabstop>
274236
<tabstop>insertButton</tabstop>
275237
<tabstop>updateButton</tabstop>
276238
<tabstop>moveUpButton</tabstop>
277239
<tabstop>moveDownButton</tabstop>
278240
<tabstop>removeButton</tabstop>
241+
<tabstop>actionName</tabstop>
242+
<tabstop>actionAction</tabstop>
243+
<tabstop>browseButton</tabstop>
244+
<tabstop>captureCB</tabstop>
245+
<tabstop>fieldComboBox</tabstop>
246+
<tabstop>insertFieldButton</tabstop>
279247
</tabstops>
280248
<resources/>
281249
<connections/>

0 commit comments

Comments
 (0)