-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a dialog for inserting new pages into a layout
- ltr-3_40
- ltr-3_34
- ltr-3_28
- ltr-3_22
- ltr-3_16
- ltr-3_10
- ltr-3_4
- final-3_40_2
- final-3_40_1
- final-3_40_0
- final-3_38_3
- final-3_38_2
- final-3_38_1
- final-3_38_0
- final-3_36_3
- final-3_36_2
- final-3_36_1
- final-3_36_0
- final-3_34_14
- final-3_34_13
- final-3_34_12
- final-3_34_11
- final-3_34_10
- final-3_34_9
- final-3_34_8
- final-3_34_7
- final-3_34_6
- final-3_34_5
- final-3_34_4
- final-3_34_3
- final-3_34_2
- final-3_34_1
- final-3_34_0
- final-3_32_3
- final-3_32_2
- final-3_32_1
- final-3_32_0
- final-3_30_3
- final-3_30_2
- final-3_30_1
- final-3_30_0
- final-3_28_15
- final-3_28_14
- final-3_28_13
- final-3_28_12
- final-3_28_11
- final-3_28_10
- final-3_28_9
- final-3_28_8
- final-3_28_7
- final-3_28_6
- final-3_28_5
- final-3_28_4
- final-3_28_3
- final-3_28_2
- final-3_28_1
- final-3_28_0
- final-3_26_3
- final-3_26_2
- final-3_26_1
- final-3_26_0
- final-3_24_3
- final-3_24_2
- final-3_24_1
- final-3_24_0
- final-3_22_16
- final-3_22_15
- final-3_22_14
- final-3_22_13
- final-3_22_12
- final-3_22_11
- final-3_22_10
- final-3_22_9
- final-3_22_8
- final-3_22_7
- final-3_22_6
- final-3_22_5
- final-3_22_4
- final-3_22_3
- final-3_22_2
- final-3_22_1
- final-3_22_0
- final-3_20_3
- final-3_20_2
- final-3_20_1
- final-3_20_0
- final-3_18_3
- final-3_18_2
- final-3_18_1
- final-3_18_0
- final-3_16_16
- final-3_16_15
- final-3_16_14
- final-3_16_13
- final-3_16_12
- final-3_16_11
- final-3_16_10
- final-3_16_9
- final-3_16_8
- final-3_16_7
- final-3_16_6
- final-3_16_5
- final-3_16_4
- final-3_16_3
- final-3_16_2
- final-3_16_1
- final-3_16_0
- final-3_14_16
- final-3_14_15
- final-3_14_1
- final-3_14_0
- final-3_12_3
- final-3_12_2
- final-3_12_1
- final-3_12_0
- final-3_10_14
- final-3_10_13
- final-3_10_12
- final-3_10_11
- final-3_10_10
- final-3_10_9
- final-3_10_8
- final-3_10_7
- final-3_10_6
- final-3_10_5
- final-3_10_4
- final-3_10_3
- final-3_10_2
- final-3_10_1
- final-3_10_0
- final-3_8_3
- final-3_8_2
- final-3_8_1
- final-3_8_0
- final-3_6_3
- final-3_6_2
- final-3_6_1
- final-3_6_0
- final-3_4_15
- final-3_4_14
- final-3_4_13
- final-3_4_12
- final-3_4_11
- final-3_4_10
- final-3_4_9
- final-3_4_8
- final-3_4_7
- final-3_4_6
- final-3_4_5
- final-3_4_4
- final-3_4_3
- final-3_4_2
- final-3_4_1
- final-3_4_0
- final-3_2_3
- final-3_2_2
- final-3_2_1
- final-3_2_0
- final-3_0_3
- final-3_0_2
- final-3_0_1
- final-3_0_0
1 parent
3648308
commit 5cfc9cc
Showing
11 changed files
with
612 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
/*************************************************************************** | ||
qgslayoutaddpagesdialog.cpp | ||
--------------------------- | ||
Date : July 2017 | ||
Copyright : (C) 2017 Nyall Dawson | ||
Email : nyall dot dawson at gmail dot com | ||
*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
***************************************************************************/ | ||
|
||
#include "qgslayoutaddpagesdialog.h" | ||
#include "qgspagesizeregistry.h" | ||
#include "qgssettings.h" | ||
#include "qgslayout.h" | ||
|
||
|
||
QgsLayoutAddPagesDialog::QgsLayoutAddPagesDialog( QWidget *parent, Qt::WindowFlags flags ) | ||
: QDialog( parent, flags ) | ||
{ | ||
setupUi( this ); | ||
|
||
mPageOrientationComboBox->addItem( tr( "Portrait" ), QgsLayoutItemPage::Portrait ); | ||
mPageOrientationComboBox->addItem( tr( "Landscape" ), QgsLayoutItemPage::Landscape ); | ||
mPageOrientationComboBox->setCurrentIndex( 1 ); | ||
|
||
Q_FOREACH ( const QgsPageSize &size, QgsApplication::pageSizeRegistry()->entries() ) | ||
{ | ||
mPageSizeComboBox->addItem( size.displayName, size.name ); | ||
} | ||
mPageSizeComboBox->addItem( tr( "Custom" ) ); | ||
mPageSizeComboBox->setCurrentIndex( mPageSizeComboBox->findData( QStringLiteral( "A4" ) ) ); | ||
pageSizeChanged( mPageSizeComboBox->currentIndex() ); | ||
orientationChanged( 1 ); | ||
|
||
mSizeUnitsComboBox->linkToWidget( mWidthSpin ); | ||
mSizeUnitsComboBox->linkToWidget( mHeightSpin ); | ||
|
||
mLockAspectRatio->setWidthSpinBox( mWidthSpin ); | ||
mLockAspectRatio->setHeightSpinBox( mHeightSpin ); | ||
|
||
connect( mPositionComboBox, static_cast<void ( QComboBox::* )( int )>( &QComboBox::currentIndexChanged ), this, &QgsLayoutAddPagesDialog::positionChanged ); | ||
mExistingPageSpinBox->setEnabled( false ); | ||
|
||
connect( mPageSizeComboBox, static_cast<void ( QComboBox::* )( int )>( &QComboBox::currentIndexChanged ), this, &QgsLayoutAddPagesDialog::pageSizeChanged ); | ||
connect( mPageOrientationComboBox, static_cast<void ( QComboBox::* )( int )>( &QComboBox::currentIndexChanged ), this, &QgsLayoutAddPagesDialog::orientationChanged ); | ||
} | ||
|
||
void QgsLayoutAddPagesDialog::setLayout( QgsLayout *layout ) | ||
{ | ||
mSizeUnitsComboBox->setConverter( &layout->context().measurementConverter() ); | ||
mExistingPageSpinBox->setMaximum( layout->pageCollection()->pageCount() ); | ||
} | ||
|
||
int QgsLayoutAddPagesDialog::numberPages() const | ||
{ | ||
return mPagesSpinBox->value(); | ||
} | ||
|
||
QgsLayoutAddPagesDialog::PagePosition QgsLayoutAddPagesDialog::pagePosition() const | ||
{ | ||
return static_cast< PagePosition >( mPositionComboBox->currentIndex() ); | ||
} | ||
|
||
int QgsLayoutAddPagesDialog::beforePage() const | ||
{ | ||
return mExistingPageSpinBox->value(); | ||
} | ||
|
||
QgsLayoutSize QgsLayoutAddPagesDialog::pageSize() const | ||
{ | ||
return QgsLayoutSize( mWidthSpin->value(), mHeightSpin->value(), mSizeUnitsComboBox->unit() ); | ||
} | ||
|
||
void QgsLayoutAddPagesDialog::positionChanged( int index ) | ||
{ | ||
mExistingPageSpinBox->setEnabled( index != 2 ); | ||
} | ||
|
||
void QgsLayoutAddPagesDialog::pageSizeChanged( int ) | ||
{ | ||
if ( mPageSizeComboBox->currentData().toString().isEmpty() ) | ||
{ | ||
//custom size | ||
mWidthSpin->setEnabled( true ); | ||
mHeightSpin->setEnabled( true ); | ||
mLockAspectRatio->setEnabled( true ); | ||
mSizeUnitsComboBox->setEnabled( true ); | ||
mPageOrientationComboBox->setEnabled( false ); | ||
} | ||
else | ||
{ | ||
mWidthSpin->setEnabled( false ); | ||
mHeightSpin->setEnabled( false ); | ||
mLockAspectRatio->setEnabled( false ); | ||
mLockAspectRatio->setLocked( false ); | ||
mSizeUnitsComboBox->setEnabled( false ); | ||
mPageOrientationComboBox->setEnabled( true ); | ||
QgsPageSize size = QgsApplication::pageSizeRegistry()->find( mPageSizeComboBox->currentData().toString() ).value( 0 ); | ||
switch ( mPageOrientationComboBox->currentData().toInt() ) | ||
{ | ||
case QgsLayoutItemPage::Landscape: | ||
mWidthSpin->setValue( size.size.height() ); | ||
mHeightSpin->setValue( size.size.width() ); | ||
break; | ||
|
||
case QgsLayoutItemPage::Portrait: | ||
mWidthSpin->setValue( size.size.width() ); | ||
mHeightSpin->setValue( size.size.height() ); | ||
break; | ||
} | ||
mSizeUnitsComboBox->setUnit( size.size.units() ); | ||
} | ||
} | ||
|
||
void QgsLayoutAddPagesDialog::orientationChanged( int ) | ||
{ | ||
if ( mPageSizeComboBox->currentData().toString().isEmpty() ) | ||
return; | ||
|
||
double width = mWidthSpin->value(); | ||
double height = mHeightSpin->value(); | ||
switch ( mPageOrientationComboBox->currentData().toInt() ) | ||
{ | ||
case QgsLayoutItemPage::Landscape: | ||
if ( width < height ) | ||
{ | ||
whileBlocking( mWidthSpin )->setValue( height ); | ||
whileBlocking( mHeightSpin )->setValue( width ); | ||
} | ||
break; | ||
|
||
case QgsLayoutItemPage::Portrait: | ||
if ( width > height ) | ||
{ | ||
whileBlocking( mWidthSpin )->setValue( height ); | ||
whileBlocking( mHeightSpin )->setValue( width ); | ||
} | ||
break; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
/*************************************************************************** | ||
qgslayoutaddpagesdialog.h | ||
------------------------- | ||
Date : July 2017 | ||
Copyright : (C) 2017 Nyall Dawson | ||
Email : nyall dot dawson at gmail dot com | ||
*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
***************************************************************************/ | ||
|
||
#ifndef QGSLAYOUTADDPAGESDIALOG_H | ||
#define QGSLAYOUTADDPAGESDIALOG_H | ||
|
||
#include "qgis.h" | ||
#include "qgis_gui.h" | ||
#include "ui_qgslayoutnewpagedialog.h" | ||
|
||
#include "qgslayoutsize.h" | ||
#include "qgslayoutpoint.h" | ||
#include "qgslayoutitem.h" | ||
|
||
/** | ||
* A dialog for configuring properties of new pages to be added to a layout | ||
*/ | ||
class QgsLayoutAddPagesDialog : public QDialog, private Ui::QgsLayoutNewPageDialog | ||
{ | ||
Q_OBJECT | ||
|
||
public: | ||
|
||
enum PagePosition | ||
{ | ||
BeforePage, | ||
AfterPage, | ||
AtEnd | ||
}; | ||
|
||
/** | ||
* Constructor for QgsLayoutAddPagesDialog. | ||
*/ | ||
QgsLayoutAddPagesDialog( QWidget *parent = nullptr, Qt::WindowFlags flags = 0 ); | ||
|
||
/** | ||
* Sets the \a layout associated with the dialog. This allows the dialog | ||
* to retrieve properties from the layout and perform tasks like automatic | ||
* conversion of units. | ||
*/ | ||
void setLayout( QgsLayout *layout ); | ||
|
||
/** | ||
* Returns the number of pages to insert. | ||
*/ | ||
int numberPages() const; | ||
|
||
/** | ||
* Returns the position at which to insert the new pages. | ||
*/ | ||
PagePosition pagePosition() const; | ||
|
||
/** | ||
* Returns the page number for which new pages should be inserted before/after. | ||
*/ | ||
int beforePage() const; | ||
|
||
/** | ||
* Returns the desired page size. | ||
*/ | ||
QgsLayoutSize pageSize() const; | ||
|
||
private slots: | ||
|
||
void positionChanged( int index ); | ||
void pageSizeChanged( int index ); | ||
void orientationChanged( int index ); | ||
|
||
}; | ||
|
||
#endif // QGSLAYOUTADDPAGESDIALOG_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,293 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>QgsLayoutNewPageDialog</class> | ||
<widget class="QDialog" name="QgsLayoutNewPageDialog"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>415</width> | ||
<height>321</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>New Item Properties</string> | ||
</property> | ||
<layout class="QGridLayout" name="gridLayout_2"> | ||
<item row="3" column="0" colspan="4"> | ||
<widget class="QGroupBox" name="groupBox"> | ||
<property name="title"> | ||
<string>Page size</string> | ||
</property> | ||
<layout class="QGridLayout" name="gridLayout" columnstretch="0,1"> | ||
<item row="0" column="0"> | ||
<widget class="QLabel" name="label_3"> | ||
<property name="text"> | ||
<string>Size</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="2" column="0"> | ||
<widget class="QLabel" name="mWidthLabel"> | ||
<property name="text"> | ||
<string>Width</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="1"> | ||
<widget class="QComboBox" name="mPageOrientationComboBox"/> | ||
</item> | ||
<item row="1" column="0"> | ||
<widget class="QLabel" name="label_4"> | ||
<property name="text"> | ||
<string>Orientation</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="1"> | ||
<widget class="QComboBox" name="mPageSizeComboBox"/> | ||
</item> | ||
<item row="3" column="0"> | ||
<widget class="QLabel" name="mHeightLabel"> | ||
<property name="text"> | ||
<string>Height</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="2" column="1" rowspan="2"> | ||
<layout class="QGridLayout" name="gridLayout_3" columnstretch="1,0,0,0,1"> | ||
<item row="0" column="4" rowspan="2"> | ||
<widget class="QgsLayoutUnitsComboBox" name="mSizeUnitsComboBox"/> | ||
</item> | ||
<item row="0" column="3" rowspan="2"> | ||
<layout class="QHBoxLayout" name="_2"> | ||
<property name="leftMargin"> | ||
<number>2</number> | ||
</property> | ||
<property name="topMargin"> | ||
<number>2</number> | ||
</property> | ||
<property name="rightMargin"> | ||
<number>0</number> | ||
</property> | ||
<property name="bottomMargin"> | ||
<number>2</number> | ||
</property> | ||
<item> | ||
<widget class="QgsRatioLockButton" name="mLockAspectRatio"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Fixed" vsizetype="Expanding"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="toolTip"> | ||
<string>Lock aspect ratio (including while drawing extent onto canvas)</string> | ||
</property> | ||
<property name="leftMargin" stdset="0"> | ||
<number>13</number> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
<item row="0" column="0" colspan="3"> | ||
<widget class="QgsDoubleSpinBox" name="mWidthSpin"> | ||
<property name="suffix"> | ||
<string/> | ||
</property> | ||
<property name="decimals"> | ||
<number>3</number> | ||
</property> | ||
<property name="maximum"> | ||
<double>9999999.000000000000000</double> | ||
</property> | ||
<property name="value"> | ||
<double>100.000000000000000</double> | ||
</property> | ||
<property name="showClearButton" stdset="0"> | ||
<bool>false</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="0" colspan="3"> | ||
<widget class="QgsDoubleSpinBox" name="mHeightSpin"> | ||
<property name="suffix"> | ||
<string/> | ||
</property> | ||
<property name="decimals"> | ||
<number>3</number> | ||
</property> | ||
<property name="maximum"> | ||
<double>9999999.000000000000000</double> | ||
</property> | ||
<property name="value"> | ||
<double>100.000000000000000</double> | ||
</property> | ||
<property name="showClearButton" stdset="0"> | ||
<bool>false</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item row="1" column="0" colspan="4"> | ||
<layout class="QGridLayout" name="gridLayout_4" columnstretch="0,1,0,1"> | ||
<item row="0" column="1"> | ||
<widget class="QSpinBox" name="mPagesSpinBox"> | ||
<property name="minimum"> | ||
<number>1</number> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="2"> | ||
<widget class="QLabel" name="label_2"> | ||
<property name="text"> | ||
<string>page(s)</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="3"> | ||
<spacer name="horizontalSpacer"> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> | ||
<size> | ||
<width>40</width> | ||
<height>20</height> | ||
</size> | ||
</property> | ||
</spacer> | ||
</item> | ||
<item row="0" column="0"> | ||
<widget class="QLabel" name="label"> | ||
<property name="text"> | ||
<string>Insert</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="0" colspan="2"> | ||
<widget class="QComboBox" name="mPositionComboBox"> | ||
<property name="currentIndex"> | ||
<number>2</number> | ||
</property> | ||
<item> | ||
<property name="text"> | ||
<string>Before Page</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>After Page</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>At End</string> | ||
</property> | ||
</item> | ||
</widget> | ||
</item> | ||
<item row="1" column="2"> | ||
<widget class="QSpinBox" name="mExistingPageSpinBox"> | ||
<property name="minimum"> | ||
<number>1</number> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
<item row="5" column="0" colspan="4"> | ||
<widget class="QDialogButtonBox" name="buttonBox"> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
<property name="standardButtons"> | ||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="4" column="2"> | ||
<spacer name="verticalSpacer"> | ||
<property name="orientation"> | ||
<enum>Qt::Vertical</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> | ||
<size> | ||
<width>20</width> | ||
<height>40</height> | ||
</size> | ||
</property> | ||
</spacer> | ||
</item> | ||
</layout> | ||
</widget> | ||
<customwidgets> | ||
<customwidget> | ||
<class>QgsRatioLockButton</class> | ||
<extends>QToolButton</extends> | ||
<header>qgsratiolockbutton.h</header> | ||
<container>1</container> | ||
</customwidget> | ||
<customwidget> | ||
<class>QgsDoubleSpinBox</class> | ||
<extends>QDoubleSpinBox</extends> | ||
<header>qgsdoublespinbox.h</header> | ||
</customwidget> | ||
<customwidget> | ||
<class>QgsLayoutUnitsComboBox</class> | ||
<extends>QComboBox</extends> | ||
<header>qgslayoutunitscombobox.h</header> | ||
</customwidget> | ||
</customwidgets> | ||
<tabstops> | ||
<tabstop>mPagesSpinBox</tabstop> | ||
<tabstop>mPositionComboBox</tabstop> | ||
<tabstop>mExistingPageSpinBox</tabstop> | ||
<tabstop>mPageSizeComboBox</tabstop> | ||
<tabstop>mPageOrientationComboBox</tabstop> | ||
<tabstop>mWidthSpin</tabstop> | ||
<tabstop>mHeightSpin</tabstop> | ||
<tabstop>mLockAspectRatio</tabstop> | ||
<tabstop>mSizeUnitsComboBox</tabstop> | ||
</tabstops> | ||
<resources/> | ||
<connections> | ||
<connection> | ||
<sender>buttonBox</sender> | ||
<signal>accepted()</signal> | ||
<receiver>QgsLayoutNewPageDialog</receiver> | ||
<slot>accept()</slot> | ||
<hints> | ||
<hint type="sourcelabel"> | ||
<x>248</x> | ||
<y>254</y> | ||
</hint> | ||
<hint type="destinationlabel"> | ||
<x>157</x> | ||
<y>274</y> | ||
</hint> | ||
</hints> | ||
</connection> | ||
<connection> | ||
<sender>buttonBox</sender> | ||
<signal>rejected()</signal> | ||
<receiver>QgsLayoutNewPageDialog</receiver> | ||
<slot>reject()</slot> | ||
<hints> | ||
<hint type="sourcelabel"> | ||
<x>316</x> | ||
<y>260</y> | ||
</hint> | ||
<hint type="destinationlabel"> | ||
<x>286</x> | ||
<y>274</y> | ||
</hint> | ||
</hints> | ||
</connection> | ||
</connections> | ||
</ui> |