Skip to content
Permalink
Browse files

Use +/- icons instead of text

  • Loading branch information
nyalldawson committed Jul 29, 2017
1 parent 419bdde commit 2f49329634e11b97cd39c1e27b772441c5a7d184
Showing with 66 additions and 8 deletions.
  1. +66 −8 src/ui/layout/qgslayoutguidewidgetbase.ui
@@ -86,22 +86,51 @@
<property name="collapsed" stdset="0">
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2" columnstretch="0,0">
<layout class="QGridLayout" name="gridLayout_2" columnstretch="0,0,0">
<item row="1" column="0">
<widget class="QPushButton" name="mAddHozGuideButton">
<property name="toolTip">
<string>Add new guide</string>
</property>
<property name="text">
<string>Add</string>
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/images/themes/default/symbologyAdd.svg</normalon>
</iconset>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="mDeleteHozGuideButton">
<property name="toolTip">
<string>Remove selected guide</string>
</property>
<property name="text">
<string>Delete</string>
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/images/themes/default/symbologyRemove.svg</normalon>
</iconset>
</property>
</widget>
</item>
<item row="0" column="0" colspan="2">
<item row="1" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" colspan="3">
<widget class="QTableView" name="mHozGuidesTableView">
<property name="minimumSize">
<size>
@@ -149,22 +178,51 @@
<property name="collapsed" stdset="0">
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout_3" columnstretch="0,0">
<layout class="QGridLayout" name="gridLayout_3" columnstretch="0,0,0">
<item row="1" column="0">
<widget class="QPushButton" name="mAddVertGuideButton">
<property name="toolTip">
<string>Add new guide</string>
</property>
<property name="text">
<string>Add</string>
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/images/themes/default/symbologyAdd.svg</normalon>
</iconset>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="mDeleteVertGuideButton">
<property name="toolTip">
<string>Remove selected guide</string>
</property>
<property name="text">
<string>Delete</string>
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/images/themes/default/symbologyRemove.svg</normalon>
</iconset>
</property>
</widget>
</item>
<item row="0" column="0" colspan="2">
<item row="1" column="2">
<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>
<item row="0" column="0" colspan="3">
<widget class="QTableView" name="mVertGuidesTableView">
<property name="minimumSize">
<size>

0 comments on commit 2f49329

Please sign in to comment.
You can’t perform that action at this time.