Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qqmltablemodelcolumn.cpp File Reference

(330fa93d6e9003c0ea188b9e703f2b3f0448f8c8)

#include "qqmltablemodelcolumn_p.h"
#include <QtQml/qqmlinfo.h>
#include "moc_qqmltablemodelcolumn_p.cpp"
+ Include dependency graph for qqmltablemodelcolumn.cpp:

Go to the source code of this file.

Macros

#define DEFINE_ROLE_PROPERTIES(getterGetterName, getterSetterName, getterSignal, setterGetterName, setterSetterName, setterSignal, 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, getSetDisplay, setSetDisplay, setDisplayChanged, displayRoleName) DEFINE_ROLE_PROPERTIES(decoration
 
decorationRoleName DEFINE_ROLE_PROPERTIES (edit, setEdit, editChanged, getSetEdit, setSetEdit, setEditChanged, editRoleName) DEFINE_ROLE_PROPERTIES(toolTip
 
decorationRoleName toolTipRoleName DEFINE_ROLE_PROPERTIES (statusTip, setStatusTip, statusTipChanged, getSetStatusTip, setSetStatusTip, setStatusTipChanged, statusTipRoleName) DEFINE_ROLE_PROPERTIES(whatsThis
 
decorationRoleName toolTipRoleName whatsThisRoleName DEFINE_ROLE_PROPERTIES (font, setFont, fontChanged, getSetFont, setSetFont, setFontChanged, fontRoleName) DEFINE_ROLE_PROPERTIES(textAlignment
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName DEFINE_ROLE_PROPERTIES (background, setBackground, backgroundChanged, getSetBackground, setSetBackground, setBackgroundChanged, backgroundRoleName) DEFINE_ROLE_PROPERTIES(foreground
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName DEFINE_ROLE_PROPERTIES (checkState, setCheckState, checkStateChanged, getSetCheckState, setSetCheckState, setCheckStateChanged, checkStateRoleName) DEFINE_ROLE_PROPERTIES(accessibleText
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName accessibleTextRoleName DEFINE_ROLE_PROPERTIES (accessibleDescription, setAccessibleDescription, accessibleDescriptionChanged, getSetAccessibleDescription, setSetAccessibleDescription, setAccessibleDescriptionChanged, accessibleDescriptionRoleName) DEFINE_ROLE_PROPERTIES(sizeHint
 

Variables

 setDecoration
 
 decorationChanged
 
 getSetDecoration
 
 setSetDecoration
 
 setDecorationChanged
 
decorationRoleName setToolTip
 
decorationRoleName toolTipChanged
 
decorationRoleName getSetToolTip
 
decorationRoleName setSetToolTip
 
decorationRoleName setToolTipChanged
 
decorationRoleName toolTipRoleName setWhatsThis
 
decorationRoleName toolTipRoleName whatsThisChanged
 
decorationRoleName toolTipRoleName getSetWhatsThis
 
decorationRoleName toolTipRoleName setSetWhatsThis
 
decorationRoleName toolTipRoleName setWhatsThisChanged
 
decorationRoleName toolTipRoleName whatsThisRoleName setTextAlignment
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentChanged
 
decorationRoleName toolTipRoleName whatsThisRoleName getSetTextAlignment
 
decorationRoleName toolTipRoleName whatsThisRoleName setSetTextAlignment
 
decorationRoleName toolTipRoleName whatsThisRoleName setTextAlignmentChanged
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName setForeground
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundChanged
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName getSetForeground
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName setSetForeground
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName setForegroundChanged
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName setAccessibleText
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName accessibleTextChanged
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName getSetAccessibleText
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName setSetAccessibleText
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName setAccessibleTextChanged
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName accessibleTextRoleName setSizeHint
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName accessibleTextRoleName sizeHintChanged
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName accessibleTextRoleName getSetSizeHint
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName accessibleTextRoleName setSetSizeHint
 
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName accessibleTextRoleName setSizeHintChanged
 

Macro Definition Documentation

◆ DEFINE_ROLE_PROPERTIES

#define DEFINE_ROLE_PROPERTIES ( getterGetterName,
getterSetterName,
getterSignal,
setterGetterName,
setterSetterName,
setterSignal,
roleName )

Definition at line 76 of file qqmltablemodelcolumn.cpp.

Function Documentation

◆ accessibleDescriptionRoleName()

static constexpr QLatin1StringView accessibleDescriptionRoleName ( "accessibleDescription" )
staticconstexpr

Referenced by QQmlTableModelColumn::supportedRoleNames().

+ Here is the caller graph for this function:

◆ accessibleTextRoleName()

static constexpr QLatin1StringView accessibleTextRoleName ( "accessibleText" )
staticconstexpr

Referenced by QQmlTableModelColumn::supportedRoleNames().

+ Here is the caller graph for this function:

◆ backgroundRoleName()

static constexpr QLatin1StringView backgroundRoleName ( "background" )
staticconstexpr

Referenced by QQmlTableModelColumn::supportedRoleNames().

+ Here is the caller graph for this function:

◆ checkStateRoleName()

static constexpr QLatin1StringView checkStateRoleName ( "checkState" )
staticconstexpr

Referenced by QQmlTableModelColumn::supportedRoleNames().

+ Here is the caller graph for this function:

◆ decorationRoleName()

static constexpr QLatin1StringView decorationRoleName ( "decoration" )
staticconstexpr

Referenced by QQmlTableModelColumn::supportedRoleNames().

+ Here is the caller graph for this function:

◆ DEFINE_ROLE_PROPERTIES() [1/7]

decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName accessibleTextRoleName DEFINE_ROLE_PROPERTIES ( accessibleDescription ,
setAccessibleDescription ,
accessibleDescriptionChanged ,
getSetAccessibleDescription ,
setSetAccessibleDescription ,
setAccessibleDescriptionChanged ,
accessibleDescriptionRoleName  )

◆ DEFINE_ROLE_PROPERTIES() [2/7]

decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName DEFINE_ROLE_PROPERTIES ( background ,
setBackground ,
backgroundChanged ,
getSetBackground ,
setSetBackground ,
setBackgroundChanged ,
backgroundRoleName  )

◆ DEFINE_ROLE_PROPERTIES() [3/7]

decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName foregroundRoleName DEFINE_ROLE_PROPERTIES ( checkState ,
setCheckState ,
checkStateChanged ,
getSetCheckState ,
setSetCheckState ,
setCheckStateChanged ,
checkStateRoleName  )

◆ DEFINE_ROLE_PROPERTIES() [4/7]

DEFINE_ROLE_PROPERTIES ( display ,
setDisplay ,
displayChanged ,
getSetDisplay ,
setSetDisplay ,
setDisplayChanged ,
displayRoleName  )

◆ DEFINE_ROLE_PROPERTIES() [5/7]

decorationRoleName DEFINE_ROLE_PROPERTIES ( edit ,
setEdit ,
editChanged ,
getSetEdit ,
setSetEdit ,
setEditChanged ,
editRoleName  )

◆ DEFINE_ROLE_PROPERTIES() [6/7]

decorationRoleName toolTipRoleName whatsThisRoleName DEFINE_ROLE_PROPERTIES ( font ,
setFont ,
fontChanged ,
getSetFont ,
setSetFont ,
setFontChanged ,
fontRoleName  )

◆ DEFINE_ROLE_PROPERTIES() [7/7]

decorationRoleName toolTipRoleName DEFINE_ROLE_PROPERTIES ( statusTip ,
setStatusTip ,
statusTipChanged ,
getSetStatusTip ,
setSetStatusTip ,
setStatusTipChanged ,
statusTipRoleName  )

◆ displayRoleName()

static QT_BEGIN_NAMESPACE constexpr QLatin1StringView displayRoleName ( "display" )
staticconstexpr

Represents a column in a model.

\qmltype TableModelColumn

! \instantiates QQmlTableModelColumn \inqmlmodule Qt.labs.qmlmodels

Since
5.14

Referenced by QQmlTableModelColumn::supportedRoleNames().

+ Here is the caller graph for this function:

◆ editRoleName()

static constexpr QLatin1StringView editRoleName ( "edit" )
staticconstexpr

Referenced by QQmlTableModelColumn::supportedRoleNames().

+ Here is the caller graph for this function:

◆ fontRoleName()

static constexpr QLatin1StringView fontRoleName ( "font" )
staticconstexpr

Referenced by QQmlTableModelColumn::supportedRoleNames().

+ Here is the caller graph for this function:

◆ foregroundRoleName()

static constexpr QLatin1StringView foregroundRoleName ( "foreground" )
staticconstexpr

Referenced by QQmlTableModelColumn::supportedRoleNames().

+ Here is the caller graph for this function:

◆ sizeHintRoleName()

static constexpr QLatin1StringView sizeHintRoleName ( "sizeHint" )
staticconstexpr

Referenced by QQmlTableModelColumn::supportedRoleNames().

+ Here is the caller graph for this function:

◆ statusTipRoleName()

static constexpr QLatin1StringView statusTipRoleName ( "statusTip" )
staticconstexpr

Referenced by QQmlTableModelColumn::supportedRoleNames().

+ Here is the caller graph for this function:

◆ textAlignmentRoleName()

static constexpr QLatin1StringView textAlignmentRoleName ( "textAlignment" )
staticconstexpr

Referenced by QQmlTableModelColumn::supportedRoleNames().

+ Here is the caller graph for this function:

◆ toolTipRoleName()

static constexpr QLatin1StringView toolTipRoleName ( "toolTip" )
staticconstexpr

Referenced by QQmlTableModelColumn::supportedRoleNames().

+ Here is the caller graph for this function:

◆ whatsThisRoleName()

static constexpr QLatin1StringView whatsThisRoleName ( "whatsThis" )
staticconstexpr

Referenced by QQmlTableModelColumn::supportedRoleNames().

+ Here is the caller graph for this function:

Variable Documentation

◆ accessibleTextChanged

◆ decorationChanged

decorationChanged

Definition at line 116 of file qqmltablemodelcolumn.cpp.

◆ foregroundChanged

◆ getSetAccessibleText

◆ getSetDecoration

getSetDecoration

Definition at line 117 of file qqmltablemodelcolumn.cpp.

◆ getSetForeground

◆ getSetSizeHint

◆ getSetTextAlignment

Definition at line 130 of file qqmltablemodelcolumn.cpp.

◆ getSetToolTip

decorationRoleName getSetToolTip

Definition at line 121 of file qqmltablemodelcolumn.cpp.

◆ getSetWhatsThis

Definition at line 125 of file qqmltablemodelcolumn.cpp.

◆ setAccessibleText

◆ setAccessibleTextChanged

◆ setDecoration

setDecoration

Definition at line 116 of file qqmltablemodelcolumn.cpp.

◆ setDecorationChanged

setDecorationChanged

Definition at line 117 of file qqmltablemodelcolumn.cpp.

◆ setForeground

◆ setForegroundChanged

◆ setSetAccessibleText

◆ setSetDecoration

setSetDecoration

Definition at line 117 of file qqmltablemodelcolumn.cpp.

◆ setSetForeground

◆ setSetSizeHint

◆ setSetTextAlignment

Definition at line 130 of file qqmltablemodelcolumn.cpp.

◆ setSetToolTip

decorationRoleName setSetToolTip

Definition at line 121 of file qqmltablemodelcolumn.cpp.

◆ setSetWhatsThis

Definition at line 125 of file qqmltablemodelcolumn.cpp.

◆ setSizeHint

◆ setSizeHintChanged

◆ setTextAlignment

◆ setTextAlignmentChanged

Definition at line 130 of file qqmltablemodelcolumn.cpp.

◆ setToolTip

◆ setToolTipChanged

decorationRoleName setToolTipChanged

Definition at line 121 of file qqmltablemodelcolumn.cpp.

◆ setWhatsThis

Definition at line 124 of file qqmltablemodelcolumn.cpp.

Referenced by QToolButton::setDefaultAction().

◆ setWhatsThisChanged

decorationRoleName toolTipRoleName setWhatsThisChanged

Definition at line 125 of file qqmltablemodelcolumn.cpp.

◆ sizeHintChanged

◆ textAlignmentChanged

Definition at line 129 of file qqmltablemodelcolumn.cpp.

◆ toolTipChanged

decorationRoleName toolTipChanged

Definition at line 120 of file qqmltablemodelcolumn.cpp.

◆ whatsThisChanged

Definition at line 124 of file qqmltablemodelcolumn.cpp.