(c4a50e7fbb38cd3278ec0c21adb1a1df39b4a85c)
#include "qwindows11style_p.h"
#include <qstylehints.h>
#include <private/qstyleanimation_p.h>
#include <private/qstyle_p.h>
#include <private/qstylehelper_p.h>
#include <private/qapplication_p.h>
#include <private/qcombobox_p.h>
#include <qstyleoption.h>
#include <qpainter.h>
#include <qpainterstateguard.h>
#include <QGraphicsDropShadowEffect>
#include <QLatin1StringView>
#include <QtCore/qoperatingsystemversion.h>
#include <QtWidgets/qcombobox.h>
#include <QtWidgets/qgraphicsview.h>
#include <QtWidgets/qlistview.h>
#include <QtWidgets/qmenu.h>
#include <QtWidgets/qplaintextedit.h>
#include <QtWidgets/qtextedit.h>
#include <QtWidgets/qtreeview.h>
#include "qdrawutil.h"
#include <chrono>
#include <dwmapi.h>
Go to the source code of this file.
|
| enum class | StyleOptionHelper::ControlState {
StyleOptionHelper::Normal
, StyleOptionHelper::Hover
, StyleOptionHelper::Pressed
, StyleOptionHelper::Disabled
,
StyleOptionHelper::Normal
, StyleOptionHelper::Hover
, StyleOptionHelper::Pressed
, StyleOptionHelper::Disabled
} |
| enum class | StyleOptionHelper::ControlState {
StyleOptionHelper::Normal
, StyleOptionHelper::Hover
, StyleOptionHelper::Pressed
, StyleOptionHelper::Disabled
,
StyleOptionHelper::Normal
, StyleOptionHelper::Hover
, StyleOptionHelper::Pressed
, StyleOptionHelper::Disabled
} |
|
| bool | StyleOptionHelper::isChecked (const QStyleOption *option) |
| bool | StyleOptionHelper::isDisabled (const QStyleOption *option) |
| bool | StyleOptionHelper::isPressed (const QStyleOption *option) |
| bool | StyleOptionHelper::isHover (const QStyleOption *option) |
| bool | StyleOptionHelper::isAutoRaise (const QStyleOption *option) |
| bool | StyleOptionHelper::hasFocus (const QStyleOption *option) |
| ControlState | StyleOptionHelper::calcControlState (const QStyleOption *option) |
| template<typename R, typename P, typename B> |
| static void | drawRoundedRect (QPainter *p, R &&rect, P &&pen, B &&brush, int radius=secondLevelRoundingRadius) |
| static constexpr int | percentToAlpha (double percent) |
| static constexpr QColor | shellCaptionCloseFillColorPrimary (0xC4, 0x2B, 0x1C, 0xFF) |
| static constexpr QColor | shellCaptionCloseTextFillColorPrimary (0xFF, 0xFF, 0xFF, 0xFF) |
| static constexpr QColor | shellCaptionCloseFillColorSecondary (0xC4, 0x2B, 0x1C, 0xE6) |
| static constexpr QColor | shellCaptionCloseTextFillColorSecondary (0xFF, 0xFF, 0xFF, 0xB3) |
| static qreal | radioButtonInnerRadius (QStyle::State state) |
| static qreal | sliderInnerRadius (QStyle::State state, bool insideHandle) |
| static void | populateLightSystemBasePalette (QPalette &result) |
| static void | populateDarkSystemBasePalette (QPalette &result) |
◆ SET_IF_UNRESOLVED
| #define SET_IF_UNRESOLVED |
( |
| GROUP, |
|
|
| ROLE, |
|
|
| VALUE ) |
◆ drawRoundedRect()
template<typename
R, typename
P, typename
B>
◆ percentToAlpha()
| constexpr int percentToAlpha |
( |
double | percent | ) |
|
|
staticconstexpr |
◆ populateDarkSystemBasePalette()
◆ populateLightSystemBasePalette()
◆ radioButtonInnerRadius()
| qreal radioButtonInnerRadius |
( |
QStyle::State | state | ) |
|
|
static |
◆ shellCaptionCloseFillColorPrimary()
| constexpr QColor shellCaptionCloseFillColorPrimary |
( |
0xC4 | , |
|
|
0x2B | , |
|
|
0x1C | , |
|
|
0xFF | ) |
|
staticconstexpr |
◆ shellCaptionCloseFillColorSecondary()
| constexpr QColor shellCaptionCloseFillColorSecondary |
( |
0xC4 | , |
|
|
0x2B | , |
|
|
0x1C | , |
|
|
0xE6 | ) |
|
staticconstexpr |
◆ shellCaptionCloseTextFillColorPrimary()
| constexpr QColor shellCaptionCloseTextFillColorPrimary |
( |
0xFF | , |
|
|
0xFF | , |
|
|
0xFF | , |
|
|
0xFF | ) |
|
staticconstexpr |
◆ shellCaptionCloseTextFillColorSecondary()
| constexpr QColor shellCaptionCloseTextFillColorSecondary |
( |
0xFF | , |
|
|
0xFF | , |
|
|
0xFF | , |
|
|
0xB3 | ) |
|
staticconstexpr |
◆ sliderInnerRadius()
| qreal sliderInnerRadius |
( |
QStyle::State | state, |
|
|
bool | insideHandle ) |
|
static |
◆ contentHMargin
| constexpr int contentHMargin = 2 * 3 |
|
staticconstexpr |
◆ contentItemHMargin
| constexpr int contentItemHMargin = 4 |
|
staticconstexpr |
◆ secondLevelRoundingRadius
| constexpr int secondLevelRoundingRadius = 4 |
|
staticconstexpr |
◆ topLevelRoundingRadius
| constexpr int topLevelRoundingRadius = 8 |
|
staticconstexpr |
◆ WINUI3Colors
Initial value:{
}
static constexpr std::array< QColor, 37 > WINUI3ColorsDark
static constexpr std::array< QColor, 37 > WINUI3ColorsLight
Definition at line 194 of file qwindows11style.cpp.
◆ WINUI3ColorsDark
◆ WINUI3ColorsLight