Skip to content

Commit 79ce937

Browse files
committed
Remove button bar from composer
1 parent 7508fcc commit 79ce937

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

src/app/composer/qgscomposer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
9898
setupUi( this );
9999
setWindowTitle( mTitle );
100100
setupTheme();
101-
connect( mButtonBox, SIGNAL( rejected() ), this, SLOT( close() ) );
102101

103102
QSettings settings;
104103
setStyleSheet( mQgis->styleSheet() );

src/app/composer/qgscomposer.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,6 @@ class QgsComposer: public QMainWindow, private Ui::QgsComposerBase
338338
//! Raise, unminimize and activate this window
339339
void activate();
340340

341-
void on_mButtonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }
342-
343341
private:
344342

345343
/**Establishes the signal slot connection for the class*/

src/ui/qgscomposerbase.ui

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,6 @@
3737
</property>
3838
</widget>
3939
</item>
40-
<item row="1" column="0">
41-
<widget class="QDialogButtonBox" name="mButtonBox">
42-
<property name="standardButtons">
43-
<set>QDialogButtonBox::Close|QDialogButtonBox::Help</set>
44-
</property>
45-
</widget>
46-
</item>
4740
</layout>
4841
</widget>
4942
<widget class="QToolBar" name="mComposerToolbar">
@@ -688,7 +681,7 @@
688681
<property name="shortcut">
689682
<string>Ctrl+Alt+]</string>
690683
</property>
691-
</action>
684+
</action>
692685
<action name="mActionPan">
693686
<property name="icon">
694687
<iconset resource="../../images/images.qrc">
@@ -697,7 +690,7 @@
697690
<property name="text">
698691
<string>Pan Composer</string>
699692
</property>
700-
</action>
693+
</action>
701694
</widget>
702695
<resources>
703696
<include location="../../images/images.qrc"/>

0 commit comments

Comments
 (0)