Skip to content

Commit 230282c

Browse files
committedApr 21, 2014
[Identify] Expand first feature
1 parent 37cd021 commit 230282c

File tree

2 files changed

+98
-3
lines changed

2 files changed

+98
-3
lines changed
 

‎src/app/qgsidentifyresultsdialog.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,6 @@ void QgsIdentifyResultsDialog::show()
651651
// don't show the form dialog instead of the results window
652652
lstResults->setCurrentItem( featItem );
653653
featureForm();
654-
return;
655654
}
656655
}
657656

‎src/ui/qgsidentifyresultsbase.ui

Lines changed: 98 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>304</width>
10-
<height>306</height>
9+
<width>313</width>
10+
<height>409</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
@@ -17,6 +17,102 @@
1717
<property name="margin">
1818
<number>2</number>
1919
</property>
20+
<item>
21+
<layout class="QHBoxLayout" name="mIdentifyModeHorizontalLayout">
22+
<item>
23+
<widget class="QLabel" name="label_4">
24+
<property name="text">
25+
<string>Mode</string>
26+
</property>
27+
</widget>
28+
</item>
29+
<item>
30+
<widget class="QComboBox" name="cmbIdentifyMode">
31+
<item>
32+
<property name="text">
33+
<string>Current Layer</string>
34+
</property>
35+
</item>
36+
<item>
37+
<property name="text">
38+
<string>Top Down</string>
39+
</property>
40+
</item>
41+
<item>
42+
<property name="text">
43+
<string>Top Down - Stop at first</string>
44+
</property>
45+
</item>
46+
<item>
47+
<property name="text">
48+
<string>-----</string>
49+
</property>
50+
</item>
51+
<item>
52+
<property name="text">
53+
<string>Layer 1</string>
54+
</property>
55+
</item>
56+
<item>
57+
<property name="text">
58+
<string>Layer 2</string>
59+
</property>
60+
</item>
61+
</widget>
62+
</item>
63+
<item>
64+
<spacer name="horizontalSpacer_43">
65+
<property name="orientation">
66+
<enum>Qt::Horizontal</enum>
67+
</property>
68+
<property name="sizeHint" stdset="0">
69+
<size>
70+
<width>40</width>
71+
<height>20</height>
72+
</size>
73+
</property>
74+
</spacer>
75+
</item>
76+
</layout>
77+
</item>
78+
<item>
79+
<layout class="QHBoxLayout" name="horizontalLayout_2">
80+
<item>
81+
<widget class="QToolButton" name="mExpandToolButton_2">
82+
<property name="toolTip">
83+
<string>Expand tree.</string>
84+
</property>
85+
<property name="text">
86+
<string>...</string>
87+
</property>
88+
<property name="icon">
89+
<iconset resource="../../images/images.qrc">
90+
<normaloff>:/images/themes/default/mActionToggleEditing.png</normaloff>:/images/themes/default/mActionToggleEditing.png</iconset>
91+
</property>
92+
</widget>
93+
</item>
94+
<item>
95+
<widget class="QCheckBox" name="cbxAutoFeatureForm">
96+
<property name="text">
97+
<string>Auto open feature form, on single feature identified</string>
98+
</property>
99+
</widget>
100+
</item>
101+
<item>
102+
<spacer name="horizontalSpacer_2">
103+
<property name="orientation">
104+
<enum>Qt::Horizontal</enum>
105+
</property>
106+
<property name="sizeHint" stdset="0">
107+
<size>
108+
<width>40</width>
109+
<height>20</height>
110+
</size>
111+
</property>
112+
</spacer>
113+
</item>
114+
</layout>
115+
</item>
20116
<item>
21117
<widget class="QTreeWidget" name="lstResults">
22118
<property name="lineWidth">

0 commit comments

Comments
 (0)
Please sign in to comment.