Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Use icon instead of text for Add and Remove buttons
- Loading branch information
Showing
with
19 additions
and
3 deletions.
-
+19
−3
src/ui/qgsdatadefinedsizelegendwidget.ui
|
@@ -77,15 +77,29 @@ |
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
|
<item> |
|
|
<widget class="QToolButton" name="btnAddClass"> |
|
|
<property name="toolTip"> |
|
|
<string>Add a class</string> |
|
|
</property> |
|
|
<property name="text"> |
|
|
<string>Add</string> |
|
|
<string>...</string> |
|
|
</property> |
|
|
<property name="icon"> |
|
|
<iconset resource="../../images/images.qrc"> |
|
|
<normaloff>:/images/themes/default/symbologyAdd.svg</normaloff>:/images/themes/default/symbologyAdd.svg</iconset> |
|
|
</property> |
|
|
</widget> |
|
|
</item> |
|
|
<item> |
|
|
<widget class="QToolButton" name="btnRemoveClass"> |
|
|
<property name="toolTip"> |
|
|
<string>Remove selected class</string> |
|
|
</property> |
|
|
<property name="text"> |
|
|
<string>Remove</string> |
|
|
<string>...</string> |
|
|
</property> |
|
|
<property name="icon"> |
|
|
<iconset resource="../../images/images.qrc"> |
|
|
<normaloff>:/images/themes/default/symbologyRemove.svg</normaloff>:/images/themes/default/symbologyRemove.svg</iconset> |
|
|
</property> |
|
|
</widget> |
|
|
</item> |
|
@@ -174,6 +188,8 @@ |
|
|
<tabstop>cboAlignSymbols</tabstop> |
|
|
<tabstop>viewLayerTree</tabstop> |
|
|
</tabstops> |
|
|
<resources/> |
|
|
<resources> |
|
|
<include location="../../images/images.qrc"/> |
|
|
</resources> |
|
|
<connections/> |
|
|
</ui> |