Kirigami2
units.cpp
50 qCWarning(KirigamiLog).nospace() << method << " is deprecated (since " << since << "): " << message;
130 R"( console.warn("Units.fontMetrics.roundedIconSize is deprecated, use Units.iconSizes.roundedIconSize instead.");)"
147 connect(QGuiApplication::styleHints(), &QStyleHints::wheelScrollLinesChanged, this, [this](int scrollLines) {
175 rateLimitWarning("Units.devicePixelRatio", "5.86", "This returns 1 when using Qt HiDPI scaling.");
int gridUnit
bool contains(const Key &key) const const
int veryShortDuration
units.veryShortDuration should be used for elements that should have a hint of smoothness,...
Definition: units.h:157
IconSizes iconSizes
units.iconSizes provides access to platform-dependent icon sizing
Definition: units.h:98
QString fromUtf8(const char *str, int size)
int pixelSize() const const
Q_EMITQ_EMIT
const T value(const Key &key, const T &defaultValue) const const
QFont font()
int pointSize() const const
void wheelScrollLinesChanged(int scrollLines)
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QMap::iterator insert(const Key &key, const T &value)
int veryLongDuration
units.veryLongDuration should be used for specialty animations that benefit from being even longer th...
Definition: units.h:139
void fontChanged(const QFont &font)
int mediumSpacing
This property holds the amount of spacing that should be used between medium UI elements,...
Definition: units.h:114
int shortDuration
units.shortDuration should be used for short animations, such as accentuating a UI event,...
Definition: units.h:151
int smallSpacing
This property holds the amount of spacing that should be used between smaller UI elements,...
Definition: units.h:106
qreal devicePixelRatio
QStyleHints * styleHints()
int humanMoment
Time in milliseconds equivalent to the theoretical human moment, which can be used to determine wheth...
Definition: units.h:193
int longDuration
units.longDuration should be used for longer, screen-covering animations, for opening and closing of ...
Definition: units.h:145
int largeSpacing
This property holds the amount of spacing that should be used between bigger UI elements,...
Definition: units.h:122
QString message
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Jan 28 2023 04:15:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Jan 28 2023 04:15:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.