Export titleHeight for caption element
This commit is contained in:
parent
9b5f5a49cc
commit
90c882161c
3 changed files with 4 additions and 0 deletions
|
@ -467,6 +467,7 @@ THEME_CONFIG(titleEdgeRightMaximized)
|
|||
THEME_CONFIG(titleEdgeTopMaximized)
|
||||
THEME_CONFIG(titleBorderLeft)
|
||||
THEME_CONFIG(titleBorderRight)
|
||||
THEME_CONFIG(titleHeight)
|
||||
|
||||
#undef THEME_CONFIG
|
||||
|
||||
|
|
|
@ -101,6 +101,7 @@ class /*LIBAURORAE_EXPORT*/ AuroraeTheme : public QObject
|
|||
Q_PROPERTY(int titleEdgeTopMaximized READ titleEdgeTopMaximized NOTIFY themeChanged)
|
||||
Q_PROPERTY(int titleBorderRight READ titleBorderRight NOTIFY themeChanged)
|
||||
Q_PROPERTY(int titleBorderLeft READ titleBorderLeft NOTIFY themeChanged)
|
||||
Q_PROPERTY(int titleHeight READ titleHeight NOTIFY themeChanged)
|
||||
Q_PROPERTY(QString decorationPath READ decorationPath NOTIFY themeChanged)
|
||||
Q_PROPERTY(QString minimizeButtonPath READ minimizeButtonPath NOTIFY themeChanged)
|
||||
Q_PROPERTY(QString maximizeButtonPath READ maximizeButtonPath NOTIFY themeChanged)
|
||||
|
@ -158,6 +159,7 @@ public:
|
|||
int titleEdgeTopMaximized() const;
|
||||
int titleBorderLeft() const;
|
||||
int titleBorderRight() const;
|
||||
int titleHeight() const;
|
||||
QString decorationPath() const;
|
||||
QString minimizeButtonPath() const;
|
||||
QString maximizeButtonPath() const;
|
||||
|
|
|
@ -145,6 +145,7 @@ Decoration {
|
|||
horizontalAlignment: auroraeTheme.horizontalAlignment
|
||||
verticalAlignment: auroraeTheme.verticalAlignment
|
||||
elide: Text.ElideRight
|
||||
height: auroraeTheme.titleHeight
|
||||
anchors {
|
||||
left: leftButtonGroup.right
|
||||
right: rightButtonGroup.left
|
||||
|
|
Loading…
Reference in a new issue