Skip to content

Commit

Permalink
Add tooltips for form/table switcher buttons in attribute dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 24, 2014
1 parent 9cdea17 commit db6a5a9
Showing 1 changed file with 32 additions and 24 deletions.
56 changes: 32 additions & 24 deletions src/ui/qgsattributetabledialog.ui
Expand Up @@ -46,7 +46,7 @@
<string/>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionToggleEditing.svg</normaloff>:/images/themes/default/mActionToggleEditing.svg</iconset>
</property>
<property name="iconSize">
Expand Down Expand Up @@ -78,7 +78,7 @@
<string/>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionSaveEdits.svg</normaloff>:/images/themes/default/mActionSaveEdits.svg</iconset>
</property>
<property name="iconSize">
Expand Down Expand Up @@ -136,7 +136,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionDeleteSelected.svg</normaloff>:/images/themes/default/mActionDeleteSelected.svg</iconset>
</property>
<property name="iconSize">
Expand Down Expand Up @@ -166,7 +166,7 @@
<string>...</string>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mIconExpressionSelect.svg</normaloff>:/images/themes/default/mIconExpressionSelect.svg</iconset>
</property>
<property name="iconSize">
Expand All @@ -189,7 +189,7 @@
<string/>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionUnselectAttributes.png</normaloff>:/images/themes/default/mActionUnselectAttributes.png</iconset>
</property>
<property name="iconSize">
Expand All @@ -215,7 +215,7 @@
<string/>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionSelectedToTop.png</normaloff>:/images/themes/default/mActionSelectedToTop.png</iconset>
</property>
<property name="iconSize">
Expand Down Expand Up @@ -244,7 +244,7 @@
<string/>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionInvertSelection.png</normaloff>:/images/themes/default/mActionInvertSelection.png</iconset>
</property>
<property name="iconSize">
Expand Down Expand Up @@ -273,7 +273,7 @@
<string/>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionPanToSelected.svg</normaloff>:/images/themes/default/mActionPanToSelected.svg</iconset>
</property>
<property name="iconSize">
Expand Down Expand Up @@ -302,7 +302,7 @@
<string/>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionZoomToSelected.svg</normaloff>:/images/themes/default/mActionZoomToSelected.svg</iconset>
</property>
<property name="iconSize">
Expand Down Expand Up @@ -331,7 +331,7 @@
<string/>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionEditCopy.png</normaloff>:/images/themes/default/mActionEditCopy.png</iconset>
</property>
<property name="iconSize">
Expand Down Expand Up @@ -364,7 +364,7 @@
<string/>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionDeleteAttribute.png</normaloff>:/images/themes/default/mActionDeleteAttribute.png</iconset>
</property>
<property name="iconSize">
Expand All @@ -390,7 +390,7 @@
<string/>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionNewAttribute.png</normaloff>:/images/themes/default/mActionNewAttribute.png</iconset>
</property>
<property name="iconSize">
Expand All @@ -416,7 +416,7 @@
<string/>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionCalculateField.png</normaloff>:/images/themes/default/mActionCalculateField.png</iconset>
</property>
<property name="iconSize">
Expand Down Expand Up @@ -500,7 +500,7 @@
<string>Filter</string>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionFilter.png</normaloff>:/images/themes/default/mActionFilter.png</iconset>
</property>
<property name="popupMode">
Expand Down Expand Up @@ -547,28 +547,34 @@
</property>
<item>
<widget class="QToolButton" name="mAttributeViewButton">
<property name="toolTip">
<string>Switch to form view</string>
</property>
<property name="text">
<string>Form View</string>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionPropertyItem.png</normaloff>:/images/themes/default/mActionPropertyItem.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<attribute name="buttonGroup">
<string>mMainViewButtonGroup</string>
<string notr="true">mMainViewButtonGroup</string>
</attribute>
</widget>
</item>
<item>
<widget class="QToolButton" name="mTableViewButton">
<property name="toolTip">
<string>Switch to table view</string>
</property>
<property name="text">
<string>Table View</string>
</property>
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionOpenTable.png</normaloff>:/images/themes/default/mActionOpenTable.png</iconset>
</property>
<property name="checkable">
Expand All @@ -578,7 +584,7 @@
<bool>true</bool>
</property>
<attribute name="buttonGroup">
<string>mMainViewButtonGroup</string>
<string notr="true">mMainViewButtonGroup</string>
</attribute>
</widget>
</item>
Expand Down Expand Up @@ -643,7 +649,7 @@
</layout>
<action name="mActionAdvancedFilter">
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionFilter.png</normaloff>:/images/themes/default/mActionFilter.png</iconset>
</property>
<property name="text">
Expand All @@ -658,7 +664,7 @@
</action>
<action name="mActionShowAllFilter">
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionFilter.png</normaloff>:/images/themes/default/mActionFilter.png</iconset>
</property>
<property name="text">
Expand All @@ -667,7 +673,7 @@
</action>
<action name="mActionSelectedFilter">
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionFilter.png</normaloff>:/images/themes/default/mActionFilter.png</iconset>
</property>
<property name="text">
Expand All @@ -676,7 +682,7 @@
</action>
<action name="mActionVisibleFilter">
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionFilter.png</normaloff>:/images/themes/default/mActionFilter.png</iconset>
</property>
<property name="text">
Expand All @@ -690,7 +696,7 @@
</action>
<action name="mActionEditedFilter">
<property name="icon">
<iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionFilter.png</normaloff>:/images/themes/default/mActionFilter.png</iconset>
</property>
<property name="text">
Expand Down Expand Up @@ -732,7 +738,9 @@
<tabstop>mRemoveAttribute</tabstop>
<tabstop>mOpenFieldCalculator</tabstop>
</tabstops>
<resources/>
<resources>
<include location="../../images/images.qrc"/>
</resources>
<connections>
<connection>
<sender>mToggleEditingButton</sender>
Expand Down

0 comments on commit db6a5a9

Please sign in to comment.