Skip to content

Commit

Permalink
Merge pull request #435 from Oslandia/atlas
Browse files Browse the repository at this point in the history
[Atlas] Fix UI to be consistent with the use of QgsCollapsibleWidgets
  • Loading branch information
dakcarto committed Feb 28, 2013
2 parents 13b362e + 62e6b13 commit c857313
Show file tree
Hide file tree
Showing 3 changed files with 398 additions and 212 deletions.
21 changes: 18 additions & 3 deletions src/app/composer/qgsatlascompositionwidget.cpp
Expand Up @@ -85,12 +85,22 @@ void QgsAtlasCompositionWidget::on_mUseAtlasCheckBox_stateChanged( int state )
if ( state == Qt::Checked )
{
atlasMap->setEnabled( true );
mAtlasFrame->setEnabled( true );
mConfigurationGroup->setEnabled( true );
mVisibilityGroup->setEnabled( true );
mSortingGroup->setEnabled( true );
mFilteringGroup->setEnabled( true );
mScalingGroup->setEnabled( true );
mOutputGroup->setEnabled( true );
}
else
{
atlasMap->setEnabled( false );
mAtlasFrame->setEnabled( false );
mConfigurationGroup->setEnabled( false );
mVisibilityGroup->setEnabled( false );
mSortingGroup->setEnabled( false );
mFilteringGroup->setEnabled( false );
mScalingGroup->setEnabled( false );
mOutputGroup->setEnabled( false );
}
}

Expand Down Expand Up @@ -409,5 +419,10 @@ void QgsAtlasCompositionWidget::updateGuiElements()
void QgsAtlasCompositionWidget::blockAllSignals( bool b )
{
mUseAtlasCheckBox->blockSignals( b );
mAtlasFrame->blockSignals( b );
mConfigurationGroup->blockSignals( b );
mVisibilityGroup->blockSignals( b );
mSortingGroup->blockSignals( b );
mFilteringGroup->blockSignals( b );
mScalingGroup->blockSignals( b );
mOutputGroup->blockSignals( b );
}
1 change: 1 addition & 0 deletions src/app/composer/qgscomposer.cpp
Expand Up @@ -323,6 +323,7 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
tabifyDockWidget( mGeneralDock, mUndoDock );
tabifyDockWidget( mItemDock, mUndoDock );
tabifyDockWidget( mGeneralDock, mItemDock );
tabifyDockWidget( mItemDock, mAtlasDock );

mGeneralDock->raise();

Expand Down

0 comments on commit c857313

Please sign in to comment.