Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::ListModel::Columns::Item Class Reference

Holds column entry information. More...

#include <ListModel.h>

Public Attributes

QString name {}
 Name of the column.
 
int imageIndex {-1}
 Image to use for the column by index.
 
union { 
 
   void *   ptr {nullptr} 
 
   int64_t   index 
 
tag 
 User data to reference this column.
 
Qt::ItemFlags flags
 Additional flags for the column. Only 'ItemIsEditable', 'ItemIsUserCheckable' and 'ItemIsUserTristate'.
 
Qt::Alignment alignment {Qt::AlignLeft}
 Alignment of the values in the column.
 

Detailed Description

Holds column entry information.

Member Data Documentation

◆ alignment

Qt::Alignment sf::ListModel::Columns::Item::alignment {Qt::AlignLeft}

Alignment of the values in the column.

◆ flags

Qt::ItemFlags sf::ListModel::Columns::Item::flags

Additional flags for the column. Only 'ItemIsEditable', 'ItemIsUserCheckable' and 'ItemIsUserTristate'.

◆ imageIndex

int sf::ListModel::Columns::Item::imageIndex {-1}

Image to use for the column by index.

◆ index

int64_t sf::ListModel::Columns::Item::index

◆ name

QString sf::ListModel::Columns::Item::name {}

Name of the column.

◆ ptr

void* sf::ListModel::Columns::Item::ptr {nullptr}

◆ [union]

union { ... } sf::ListModel::Columns::Item::tag

User data to reference this column.


The documentation for this class was generated from the following file: