Skip to content

Commit

Permalink
[Identify] Expand first feature
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Apr 21, 2014
1 parent 37cd021 commit 230282c
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/app/qgsidentifyresultsdialog.cpp
Expand Up @@ -651,7 +651,6 @@ void QgsIdentifyResultsDialog::show()
// don't show the form dialog instead of the results window
lstResults->setCurrentItem( featItem );
featureForm();
return;
}
}

Expand Down
100 changes: 98 additions & 2 deletions src/ui/qgsidentifyresultsbase.ui
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>304</width>
<height>306</height>
<width>313</width>
<height>409</height>
</rect>
</property>
<property name="windowTitle">
Expand All @@ -17,6 +17,102 @@
<property name="margin">
<number>2</number>
</property>
<item>
<layout class="QHBoxLayout" name="mIdentifyModeHorizontalLayout">
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>Mode</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cmbIdentifyMode">
<item>
<property name="text">
<string>Current Layer</string>
</property>
</item>
<item>
<property name="text">
<string>Top Down</string>
</property>
</item>
<item>
<property name="text">
<string>Top Down - Stop at first</string>
</property>
</item>
<item>
<property name="text">
<string>-----</string>
</property>
</item>
<item>
<property name="text">
<string>Layer 1</string>
</property>
</item>
<item>
<property name="text">
<string>Layer 2</string>
</property>
</item>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_43">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QToolButton" name="mExpandToolButton_2">
<property name="toolTip">
<string>Expand tree.</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionToggleEditing.png</normaloff>:/images/themes/default/mActionToggleEditing.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cbxAutoFeatureForm">
<property name="text">
<string>Auto open feature form, on single feature identified</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QTreeWidget" name="lstResults">
<property name="lineWidth">
Expand Down

0 comments on commit 230282c

Please sign in to comment.