Skip to content
Permalink
Browse files

Remove button bar from composer

  • Loading branch information
nyalldawson committed Oct 27, 2013
1 parent 7508fcc commit 79ce937be90f05399d228c518cb38878f4043cb1
Showing with 2 additions and 12 deletions.
  1. +0 −1 src/app/composer/qgscomposer.cpp
  2. +0 −2 src/app/composer/qgscomposer.h
  3. +2 −9 src/ui/qgscomposerbase.ui
@@ -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() );
@@ -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*/
@@ -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">
@@ -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">
@@ -697,7 +690,7 @@
<property name="text">
<string>Pan Composer</string>
</property>
</action>
</action>
</widget>
<resources>
<include location="../../images/images.qrc"/>

0 comments on commit 79ce937

Please sign in to comment.
You can’t perform that action at this time.