Skip to content
Permalink
Browse files
First implementation of property lists for vector props dialog. Still…
… needs icon for the property list and vertical resizing is currently not working as it should (on my todo list to fix).

git-svn-id: http://svn.osgeo.org/qgis/trunk@12106 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 14, 2009
1 parent d5a4eca commit cee4c0f9e5c45ffaaa5c64199e558823695d876a
Showing with 451 additions and 400 deletions.
  1. +4 −3 src/app/qgsvectorlayerproperties.cpp
  2. +447 −397 src/ui/qgsvectorlayerpropertiesbase.ui
@@ -137,12 +137,13 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(
for ( ; it != overlayPluginList.constEnd(); ++it )
{
QgsApplyDialog* d = ( *it )->dialog( lyr );
position = tabWidget->addTab( d, ( *it )->name() );
tabWidget->setCurrentIndex( position ); //ugly, but otherwise the properties dialog is a mess
position = stackedWidget->insertWidget( stackedWidget->count(), qobject_cast<QDialog*>( d ) );
stackedWidget->setCurrentIndex( position ); //ugly, but otherwise the properties dialog is a mess
mOverlayDialogs.push_back( d );
listWidget->insertItem( stackedWidget->count(), ( *it )->name() );
}

tabWidget->setCurrentIndex( 0 );
stackedWidget->setCurrentIndex( 0 );
} // QgsVectorLayerProperties ctor

void QgsVectorLayerProperties::loadRows()
Loading

0 comments on commit cee4c0f

Please sign in to comment.