[QGIS Commit] r14629 - in trunk/qgis/src: app ui
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sat Nov 13 19:47:38 EST 2010
Author: timlinux
Date: 2010-11-13 16:47:37 -0800 (Sat, 13 Nov 2010)
New Revision: 14629
Modified:
trunk/qgis/src/app/qgsrasterlayerproperties.cpp
trunk/qgis/src/ui/qgsrasterlayerpropertiesbase.ui
Log:
Updates for raster props dialog
Modified: trunk/qgis/src/app/qgsrasterlayerproperties.cpp
===================================================================
--- trunk/qgis/src/app/qgsrasterlayerproperties.cpp 2010-11-14 00:25:51 UTC (rev 14628)
+++ trunk/qgis/src/app/qgsrasterlayerproperties.cpp 2010-11-14 00:47:37 UTC (rev 14629)
@@ -282,7 +282,7 @@
QSettings settings;
restoreGeometry( settings.value( "/Windows/RasterLayerProperties/geometry" ).toByteArray() );
- listWidget->setCurrentRow( settings.value( "/Windows/RasterLayerProperties/row" ).toInt() );
+ tabBar->setCurrentIndex( settings.value( "/Windows/RasterLayerProperties/row" ).toInt() );
setWindowTitle( tr( "Layer Properties - %1" ).arg( lyr->name() ) );
int myHistogramTab = 6;
@@ -297,7 +297,7 @@
{
QSettings settings;
settings.setValue( "/Windows/RasterLayerProperties/geometry", saveGeometry() );
- settings.setValue( "/Windows/RasterLayerProperties/row", listWidget->currentRow() );
+ settings.setValue( "/Windows/RasterLayerProperties/row", tabBar->currentIndex() );
if ( mPixelSelectorTool )
{
delete mPixelSelectorTool;
@@ -529,26 +529,15 @@
if ( mRasterLayerIsWms )
{
- QListWidgetItem *symbologyItem = listWidget->item( 0 );
- QListWidgetItem *colormapItem = listWidget->item( 2 );
- QListWidgetItem *metadataItem = listWidget->item( 4 );
- QListWidgetItem *pyramidItem = listWidget->item( 5 );
- QListWidgetItem *histogramItem = listWidget->item( 6 );
+ delete tabPageSymbology;
+ delete tabPageColormap;
+ delete tabPagePyramids;
+ delete tabPageHistogram;
- delete symbologyItem;
- delete colormapItem;
- delete pyramidItem;
- delete histogramItem;
-
- tabBar->removeWidget( tabPageSymbology );
- tabBar->removeWidget( tabPageColormap );
- tabBar->removeWidget( tabPagePyramids );
- tabBar->removeWidget( tabPageHistogram );
-
gboxNoDataValue->setEnabled( false );
gboxCustomTransparency->setEnabled( false );
- listWidget->setCurrentItem( metadataItem );
+ tabBar->setCurrentWidget( tabPageMetadata );
}
#if 0
@@ -601,29 +590,32 @@
cboxColorMap->setCurrentIndex( cboxColorMap->findText( tr( "User Defined" ) ) );
}
}
- else
+ else if ( !mRasterLayerIsWms )
{
cboxColorMap->setCurrentIndex( cboxColorMap->findText( tr( "Grayscale" ) ) );
}
- //set whether the layer histogram should be inverted
- if ( mRasterLayer->invertHistogram() )
+ if ( !mRasterLayerIsWms )
{
- cboxInvertColorMap->setChecked( true );
- }
- else
- {
- cboxInvertColorMap->setChecked( false );
- }
+ //set whether the layer histogram should be inverted
+ if ( mRasterLayer->invertHistogram() )
+ {
+ cboxInvertColorMap->setChecked( true );
+ }
+ else
+ {
+ cboxInvertColorMap->setChecked( false );
+ }
- //set the combos to the correct values
- cboRed->setCurrentIndex( cboRed->findText( mRasterLayer->redBandName() ) );
- cboGreen->setCurrentIndex( cboGreen->findText( mRasterLayer->greenBandName() ) );
- cboBlue->setCurrentIndex( cboBlue->findText( mRasterLayer->blueBandName() ) );
- cboGray->setCurrentIndex( cboGray->findText( mRasterLayer->grayBandName() ) );
+ //set the combos to the correct values
+ cboRed->setCurrentIndex( cboRed->findText( mRasterLayer->redBandName() ) );
+ cboGreen->setCurrentIndex( cboGreen->findText( mRasterLayer->greenBandName() ) );
+ cboBlue->setCurrentIndex( cboBlue->findText( mRasterLayer->blueBandName() ) );
+ cboGray->setCurrentIndex( cboGray->findText( mRasterLayer->grayBandName() ) );
- //set the stdDevs and min max values
- mDefaultStandardDeviation = myQSettings.value( "/Raster/defaultStandardDeviation", 2.0 ).toDouble();
+ //set the stdDevs and min max values
+ mDefaultStandardDeviation = myQSettings.value( "/Raster/defaultStandardDeviation", 2.0 ).toDouble();
+ }
if ( mRasterLayerIsGdal && rbtnThreeBand->isChecked() )
{
mRGBMinimumMaximumEstimated = mRasterLayer->isRGBMinimumMaximumEstimated();
@@ -709,55 +701,58 @@
setMinimumMaximumEstimateWarning();
}
- //set color scaling algorithm
- if ( QgsContrastEnhancement::StretchToMinimumMaximum == mRasterLayer->contrastEnhancementAlgorithm() )
+ if ( !mRasterLayerIsWms )
{
- cboxContrastEnhancementAlgorithm->setCurrentIndex( cboxContrastEnhancementAlgorithm->findText( tr( "Stretch To MinMax" ) ) );
- }
- else if ( QgsContrastEnhancement::StretchAndClipToMinimumMaximum == mRasterLayer->contrastEnhancementAlgorithm() )
- {
- cboxContrastEnhancementAlgorithm->setCurrentIndex( cboxContrastEnhancementAlgorithm->findText( tr( "Stretch And Clip To MinMax" ) ) );
- }
- else if ( QgsContrastEnhancement::ClipToMinimumMaximum == mRasterLayer->contrastEnhancementAlgorithm() )
- {
- cboxContrastEnhancementAlgorithm->setCurrentIndex( cboxContrastEnhancementAlgorithm->findText( tr( "Clip To MinMax" ) ) );
- }
- else if ( QgsContrastEnhancement::UserDefinedEnhancement == mRasterLayer->contrastEnhancementAlgorithm() )
- {
- cboxContrastEnhancementAlgorithm->setCurrentIndex( cboxContrastEnhancementAlgorithm->findText( tr( "User Defined" ) ) );
- }
- else
- {
- cboxContrastEnhancementAlgorithm->setCurrentIndex( cboxContrastEnhancementAlgorithm->findText( tr( "No Stretch" ) ) );
- }
+ //set color scaling algorithm
+ if ( QgsContrastEnhancement::StretchToMinimumMaximum == mRasterLayer->contrastEnhancementAlgorithm() )
+ {
+ cboxContrastEnhancementAlgorithm->setCurrentIndex( cboxContrastEnhancementAlgorithm->findText( tr( "Stretch To MinMax" ) ) );
+ }
+ else if ( QgsContrastEnhancement::StretchAndClipToMinimumMaximum == mRasterLayer->contrastEnhancementAlgorithm() )
+ {
+ cboxContrastEnhancementAlgorithm->setCurrentIndex( cboxContrastEnhancementAlgorithm->findText( tr( "Stretch And Clip To MinMax" ) ) );
+ }
+ else if ( QgsContrastEnhancement::ClipToMinimumMaximum == mRasterLayer->contrastEnhancementAlgorithm() )
+ {
+ cboxContrastEnhancementAlgorithm->setCurrentIndex( cboxContrastEnhancementAlgorithm->findText( tr( "Clip To MinMax" ) ) );
+ }
+ else if ( QgsContrastEnhancement::UserDefinedEnhancement == mRasterLayer->contrastEnhancementAlgorithm() )
+ {
+ cboxContrastEnhancementAlgorithm->setCurrentIndex( cboxContrastEnhancementAlgorithm->findText( tr( "User Defined" ) ) );
+ }
+ else
+ {
+ cboxContrastEnhancementAlgorithm->setCurrentIndex( cboxContrastEnhancementAlgorithm->findText( tr( "No Stretch" ) ) );
+ }
- //Display the current default contrast enhancement algorithm
- mDefaultRedBand = myQSettings.value( "/Raster/defaultRedBand", 1 ).toInt();
- mDefaultGreenBand = myQSettings.value( "/Raster/defaultGreenBand", 2 ).toInt();
- mDefaultBlueBand = myQSettings.value( "/Raster/defaultBlueBand", 3 ).toInt();
- labelDefaultBandCombination->setText( tr( "Default R:%1 G:%2 B:%3" ).arg( mDefaultRedBand ) .arg( mDefaultGreenBand ) .arg( mDefaultBlueBand ) );
+ //Display the current default contrast enhancement algorithm
+ mDefaultRedBand = myQSettings.value( "/Raster/defaultRedBand", 1 ).toInt();
+ mDefaultGreenBand = myQSettings.value( "/Raster/defaultGreenBand", 2 ).toInt();
+ mDefaultBlueBand = myQSettings.value( "/Raster/defaultBlueBand", 3 ).toInt();
+ labelDefaultBandCombination->setText( tr( "Default R:%1 G:%2 B:%3" ).arg( mDefaultRedBand ) .arg( mDefaultGreenBand ) .arg( mDefaultBlueBand ) );
- mDefaultContrastEnhancementAlgorithm = myQSettings.value( "/Raster/defaultContrastEnhancementAlgorithm", "NoEnhancement" ).toString();
- if ( mDefaultContrastEnhancementAlgorithm == "NoEnhancement" )
- {
- labelDefaultContrastEnhancementAlgorithm->setText( tr( "No Stretch" ) );
+ mDefaultContrastEnhancementAlgorithm = myQSettings.value( "/Raster/defaultContrastEnhancementAlgorithm", "NoEnhancement" ).toString();
+ if ( mDefaultContrastEnhancementAlgorithm == "NoEnhancement" )
+ {
+ labelDefaultContrastEnhancementAlgorithm->setText( tr( "No Stretch" ) );
+ }
+ if ( mDefaultContrastEnhancementAlgorithm == "StretchToMinimumMaximum" )
+ {
+ labelDefaultContrastEnhancementAlgorithm->setText( tr( "Stretch To MinMax" ) );
+ }
+ else if ( mDefaultContrastEnhancementAlgorithm == "StretchAndClipToMinimumMaximum" )
+ {
+ labelDefaultContrastEnhancementAlgorithm->setText( tr( "Stretch And Clip To MinMax" ) );
+ }
+ else if ( mDefaultContrastEnhancementAlgorithm == "ClipToMinimumMaximum" )
+ {
+ labelDefaultContrastEnhancementAlgorithm->setText( tr( "Clip To MinMax" ) );
+ }
+ else
+ {
+ labelDefaultContrastEnhancementAlgorithm->setText( tr( "No Stretch" ) );
+ }
}
- if ( mDefaultContrastEnhancementAlgorithm == "StretchToMinimumMaximum" )
- {
- labelDefaultContrastEnhancementAlgorithm->setText( tr( "Stretch To MinMax" ) );
- }
- else if ( mDefaultContrastEnhancementAlgorithm == "StretchAndClipToMinimumMaximum" )
- {
- labelDefaultContrastEnhancementAlgorithm->setText( tr( "Stretch And Clip To MinMax" ) );
- }
- else if ( mDefaultContrastEnhancementAlgorithm == "ClipToMinimumMaximum" )
- {
- labelDefaultContrastEnhancementAlgorithm->setText( tr( "Clip To MinMax" ) );
- }
- else
- {
- labelDefaultContrastEnhancementAlgorithm->setText( tr( "No Stretch" ) );
- }
QgsDebugMsg( "populate transparency tab" );
/*
Modified: trunk/qgis/src/ui/qgsrasterlayerpropertiesbase.ui
===================================================================
--- trunk/qgis/src/ui/qgsrasterlayerpropertiesbase.ui 2010-11-14 00:25:51 UTC (rev 14628)
+++ trunk/qgis/src/ui/qgsrasterlayerpropertiesbase.ui 2010-11-14 00:47:37 UTC (rev 14629)
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>755</width>
- <height>605</height>
+ <height>654</height>
</rect>
</property>
<property name="windowTitle">
@@ -25,50 +25,25 @@
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
- <item row="1" column="0" colspan="2">
- <widget class="QPushButton" name="pbnLoadDefaultStyle">
- <property name="text">
- <string>Restore Default Style</string>
- </property>
- </widget>
- </item>
- <item row="1" column="2">
- <widget class="QPushButton" name="pbnSaveDefaultStyle">
- <property name="text">
- <string>Save As Default</string>
- </property>
- </widget>
- </item>
- <item row="1" column="3">
- <widget class="QPushButton" name="pbnLoadStyle">
- <property name="text">
- <string>Load Style ...</string>
- </property>
- </widget>
- </item>
- <item row="1" column="4">
- <widget class="QPushButton" name="pbnSaveStyleAs">
- <property name="text">
- <string>Save Style ...</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0" colspan="5">
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons">
- <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- <item row="0" column="1" colspan="4">
- <widget class="QStackedWidget" name="tabBar">
+ <item row="0" column="0" colspan="4">
+ <widget class="QTabWidget" name="tabBar">
<property name="currentIndex">
- <number>0</number>
+ <number>4</number>
</property>
- <widget class="QWidget" name="tabPageSymbology">
+ <property name="iconSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+ </size>
+ </property>
+ <widget class="QWidget" name="tabPageSymbology" native="true">
+ <attribute name="icon">
+ <iconset resource="../../images/images.qrc">
+ <normaloff>:/images/themes/default/propertyicons/symbology.png</normaloff>:/images/themes/default/propertyicons/symbology.png</iconset>
+ </attribute>
+ <attribute name="title">
+ <string>Style</string>
+ </attribute>
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
@@ -946,7 +921,14 @@
</item>
</layout>
</widget>
- <widget class="QWidget" name="tabPageTransparency">
+ <widget class="QWidget" name="tabBarPage2" native="true">
+ <attribute name="icon">
+ <iconset resource="../../images/images.qrc">
+ <normaloff>:/images/themes/default/propertyicons/transparency.png</normaloff>:/images/themes/default/propertyicons/transparency.png</iconset>
+ </attribute>
+ <attribute name="title">
+ <string>Transparency</string>
+ </attribute>
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
@@ -1227,7 +1209,14 @@
</item>
</layout>
</widget>
- <widget class="QWidget" name="tabPageColormap">
+ <widget class="QWidget" name="tabPageColormap" native="true">
+ <attribute name="icon">
+ <iconset resource="../../images/images.qrc">
+ <normaloff>:/images/themes/default/propertyicons/colormap.png</normaloff>:/images/themes/default/propertyicons/colormap.png</iconset>
+ </attribute>
+ <attribute name="title">
+ <string>Colormap</string>
+ </attribute>
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
@@ -1429,7 +1418,14 @@
</item>
</layout>
</widget>
- <widget class="QWidget" name="tabPageGeneral">
+ <widget class="QWidget" name="tabBarPage4" native="true">
+ <attribute name="icon">
+ <iconset resource="../../images/images.qrc">
+ <normaloff>:/images/themes/default/propertyicons/general.png</normaloff>:/images/themes/default/propertyicons/general.png</iconset>
+ </attribute>
+ <attribute name="title">
+ <string>General</string>
+ </attribute>
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
@@ -1713,7 +1709,14 @@
</item>
</layout>
</widget>
- <widget class="QWidget" name="tabPageMetadata">
+ <widget class="QWidget" name="tabPageMetadata" native="true">
+ <attribute name="icon">
+ <iconset resource="../../images/images.qrc">
+ <normaloff>:/images/themes/default/propertyicons/metadata.png</normaloff>:/images/themes/default/propertyicons/metadata.png</iconset>
+ </attribute>
+ <attribute name="title">
+ <string>Metadata</string>
+ </attribute>
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
@@ -1723,7 +1726,14 @@
</item>
</layout>
</widget>
- <widget class="QWidget" name="tabPagePyramids">
+ <widget class="QWidget" name="tabPagePyramids" native="true">
+ <attribute name="icon">
+ <iconset resource="../../images/images.qrc">
+ <normaloff>:/images/themes/default/propertyicons/pyramids.png</normaloff>:/images/themes/default/propertyicons/pyramids.png</iconset>
+ </attribute>
+ <attribute name="title">
+ <string>Pyramids</string>
+ </attribute>
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
@@ -1754,18 +1764,19 @@
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;">
<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
<tr>
<td style="border: none;">
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"></p></td></tr></table></body></html></string>
</property>
</widget>
@@ -1833,7 +1844,14 @@
</item>
</layout>
</widget>
- <widget class="QWidget" name="tabPageHistogram">
+ <widget class="QWidget" name="tabPageHistogram" native="true">
+ <attribute name="icon">
+ <iconset resource="../../images/images.qrc">
+ <normaloff>:/images/themes/default/propertyicons/histogram.png</normaloff>:/images/themes/default/propertyicons/histogram.png</iconset>
+ </attribute>
+ <attribute name="title">
+ <string>Histogram</string>
+ </attribute>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0" colspan="2">
<widget class="QwtPlot" name="mpPlot"/>
@@ -1860,175 +1878,42 @@
</widget>
</widget>
</item>
- <item row="0" column="0">
- <widget class="QListWidget" name="listWidget">
- <property name="minimumSize">
- <size>
- <width>110</width>
- <height>0</height>
- </size>
+ <item row="1" column="0">
+ <widget class="QPushButton" name="pbnLoadDefaultStyle">
+ <property name="text">
+ <string>Restore Default Style</string>
</property>
- <property name="maximumSize">
- <size>
- <width>110</width>
- <height>16777215</height>
- </size>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QPushButton" name="pbnSaveDefaultStyle">
+ <property name="text">
+ <string>Save As Default</string>
</property>
- <property name="frameShape">
- <enum>QFrame::NoFrame</enum>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QPushButton" name="pbnLoadStyle">
+ <property name="text">
+ <string>Load Style ...</string>
</property>
- <property name="frameShadow">
- <enum>QFrame::Plain</enum>
+ </widget>
+ </item>
+ <item row="1" column="3">
+ <widget class="QPushButton" name="pbnSaveStyleAs">
+ <property name="text">
+ <string>Save Style ...</string>
</property>
- <property name="horizontalScrollBarPolicy">
- <enum>Qt::ScrollBarAlwaysOff</enum>
+ </widget>
+ </item>
+ <item row="2" column="0" colspan="4">
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
</property>
- <property name="editTriggers">
- <set>QAbstractItemView::NoEditTriggers</set>
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
</property>
- <property name="showDropIndicator" stdset="0">
- <bool>false</bool>
- </property>
- <property name="iconSize">
- <size>
- <width>64</width>
- <height>64</height>
- </size>
- </property>
- <property name="textElideMode">
- <enum>Qt::ElideNone</enum>
- </property>
- <property name="flow">
- <enum>QListView::TopToBottom</enum>
- </property>
- <property name="isWrapping" stdset="0">
- <bool>false</bool>
- </property>
- <property name="resizeMode">
- <enum>QListView::Adjust</enum>
- </property>
- <property name="spacing">
- <number>9</number>
- </property>
- <property name="viewMode">
- <enum>QListView::IconMode</enum>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- <item>
- <property name="text">
- <string>Symbology</string>
- </property>
- <property name="textAlignment">
- <set>AlignHCenter|AlignVCenter|AlignCenter</set>
- </property>
- <property name="icon">
- <iconset resource="../../images/images.qrc">
- <normaloff>:/images/themes/default/propertyicons/symbology.png</normaloff>:/images/themes/default/propertyicons/symbology.png</iconset>
- </property>
- <property name="flags">
- <set>ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled</set>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Transparency</string>
- </property>
- <property name="textAlignment">
- <set>AlignHCenter|AlignVCenter|AlignCenter</set>
- </property>
- <property name="icon">
- <iconset resource="../../images/images.qrc">
- <normaloff>:/images/themes/default/propertyicons/transparency.png</normaloff>:/images/themes/default/propertyicons/transparency.png</iconset>
- </property>
- <property name="flags">
- <set>ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled</set>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Colormap</string>
- </property>
- <property name="textAlignment">
- <set>AlignHCenter|AlignVCenter|AlignCenter</set>
- </property>
- <property name="icon">
- <iconset resource="../../images/images.qrc">
- <normaloff>:/images/themes/default/propertyicons/colormap.png</normaloff>:/images/themes/default/propertyicons/colormap.png</iconset>
- </property>
- <property name="flags">
- <set>ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled</set>
- </property>
- </item>
- <item>
- <property name="text">
- <string>General</string>
- </property>
- <property name="textAlignment">
- <set>AlignHCenter|AlignVCenter|AlignCenter</set>
- </property>
- <property name="icon">
- <iconset resource="../../images/images.qrc">
- <normaloff>:/images/themes/default/propertyicons/general.png</normaloff>:/images/themes/default/propertyicons/general.png</iconset>
- </property>
- <property name="flags">
- <set>ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled</set>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Metadata</string>
- </property>
- <property name="textAlignment">
- <set>AlignHCenter|AlignVCenter|AlignCenter</set>
- </property>
- <property name="icon">
- <iconset resource="../../images/images.qrc">
- <normaloff>:/images/themes/default/propertyicons/metadata.png</normaloff>:/images/themes/default/propertyicons/metadata.png</iconset>
- </property>
- <property name="flags">
- <set>ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled</set>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Pyramids</string>
- </property>
- <property name="textAlignment">
- <set>AlignHCenter|AlignVCenter|AlignCenter</set>
- </property>
- <property name="icon">
- <iconset resource="../../images/images.qrc">
- <normaloff>:/images/themes/default/propertyicons/pyramids.png</normaloff>:/images/themes/default/propertyicons/pyramids.png</iconset>
- </property>
- <property name="flags">
- <set>ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled</set>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Histogram</string>
- </property>
- <property name="textAlignment">
- <set>AlignHCenter|AlignVCenter|AlignCenter</set>
- </property>
- <property name="icon">
- <iconset resource="../../images/images.qrc">
- <normaloff>:/images/themes/default/propertyicons/histogram.png</normaloff>:/images/themes/default/propertyicons/histogram.png</iconset>
- </property>
- <property name="flags">
- <set>ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled</set>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true"/>
- </property>
- <property name="flags">
- <set>NoItemFlags</set>
- </property>
- </item>
</widget>
</item>
</layout>
@@ -2092,21 +1977,5 @@
</hint>
</hints>
</connection>
- <connection>
- <sender>listWidget</sender>
- <signal>currentRowChanged(int)</signal>
- <receiver>tabBar</receiver>
- <slot>setCurrentIndex(int)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>59</x>
- <y>12</y>
- </hint>
- <hint type="destinationlabel">
- <x>722</x>
- <y>14</y>
- </hint>
- </hints>
- </connection>
</connections>
</ui>
More information about the QGIS-commit
mailing list