Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove button bar from composer
  • Loading branch information
nyalldawson committed Oct 27, 2013
1 parent 7508fcc commit 79ce937
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/app/composer/qgscomposer.cpp
Expand Up @@ -98,7 +98,6 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
setupUi( this );
setWindowTitle( mTitle );
setupTheme();
connect( mButtonBox, SIGNAL( rejected() ), this, SLOT( close() ) );

QSettings settings;
setStyleSheet( mQgis->styleSheet() );
Expand Down
2 changes: 0 additions & 2 deletions src/app/composer/qgscomposer.h
Expand Up @@ -338,8 +338,6 @@ class QgsComposer: public QMainWindow, private Ui::QgsComposerBase
//! Raise, unminimize and activate this window
void activate();

void on_mButtonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }

private:

/**Establishes the signal slot connection for the class*/
Expand Down
11 changes: 2 additions & 9 deletions src/ui/qgscomposerbase.ui
Expand Up @@ -37,13 +37,6 @@
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QDialogButtonBox" name="mButtonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Close|QDialogButtonBox::Help</set>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QToolBar" name="mComposerToolbar">
Expand Down Expand Up @@ -688,7 +681,7 @@
<property name="shortcut">
<string>Ctrl+Alt+]</string>
</property>
</action>
</action>
<action name="mActionPan">
<property name="icon">
<iconset resource="../../images/images.qrc">
Expand All @@ -697,7 +690,7 @@
<property name="text">
<string>Pan Composer</string>
</property>
</action>
</action>
</widget>
<resources>
<include location="../../images/images.qrc"/>
Expand Down

0 comments on commit 79ce937

Please sign in to comment.