Skip to content
Permalink
Browse files

Add layout properties menu entry

  • Loading branch information
nyalldawson committed Jul 27, 2017
1 parent 89f0ecd commit 6d93411660948723277e451ee1e48057e3b2f1a4
Showing with 11 additions and 0 deletions.
  1. +4 −0 src/app/layout/qgslayoutdesignerdialog.cpp
  2. +7 −0 src/ui/layout/qgslayoutdesignerbase.ui
@@ -263,6 +263,10 @@ QgsLayoutDesignerDialog::QgsLayoutDesignerDialog( QWidget *parent, Qt::WindowFla
mGeneralPropertiesStack = new QgsPanelWidgetStack();
mGeneralDock->setWidget( mGeneralPropertiesStack );
mPanelsMenu->addAction( mGeneralDock->toggleViewAction() );
connect( mActionLayoutProperties, &QAction::triggered, this, [ = ]
{
mGeneralDock->setUserVisible( true );
} );

mItemDock = new QgsDockWidget( tr( "Item properties" ), this );
mItemDock->setObjectName( QStringLiteral( "ItemDock" ) );
@@ -90,7 +90,9 @@
<property name="title">
<string>&amp;Layout</string>
</property>
<addaction name="mActionLayoutProperties"/>
<addaction name="mActionAddPages"/>
<addaction name="separator"/>
<addaction name="mActionClose"/>
</widget>
<widget class="QMenu" name="mItemMenu">
@@ -388,6 +390,11 @@
<string>Clear guides</string>
</property>
</action>
<action name="mActionLayoutProperties">
<property name="text">
<string>Layout Properties…</string>
</property>
</action>
</widget>
<resources>
<include location="../../../images/images.qrc"/>

0 comments on commit 6d93411

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