Skip to content

Commit 6c7a538

Browse files
author
gsherman
committed
added context help button to attribute display dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6093 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent cf82985 commit 6c7a538

File tree

1 file changed

+101
-113
lines changed

1 file changed

+101
-113
lines changed

src/ui/qgsattributetablebase.ui

Lines changed: 101 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
<ui version="4.0" >
2-
<author></author>
3-
<comment></comment>
4-
<exportmacro></exportmacro>
52
<class>QgsAttributeTableBase</class>
63
<widget class="QDialog" name="QgsAttributeTableBase" >
74
<property name="geometry" >
@@ -18,14 +15,111 @@
1815
<property name="windowIcon" >
1916
<iconset/>
2017
</property>
21-
<layout class="QVBoxLayout" >
18+
<layout class="QGridLayout" >
2219
<property name="margin" >
23-
<number>10</number>
20+
<number>9</number>
2421
</property>
2522
<property name="spacing" >
2623
<number>6</number>
2724
</property>
28-
<item>
25+
<item row="2" column="0" >
26+
<layout class="QHBoxLayout" >
27+
<property name="margin" >
28+
<number>0</number>
29+
</property>
30+
<property name="spacing" >
31+
<number>6</number>
32+
</property>
33+
<item>
34+
<widget class="QPushButton" name="btnHelp" >
35+
<property name="text" >
36+
<string>&amp;Help</string>
37+
</property>
38+
<property name="shortcut" >
39+
<string>Alt+C</string>
40+
</property>
41+
</widget>
42+
</item>
43+
<item>
44+
<widget class="QLabel" name="textLabel1" >
45+
<property name="text" >
46+
<string>Search for:</string>
47+
</property>
48+
<property name="buddy" >
49+
<cstring>mSearchText</cstring>
50+
</property>
51+
</widget>
52+
</item>
53+
<item>
54+
<widget class="QLineEdit" name="mSearchText" />
55+
</item>
56+
<item>
57+
<widget class="QLabel" name="textLabel2" >
58+
<property name="text" >
59+
<string>in</string>
60+
</property>
61+
<property name="buddy" >
62+
<cstring>mSearchColumns</cstring>
63+
</property>
64+
</widget>
65+
</item>
66+
<item>
67+
<widget class="QComboBox" name="mSearchColumns" >
68+
<property name="sizePolicy" >
69+
<sizepolicy>
70+
<hsizetype>7</hsizetype>
71+
<vsizetype>0</vsizetype>
72+
<horstretch>0</horstretch>
73+
<verstretch>0</verstretch>
74+
</sizepolicy>
75+
</property>
76+
</widget>
77+
</item>
78+
<item>
79+
<widget class="QPushButton" name="mSearchButton" >
80+
<property name="text" >
81+
<string>Search</string>
82+
</property>
83+
</widget>
84+
</item>
85+
<item>
86+
<widget class="QComboBox" name="mSearchShowResults" />
87+
</item>
88+
<item>
89+
<widget class="QPushButton" name="btnAdvancedSearch" >
90+
<property name="text" >
91+
<string>Adva&amp;nced...</string>
92+
</property>
93+
<property name="shortcut" >
94+
<string>Alt+N</string>
95+
</property>
96+
</widget>
97+
</item>
98+
<item>
99+
<widget class="QPushButton" name="btnClose" >
100+
<property name="text" >
101+
<string>&amp;Close</string>
102+
</property>
103+
<property name="shortcut" >
104+
<string>Alt+C</string>
105+
</property>
106+
</widget>
107+
</item>
108+
</layout>
109+
</item>
110+
<item row="1" column="0" >
111+
<widget class="QgsAttributeTable" native="1" name="tblAttributes" >
112+
<property name="sizePolicy" >
113+
<sizepolicy>
114+
<hsizetype>7</hsizetype>
115+
<vsizetype>7</vsizetype>
116+
<horstretch>0</horstretch>
117+
<verstretch>0</verstretch>
118+
</sizepolicy>
119+
</property>
120+
</widget>
121+
</item>
122+
<item row="0" column="0" >
29123
<layout class="QHBoxLayout" >
30124
<property name="margin" >
31125
<number>0</number>
@@ -167,120 +261,14 @@
167261
</item>
168262
</layout>
169263
</item>
170-
<item>
171-
<widget class="QgsAttributeTable" name="tblAttributes" >
172-
<property name="sizePolicy" >
173-
<sizepolicy>
174-
<hsizetype>7</hsizetype>
175-
<vsizetype>7</vsizetype>
176-
<horstretch>0</horstretch>
177-
<verstretch>0</verstretch>
178-
</sizepolicy>
179-
</property>
180-
</widget>
181-
</item>
182-
<item>
183-
<layout class="QHBoxLayout" >
184-
<property name="margin" >
185-
<number>0</number>
186-
</property>
187-
<property name="spacing" >
188-
<number>6</number>
189-
</property>
190-
<item>
191-
<widget class="QLabel" name="textLabel1" >
192-
<property name="text" >
193-
<string>Search for:</string>
194-
</property>
195-
<property name="buddy" >
196-
<cstring>mSearchText</cstring>
197-
</property>
198-
</widget>
199-
</item>
200-
<item>
201-
<widget class="QLineEdit" name="mSearchText" />
202-
</item>
203-
<item>
204-
<widget class="QLabel" name="textLabel2" >
205-
<property name="text" >
206-
<string>in</string>
207-
</property>
208-
<property name="buddy" >
209-
<cstring>mSearchColumns</cstring>
210-
</property>
211-
</widget>
212-
</item>
213-
<item>
214-
<widget class="QComboBox" name="mSearchColumns" >
215-
<property name="sizePolicy" >
216-
<sizepolicy>
217-
<hsizetype>7</hsizetype>
218-
<vsizetype>0</vsizetype>
219-
<horstretch>0</horstretch>
220-
<verstretch>0</verstretch>
221-
</sizepolicy>
222-
</property>
223-
</widget>
224-
</item>
225-
<item>
226-
<widget class="QPushButton" name="mSearchButton" >
227-
<property name="text" >
228-
<string>Search</string>
229-
</property>
230-
</widget>
231-
</item>
232-
<item>
233-
<widget class="QComboBox" name="mSearchShowResults" />
234-
</item>
235-
<item>
236-
<widget class="QPushButton" name="btnAdvancedSearch" >
237-
<property name="text" >
238-
<string>Adva&amp;nced...</string>
239-
</property>
240-
<property name="shortcut" >
241-
<string>Alt+N</string>
242-
</property>
243-
</widget>
244-
</item>
245-
<item>
246-
<spacer>
247-
<property name="orientation" >
248-
<enum>Qt::Horizontal</enum>
249-
</property>
250-
<property name="sizeType" >
251-
<enum>QSizePolicy::Expanding</enum>
252-
</property>
253-
<property name="sizeHint" >
254-
<size>
255-
<width>70</width>
256-
<height>20</height>
257-
</size>
258-
</property>
259-
</spacer>
260-
</item>
261-
<item>
262-
<widget class="QPushButton" name="btnClose" >
263-
<property name="text" >
264-
<string>&amp;Close</string>
265-
</property>
266-
<property name="shortcut" >
267-
<string>Alt+C</string>
268-
</property>
269-
</widget>
270-
</item>
271-
</layout>
272-
</item>
273264
</layout>
274265
</widget>
275266
<layoutdefault spacing="6" margin="11" />
276-
<pixmapfunction></pixmapfunction>
277267
<customwidgets>
278268
<customwidget>
279269
<class>QgsAttributeTable</class>
280-
<extends></extends>
270+
<extends>QWidget</extends>
281271
<header>qgsattributetable.h</header>
282-
<container>0</container>
283-
<pixmap></pixmap>
284272
</customwidget>
285273
</customwidgets>
286274
<tabstops>

0 commit comments

Comments
 (0)