mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Merge pull request #2153 from nirvn/georef_icon_size
[georef] apply user preference icon size to toolbars
This commit is contained in:
commit
d31ba2679d
@ -994,6 +994,13 @@ void QgsGeorefPluginGui::createMenus()
|
||||
mToolbarMenu->addAction( toolBarEdit->toggleViewAction() );
|
||||
mToolbarMenu->addAction( toolBarView->toggleViewAction() );
|
||||
|
||||
QSettings s;
|
||||
int size = s.value( "/IconSize", 32 ).toInt();
|
||||
toolBarFile->setIconSize( QSize( size, size ) );
|
||||
toolBarEdit->setIconSize( QSize( size, size ) );
|
||||
toolBarView->setIconSize( QSize( size, size ) );
|
||||
toolBarHistogramStretch->setIconSize( QSize( size, size ) );
|
||||
|
||||
// View menu
|
||||
if ( layout != QDialogButtonBox::KdeLayout )
|
||||
{
|
||||
|
@ -164,7 +164,7 @@
|
||||
</widget>
|
||||
<widget class="QToolBar" name="toolBarHistogramStretch">
|
||||
<property name="windowTitle">
|
||||
<string>toolBar</string>
|
||||
<string>Histogram</string>
|
||||
</property>
|
||||
<attribute name="toolBarArea">
|
||||
<enum>TopToolBarArea</enum>
|
||||
|
Loading…
x
Reference in New Issue
Block a user