diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-10-24 16:03:39 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-10-26 11:35:57 +0000 |
commit | e09a8591990e5281929ca2a7bb180bb3a35556ba (patch) | |
tree | 1b0a88ff0a827266e62f312520553e42c12d288f /src/quicktemplates2/qquickdialog_p.h | |
parent | 41ec11a8157b9f1cbbc75ab8f68a2e08d24280d9 (diff) |
Popup: add spacing support for Dialogv5.8.0-beta1
This helps to get the dialog layout right (a separate follow-up
commit), because we don't need to mess with the paddings of the
header, content, and footer, based on their existence and visibility,
but we can also adjust the spacing which gets automatically added
between the building blocks when they exist and are visible.
Change-Id: Ie8b587eeb9d0fb4a8f42baf957879d40bbd3385c
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickdialog_p.h')
-rw-r--r-- | src/quicktemplates2/qquickdialog_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickdialog_p.h b/src/quicktemplates2/qquickdialog_p.h index ff8a1e79..ea03dddf 100644 --- a/src/quicktemplates2/qquickdialog_p.h +++ b/src/quicktemplates2/qquickdialog_p.h @@ -95,6 +95,7 @@ Q_SIGNALS: protected: void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry) override; void paddingChange(const QMarginsF &newPadding, const QMarginsF &oldPadding) override; + void spacingChange(qreal newSpacing, qreal oldSpacing) override; private: Q_DISABLE_COPY(QQuickDialog) |