Skip to content

Commit

Permalink
harmonize open raster and open vector UIs
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Aug 28, 2017
1 parent 0dfdb6f commit 3576532
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 14 deletions.
39 changes: 27 additions & 12 deletions src/ui/qgsgdalsourceselectbase.ui
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Add Layer(s) from a Server</string>
<string>Add Raster Layer(s)</string>
</property>
<property name="windowIcon">
<iconset>
Expand All @@ -24,17 +24,32 @@
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="3" column="0">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Help</set>
<item row="0" column="0">
<widget class="QGroupBox" name="srcGroupBox_1">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Source</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Dataset</string>
</property>
</widget>
</item>
<item>
<widget class="QgsFileWidget" name="mQgsFileWidget"/>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QgsFileWidget" name="mQgsFileWidget"/>
</item>
<item row="2" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
Expand All @@ -47,10 +62,10 @@
</property>
</spacer>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Path to a raster data source</string>
<item row="2" column="0">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Help</set>
</property>
</widget>
</item>
Expand Down
4 changes: 2 additions & 2 deletions src/ui/qgsogrsourceselectbase.ui
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@
</widget>
</item>
<item row="1" column="3">
<widget class="QPushButton" name="buttonSelectSrc">
<widget class="QToolButton" name="buttonSelectSrc">
<property name="text">
<string>Browse</string>
<string></string>
</property>
</widget>
</item>
Expand Down

0 comments on commit 3576532

Please sign in to comment.