Added mm to unit combo box (ticket 1293)

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9264 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
mhugent 2008-09-05 14:59:46 +00:00
parent 5bf607d7f1
commit 8f70b697fd

View File

@ -24,6 +24,10 @@ QgsCompositionWidget::QgsCompositionWidget( QWidget* parent, QgsComposition* c )
setupUi( this );
createPaperEntries();
//unit (only mm at the moment, therefore disabled)
mPaperUnitsComboBox->addItem("mm");
mPaperUnitsComboBox->setEnabled(false);
//orientation
mPaperOrientationComboBox->blockSignals( true );
mPaperOrientationComboBox->insertItem( 0, tr( "Landscape" ) );