Skip to content
Permalink
Browse files

Use QToolBox instead of QTabWidget in diagram properties

  • Loading branch information
m-kuhn committed Sep 3, 2012
1 parent 8f891c5 commit af29da6f70d4ab7b556e822c482a23567c1ab295
Showing with 463 additions and 499 deletions.
  1. +2 −2 src/app/qgsdiagramproperties.cpp
  2. +449 −449 src/core/qgsdiagramrendererv2.cpp
  3. +12 −48 src/ui/qgsdiagrampropertiesbase.ui
@@ -324,11 +324,11 @@ void QgsDiagramProperties::on_mDiagramTypeComboBox_currentIndexChanged( int inde

if ( DIAGRAM_NAME_HISTOGRAM == diagramType || DIAGRAM_NAME_TEXT == diagramType )
{
mDiagramPropertiesTabWidget->setTabEnabled( 3, true );
mDiagramPropertiesToolBox->setItemEnabled( 3, true );
}
else
{
mDiagramPropertiesTabWidget->setTabEnabled( 3, false );
mDiagramPropertiesToolBox->setItemEnabled( 3, false );
}

if ( DIAGRAM_NAME_TEXT == diagramType || DIAGRAM_NAME_PIE == diagramType )

0 comments on commit af29da6

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