6#include <QtQuick/private/qquicktext_p_p.h>
22 if (m_fullText ==
text)
31 return m_mnemonicVisible;
36 if (m_mnemonicVisible ==
visible)
51 range.format.setFontUnderline(
true);
56void QQuickMnemonicLabel::updateMnemonic()
76 if (m_mnemonicVisible) {
101#include "moc_qquickmnemoniclabel_p.cpp"
constexpr bool isSpace() const noexcept
Returns true if the character is a separator character (Separator_* categories or certain code points...
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
bool visible
\qmlproperty bool QtQuick::Item::visible
bool isComponentComplete() const
Returns true if construction of the QML component is complete; otherwise returns false.
void setMnemonicVisible(bool visible)
bool isMnemonicVisible() const
QQuickMnemonicLabel(QQuickItem *parent=nullptr)
void setText(const QString &text)
static QQuickTextPrivate * get(QQuickText *t)
void setText(const QString &)
\macro QT_RESTRICTED_CAST_FROM_ASCII
void truncate(qsizetype pos)
Truncates the string at the given position index.
qsizetype size() const
Returns the number of characters in this string.
const QChar at(qsizetype i) const
Returns the character at the given index position in the string.
void setFormats(const QList< FormatRange > &overrides)
Combined button and popup list for selecting options.
GLenum GLuint GLenum GLsizei length
static QTextLayout::FormatRange underlineRange(int start, int length=1)
\inmodule QtCore \reentrant
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent