Skip to content
Permalink
Browse files
Removed template buttons in composer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9410 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Sep 26, 2008
1 parent d74595c commit ac3b206b5831c59385a998381458e2af241a2e02
Showing with 0 additions and 24 deletions.
  1. +0 −6 src/app/composer/qgscomposer.cpp
  2. +0 −18 src/ui/qgscomposerbase.ui
@@ -118,10 +118,6 @@ QgsComposer::QgsComposer( QgisApp *qgis ): QMainWindow()

setWindowTitle( tr( "QGIS - print composer" ) );

// Template save and load is not yet implemented, so disable those actions
mActionOpenTemplate->setEnabled( false );
mActionSaveTemplateAs->setEnabled( false );

mActionAddNewMap->setCheckable( true );
mActionAddNewLabel->setCheckable( true );
mActionAddNewLegend->setCheckable( true );
@@ -251,8 +247,6 @@ void QgsComposer::setupTheme()
{
//now set all the icons - getThemeIcon will fall back to default theme if its
//missing from active theme
mActionOpenTemplate->setIcon( QgisApp::getThemeIcon( "/mActionFileOpen.png" ) );
mActionSaveTemplateAs->setIcon( QgisApp::getThemeIcon( "/mActionFileSaveAs.png" ) );
mActionExportAsImage->setIcon( QgisApp::getThemeIcon( "/mActionExportMapServer.png" ) );
mActionExportAsSVG->setIcon( QgisApp::getThemeIcon( "/mActionSaveAsSVG.png" ) );
mActionPrint->setIcon( QgisApp::getThemeIcon( "/mActionFilePrint.png" ) );
@@ -229,8 +229,6 @@
<attribute name="toolBarBreak" >
<bool>false</bool>
</attribute>
<addaction name="mActionOpenTemplate" />
<addaction name="mActionSaveTemplateAs" />
<addaction name="mActionExportAsImage" />
<addaction name="mActionExportAsSVG" />
<addaction name="mActionPrint" />
@@ -247,22 +245,6 @@
<addaction name="mActionAddNewScalebar" />
<addaction name="mActionSelectMoveItem" />
</widget>
<action name="mActionOpenTemplate" >
<property name="icon" >
<iconset>../themes/default/mActionFileOpen.png</iconset>
</property>
<property name="text" >
<string>&amp;Open Template...</string>
</property>
</action>
<action name="mActionSaveTemplateAs" >
<property name="icon" >
<iconset>../themes/default/mActionFileSaveAs.png</iconset>
</property>
<property name="text" >
<string>Save Template &amp;As...</string>
</property>
</action>
<action name="mActionPrint" >
<property name="icon" >
<iconset>../themes/default/mActionFilePrint.png</iconset>

0 comments on commit ac3b206

Please sign in to comment.