Skip to content
Permalink
Browse files

Enable icons visibility in Evis dialogs (#4012)

- Add + and - icons
- Also move some "what's this" comments to "tooltip"
  • Loading branch information
DelazJ authored and nirvn committed Jan 19, 2017
1 parent d0a4697 commit f43dc8e134c02c75749aa25dfb2871d26d505228
@@ -180,23 +180,13 @@ bool eVisGenericEventBrowserGui::initBrowser()

chkboxUseOnlyFilename->setChecked( false );

QString myThemePath = QgsApplication::activeThemePath();
pbtnResetEventImagePathData->setIcon( QIcon( QPixmap( myThemePath + "/mActionDraw.svg" ) ) );
pbtnResetCompassBearingData->setIcon( QIcon( QPixmap( myThemePath + "/mActionDraw.svg" ) ) );
pbtnResetCompassOffsetData->setIcon( QIcon( QPixmap( myThemePath + "/mActionDraw.svg" ) ) );
pbtnResetBasePathData->setIcon( QIcon( QPixmap( myThemePath + "/mActionDraw.svg" ) ) );
pbtnResetUseOnlyFilenameData->setIcon( QIcon( QPixmap( myThemePath + "/mActionDraw.svg" ) ) );
pbtnResetApplyPathRulesToDocs->setIcon( QIcon( QPixmap( myThemePath + "/mActionDraw.svg" ) ) );

chkboxSaveEventImagePathData->setChecked( false );
chkboxSaveCompassBearingData->setChecked( false );
chkboxSaveCompassOffsetData->setChecked( false );
chkboxSaveBasePathData->setChecked( false );
chkboxSaveUseOnlyFilenameData->setChecked( false );

//Set up Configure External Application buttons
pbtnAddFileType->setIcon( QIcon( QPixmap( myThemePath + "/mActionNewAttribute.svg" ) ) );
pbtnDeleteFileType->setIcon( QIcon( QPixmap( myThemePath + "/mActionDeleteAttribute.svg" ) ) );

//Check to for interface, not null when launched from plugin toolbar, otherwise expect map canvas
if ( mInterface )
@@ -52,7 +52,7 @@ eVisImageDisplayWidget::eVisImageDisplayWidget( QWidget* parent, Qt::WindowFlags
pbtnZoomIn->setEnabled( false );
pbtnZoomOut->setEnabled( false );
pbtnZoomFull->setEnabled( false );
QString myThemePath = QgsApplication::activeThemePath();
QString myThemePath = QgsApplication::defaultThemePath();
pbtnZoomIn->setToolTip( tr( "Zoom in" ) );
pbtnZoomIn->setWhatsThis( tr( "Zoom in to see more detail." ) );
pbtnZoomOut->setToolTip( tr( "Zoom out" ) );
@@ -72,7 +72,7 @@
</property>
<property name="icon" >
<iconset>
<normaloff>../../../images/themes/default/mActionFolder.svg</normaloff>../../../images/themes/default/mActionFolder.svg</iconset>
<normaloff>:/images/themes/default/mActionFolder.svg</normaloff>:/images/themes/default/mActionFolder.svg</iconset>
</property>
</widget>
</item>
@@ -331,7 +331,7 @@ p, li { white-space: pre-wrap; }
</property>
<property name="icon" >
<iconset>
<normaloff>../../../images/themes/default/mActionFolder.svg</normaloff>../../../images/themes/default/mActionFolder.svg</iconset>
<normaloff>:/images/themes/default/mActionFolder.svg</normaloff>:/images/themes/default/mActionFolder.svg</iconset>
</property>
</widget>
</item>
@@ -506,6 +506,7 @@ p, li { white-space: pre-wrap; }
</tabstops>
<resources>
<include location="../resources/evis.qrc" />
<include location="../../../../images/images.qrc"/>
</resources>
<connections/>
</ui>

0 comments on commit f43dc8e

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