Skip to content

Commit

Permalink
Removed template buttons in composer
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@9410 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Sep 26, 2008
1 parent 903a0ba commit 7e84200
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
6 changes: 0 additions & 6 deletions src/app/composer/qgscomposer.cpp
Expand Up @@ -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 );
Expand Down Expand Up @@ -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" ) );
Expand Down
18 changes: 0 additions & 18 deletions src/ui/qgscomposerbase.ui
Expand Up @@ -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" />
Expand All @@ -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>
Expand Down

0 comments on commit 7e84200

Please sign in to comment.