summaryrefslogtreecommitdiffstats
path: root/src/plugins/styles/modernwindows/qwindows11style_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/styles/modernwindows/qwindows11style_p.h')
-rw-r--r--src/plugins/styles/modernwindows/qwindows11style_p.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/styles/modernwindows/qwindows11style_p.h b/src/plugins/styles/modernwindows/qwindows11style_p.h
index ae185370a53..736caae956c 100644
--- a/src/plugins/styles/modernwindows/qwindows11style_p.h
+++ b/src/plugins/styles/modernwindows/qwindows11style_p.h
@@ -56,6 +56,7 @@ enum WINUI3Color {
textOnAccentPrimary, // text of default/hovered control on accent color
textOnAccentSecondary, // text of pressed control on accent color
textOnAccentDisabled, // text of disabled control on accent color
+ dividerStrokeDefault, // divider color (alpha)
};
class QWindows11Style : public QWindowsVistaStyle
@@ -84,6 +85,10 @@ public:
const QWidget *widget = nullptr) const override;
void polish(QPalette &pal) override;
void unpolish(QWidget *widget) override;
+ QPixmap standardPixmap(StandardPixmap standardPixmap, const QStyleOption *option = nullptr,
+ const QWidget *widget = nullptr) const override;
+ QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option = nullptr,
+ const QWidget *widget = nullptr) const override;
protected:
QWindows11Style(QWindows11StylePrivate &dd);
@@ -109,10 +114,15 @@ private:
bool highContrastTheme = false;
int colorSchemeIndex = 0;
+
+ mutable QVarLengthFlatMap<int, int, 8> m_fontPoint2ChevronDownMedWidth;
};
class QWindows11StylePrivate : public QWindowsVistaStylePrivate {
Q_DECLARE_PUBLIC(QWindows11Style)
+
+protected:
+ QIcon m_toolbarExtensionButton;
};
QT_END_NAMESPACE