![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qqmltablemodelcolumn_p.h"#include <QtQml/qqmlinfo.h>#include "moc_qqmltablemodelcolumn_p.cpp"Go to the source code of this file.
Macros | |
| #define | DEFINE_ROLE_PROPERTIES(getterGetterName, getterSetterName, getterSignal, roleName) |
Functions | |
| static QT_BEGIN_NAMESPACE constexpr QLatin1StringView | displayRoleName ("display") |
| Represents a column in a model. | |
| static constexpr QLatin1StringView | decorationRoleName ("decoration") |
| static constexpr QLatin1StringView | editRoleName ("edit") |
| static constexpr QLatin1StringView | toolTipRoleName ("toolTip") |
| static constexpr QLatin1StringView | statusTipRoleName ("statusTip") |
| static constexpr QLatin1StringView | whatsThisRoleName ("whatsThis") |
| static constexpr QLatin1StringView | fontRoleName ("font") |
| static constexpr QLatin1StringView | textAlignmentRoleName ("textAlignment") |
| static constexpr QLatin1StringView | backgroundRoleName ("background") |
| static constexpr QLatin1StringView | foregroundRoleName ("foreground") |
| static constexpr QLatin1StringView | checkStateRoleName ("checkState") |
| static constexpr QLatin1StringView | accessibleTextRoleName ("accessibleText") |
| static constexpr QLatin1StringView | accessibleDescriptionRoleName ("accessibleDescription") |
| static constexpr QLatin1StringView | sizeHintRoleName ("sizeHint") |
| DEFINE_ROLE_PROPERTIES (display, setDisplay, displayChanged, displayRoleName) DEFINE_ROLE_PROPERTIES(decoration | |
| decorationRoleName | DEFINE_ROLE_PROPERTIES (edit, setEdit, editChanged, editRoleName) DEFINE_ROLE_PROPERTIES(toolTip |
| decorationRoleName toolTipRoleName | DEFINE_ROLE_PROPERTIES (statusTip, setStatusTip, statusTipChanged, statusTipRoleName) DEFINE_ROLE_PROPERTIES(whatsThis |
| decorationRoleName toolTipRoleName whatsThisRoleName | DEFINE_ROLE_PROPERTIES (font, setFont, fontChanged, fontRoleName) DEFINE_ROLE_PROPERTIES(textAlignment |
| decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName | DEFINE_ROLE_PROPERTIES (background, setBackground, backgroundChanged, backgroundRoleName) DEFINE_ROLE_PROPERTIES(foreground |
| decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName | DEFINE_ROLE_PROPERTIES (checkState, setCheckState, checkStateChanged, checkStateRoleName) DEFINE_ROLE_PROPERTIES(accessibleText |
| decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName accessibleTextRoleName | DEFINE_ROLE_PROPERTIES (accessibleDescription, setAccessibleDescription, accessibleDescriptionChanged, accessibleDescriptionRoleName) DEFINE_ROLE_PROPERTIES(sizeHint |
| #define DEFINE_ROLE_PROPERTIES | ( | getterGetterName, | |
| getterSetterName, | |||
| getterSignal, | |||
| roleName ) |
Definition at line 105 of file qqmltablemodelcolumn.cpp.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName accessibleTextRoleName DEFINE_ROLE_PROPERTIES | ( | accessibleDescription | , |
| setAccessibleDescription | , | ||
| accessibleDescriptionChanged | , | ||
| accessibleDescriptionRoleName | ) |
| decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName DEFINE_ROLE_PROPERTIES | ( | background | , |
| setBackground | , | ||
| backgroundChanged | , | ||
| backgroundRoleName | ) |
| decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName DEFINE_ROLE_PROPERTIES | ( | checkState | , |
| setCheckState | , | ||
| checkStateChanged | , | ||
| checkStateRoleName | ) |
| DEFINE_ROLE_PROPERTIES | ( | display | , |
| setDisplay | , | ||
| displayChanged | , | ||
| displayRoleName | ) |
| decorationRoleName DEFINE_ROLE_PROPERTIES | ( | edit | , |
| setEdit | , | ||
| editChanged | , | ||
| editRoleName | ) |
| decorationRoleName toolTipRoleName whatsThisRoleName DEFINE_ROLE_PROPERTIES | ( | font | , |
| setFont | , | ||
| fontChanged | , | ||
| fontRoleName | ) |
| decorationRoleName toolTipRoleName DEFINE_ROLE_PROPERTIES | ( | statusTip | , |
| setStatusTip | , | ||
| statusTipChanged | , | ||
| statusTipRoleName | ) |
|
staticconstexpr |
Represents a column in a model.
\qmltype TableModelColumn
! \nativetype QQmlTableModelColumn \inqmlmodule Qt.labs.qmlmodels
The TableModelColumn class represents columns in TableModel. TableModel supports JavaScript/JSON data where each row is an object, a list of simple key-value pairs where the keys are unordered.
However, models in Qt are manipulated via row and column indices. Specifying the columns with TableModelColumn allows a mapping between Qt's built-in roles to any property in each row object.
TableModelColumn also has basic read-only support for complex rows. For more information, see \l {Supported Row Data Structures}.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName accessibleTextChanged |
Definition at line 148 of file qqmltablemodelcolumn.cpp.
| decorationChanged |
Definition at line 126 of file qqmltablemodelcolumn.cpp.
| decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundChanged |
Definition at line 143 of file qqmltablemodelcolumn.cpp.
| decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName setAccessibleText |
Definition at line 148 of file qqmltablemodelcolumn.cpp.
| setDecoration |
Definition at line 126 of file qqmltablemodelcolumn.cpp.
Definition at line 143 of file qqmltablemodelcolumn.cpp.
| decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName accessibleTextRoleName setSizeHint |
Definition at line 153 of file qqmltablemodelcolumn.cpp.
| decorationRoleName toolTipRoleName whatsThisRoleName setTextAlignment |
Definition at line 139 of file qqmltablemodelcolumn.cpp.
| decorationRoleName setToolTip |
[0]
Definition at line 130 of file qqmltablemodelcolumn.cpp.
| decorationRoleName toolTipRoleName setWhatsThis |
Definition at line 134 of file qqmltablemodelcolumn.cpp.
| decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName accessibleTextRoleName sizeHintChanged |
Definition at line 153 of file qqmltablemodelcolumn.cpp.
| decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentChanged |
Definition at line 139 of file qqmltablemodelcolumn.cpp.
| decorationRoleName toolTipChanged |
Definition at line 130 of file qqmltablemodelcolumn.cpp.
| decorationRoleName toolTipRoleName whatsThisChanged |
Definition at line 134 of file qqmltablemodelcolumn.cpp.