(a20ab5a3c53b7b9e127b2bd65956631b590012f6)
#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 <QtWidgets/qcombobox.h>
#include <QtWidgets/qgraphicsview.h>
#include <QtWidgets/qlistview.h>
#include <QtWidgets/qmenu.h>
#include <QtWidgets/qtextedit.h>
#include <QtWidgets/qtreeview.h>
#include "qdrawutil.h"
#include <chrono>
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) |
ControlState | StyleOptionHelper::calcControlState (const QStyleOption *option) |
template<typename R, typename P, typename B> |
static void | drawRoundedRect (QPainter *p, R &&rect, P &&pen, B &&brush) |
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 (int state) |
static qreal | sliderInnerRadius (QStyle::State state, bool insideHandle) |
static void | populateLightSystemBasePalette (QPalette &result) |
static void | populateDarkSystemBasePalette (QPalette &result) |
◆ AcceptMedium
#define AcceptMedium u"\uF78C"_s |
◆ CaretDownSolid8
#define CaretDownSolid8 u"\uEDDC"_s |
◆ CaretLeftSolid8
#define CaretLeftSolid8 u"\uEDD9"_s |
◆ CaretRightSolid8
#define CaretRightSolid8 u"\uEDDA"_s |
◆ CaretUpSolid8
#define CaretUpSolid8 u"\uEDDB"_s |
◆ CheckMark
#define CheckMark u"\uE73E"_s |
◆ ChevronDown
#define ChevronDown u"\uE70D"_s |
◆ ChevronDownMed
#define ChevronDownMed u"\uE972"_s |
◆ ChevronDownSmall
#define ChevronDownSmall u"\uE96E"_s |
◆ ChevronLeftMed
#define ChevronLeftMed u"\uE973"_s |
◆ ChevronRightMed
#define ChevronRightMed u"\uE974"_s |
◆ ChevronUp
#define ChevronUp u"\uE70E"_s |
◆ ChevronUpSmall
#define ChevronUpSmall u"\uE96D"_s |
◆ ChromeClose
#define ChromeClose u"\uE8BB"_s |
◆ ChromeMaximize
#define ChromeMaximize u"\uE922"_s |
◆ ChromeMinimize
#define ChromeMinimize u"\uE921"_s |
◆ ChromeRestore
#define ChromeRestore u"\uE923"_s |
◆ Dash12
#define Dash12 u"\uE629"_s |
◆ Help
◆ 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 |
( |
int | 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 |
◆ secondLevelRoundingRadius
constexpr int secondLevelRoundingRadius = 4 |
|
staticconstexpr |
◆ topLevelRoundingRadius
constexpr int topLevelRoundingRadius = 8 |
|
staticconstexpr |
◆ WINUI3Colors
Initial value:{
}
static constexpr std::array< QColor, 32 > WINUI3ColorsLight
static constexpr std::array< QColor, 32 > WINUI3ColorsDark
Definition at line 194 of file qwindows11style.cpp.
◆ WINUI3ColorsDark
◆ WINUI3ColorsLight