Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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/qgis@12106 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 14, 2009
1 parent db629cc commit 98d62fc
Show file tree
Hide file tree
Showing 2 changed files with 451 additions and 400 deletions.
7 changes: 4 additions & 3 deletions src/app/qgsvectorlayerproperties.cpp
Expand Up @@ -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()
Expand Down

0 comments on commit 98d62fc

Please sign in to comment.