Skip to content
Permalink
Browse files

removed attribute table behaviour setting from options (not necessary…

… with new attribute table :-)

git-svn-id: http://svn.osgeo.org/qgis/trunk@10375 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Mar 21, 2009
1 parent 9cdba6e commit 452d04e2ab97696368fe765bdbde26e7d5de15ee
Showing with 0 additions and 37 deletions.
  1. +0 −8 src/app/qgsoptions.cpp
  2. +0 −29 src/ui/qgsoptionsbase.ui
@@ -90,13 +90,6 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) :
// set the current theme
cmbTheme->setItemText( cmbTheme->currentIndex(), settings.value( "/Themes" ).toString() );

// set the attribute table behaviour
cmbAttrTableBehaviour->clear();
cmbAttrTableBehaviour->addItem( tr( "Show all features" ) );
cmbAttrTableBehaviour->addItem( tr( "Show selected features" ) );
cmbAttrTableBehaviour->addItem( tr( "Show features in current canvas" ) );
cmbAttrTableBehaviour->setCurrentIndex( settings.value( "/qgis/attributeTableBehaviour", 0 ).toInt() );

// set the display update threshold
spinBoxUpdateThreshold->setValue( settings.value( "/Map/updateThreshold" ).toInt() );
//set the default projection behaviour radio buttongs
@@ -310,7 +303,6 @@ void QgsOptions::saveOptions()
settings.setValue( "/qgis/showLegendClassifiers", cbxLegendClassifiers->isChecked() );
settings.setValue( "/qgis/hideSplash", cbxHideSplash->isChecked() );
settings.setValue( "/qgis/dockAttributeTable", cbxAttributeTableDocked->isChecked() );
settings.setValue( "/qgis/attributeTableBehaviour", cmbAttrTableBehaviour->currentIndex() );
settings.setValue( "/qgis/new_layers_visible", chkAddedVisibility->isChecked() );
settings.setValue( "/qgis/enable_anti_aliasing", chkAntiAliasing->isChecked() );
settings.setValue( "/qgis/use_qimage_to_render", !( chkUseQPixmap->isChecked() ) );
@@ -220,34 +220,6 @@
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QLabel" name="textLabel1_6" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Attribute table behaviour</string>
</property>
<property name="buddy" >
<cstring>cmbAttrTableBehaviour</cstring>
</property>
</widget>
</item>
<item row="6" column="1" >
<widget class="QComboBox" name="cmbAttrTableBehaviour" >
<property name="duplicatesEnabled" >
<bool>false</bool>
</property>
<item>
<property name="text" >
<string/>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>
@@ -1164,7 +1136,6 @@
<tabstop>spinBoxUpdateThreshold</tabstop>
<tabstop>chkAntiAliasing</tabstop>
<tabstop>chkUseQPixmap</tabstop>
<tabstop>cbxSplitterRedraw</tabstop>
<tabstop>spinBoxIdentifyValue</tabstop>
<tabstop>cmbEllipsoid</tabstop>
<tabstop>pbnMeasureColour</tabstop>

0 comments on commit 452d04e

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