mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Removed template buttons in composer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9410 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
d74595ccc7
commit
ac3b206b58
@ -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>&Open Template...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="mActionSaveTemplateAs" >
|
||||
<property name="icon" >
|
||||
<iconset>../themes/default/mActionFileSaveAs.png</iconset>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Save Template &As...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="mActionPrint" >
|
||||
<property name="icon" >
|
||||
<iconset>../themes/default/mActionFilePrint.png</iconset>
|
||||
|
Loading…
x
Reference in New Issue
Block a user