Skip to content

Commit

Permalink
Tidy up for the options window to use top tabs as per gui discussion …
Browse files Browse the repository at this point in the history
…at Wroclaw Hackfest

git-svn-id: http://svn.osgeo.org/qgis/trunk@14614 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 13, 2010
1 parent b75f392 commit ad55d77
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 243 deletions.
4 changes: 2 additions & 2 deletions src/app/qgsoptions.cpp
Expand Up @@ -389,15 +389,15 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) :
} //default is central point

restoreGeometry( settings.value( "/Windows/Options/geometry" ).toByteArray() );
listWidget->setCurrentRow( settings.value( "/Windows/Options/row" ).toInt() );
tabWidget->setCurrentIndex( settings.value( "/Windows/Options/row" ).toInt() );
}

//! Destructor
QgsOptions::~QgsOptions()
{
QSettings settings;
settings.setValue( "/Windows/Options/geometry", saveGeometry() );
settings.setValue( "/Windows/Options/row", listWidget->currentRow() );
settings.setValue( "/Windows/Options/row", tabWidget->currentIndex() );
}

void QgsOptions::on_pbnSelectionColor_clicked()
Expand Down

0 comments on commit ad55d77

Please sign in to comment.