WARNING: USE THIS SOFTWARE AT YOUR OWN RISK! THIS IS EXPERIMENTAL SOFTWARE NOT INTENDED FOR PRODUCTION USE! Zuble is currently an early stage prototype. As such Zuble is minimally tested and inherently unstable. It is provided for experimental, development, and demonstration purposes only. Zuble QML Types   |  Zuble C++ Classes   |  Zuble Overview
Zuble  0.1
Zuble Framework C++/QML extension API
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | Properties | List of all members
Zbl::ZTableColumnList Class Reference

Defines columns in a ZTableView. More...

#include <ZTableColumnList.h>

Inheritance diagram for Zbl::ZTableColumnList:
Inheritance graph
[legend]
Collaboration diagram for Zbl::ZTableColumnList:
Collaboration graph
[legend]

Public Member Functions

 ZTableColumnList (QObject *parent=0)
 
QQmlListProperty< Zbl::ZTableColumngetColumns ()
 

Static Public Member Functions

static void registerType ()
 Registers ZTableColumnList as a QML type. More...
 

Static Protected Member Functions

static void append (QQmlListProperty< ZTableColumn > *list, ZTableColumn *column)
 
static ZTableColumnat (QQmlListProperty< ZTableColumn > *list, int index)
 
static void clear (QQmlListProperty< ZTableColumn > *list)
 
static int count (QQmlListProperty< ZTableColumn > *list)
 

Protected Attributes

QList< ZTableColumn * > m_columns
 

Properties

QQmlListProperty< Zbl::ZTableColumnitems
 

Detailed Description

Defines columns in a ZTableView.

See also
Zbl::ZTableColumn

Definition at line 40 of file ZTableColumnList.h.

Constructor & Destructor Documentation

◆ ZTableColumnList()

Zbl::ZTableColumnList::ZTableColumnList ( QObject *  parent = 0)
explicit

Definition at line 32 of file ZTableColumnList.cpp.

Member Function Documentation

◆ append()

void Zbl::ZTableColumnList::append ( QQmlListProperty< ZTableColumn > *  list,
ZTableColumn column 
)
staticprotected

Definition at line 50 of file ZTableColumnList.cpp.

Referenced by getColumns().

◆ at()

Zbl::ZTableColumn * Zbl::ZTableColumnList::at ( QQmlListProperty< ZTableColumn > *  list,
int  index 
)
staticprotected

Definition at line 58 of file ZTableColumnList.cpp.

Referenced by getColumns().

◆ clear()

void Zbl::ZTableColumnList::clear ( QQmlListProperty< ZTableColumn > *  list)
staticprotected

Definition at line 65 of file ZTableColumnList.cpp.

Referenced by getColumns().

◆ count()

int Zbl::ZTableColumnList::count ( QQmlListProperty< ZTableColumn > *  list)
staticprotected

Definition at line 72 of file ZTableColumnList.cpp.

Referenced by getColumns().

◆ getColumns()

QQmlListProperty< Zbl::ZTableColumn > Zbl::ZTableColumnList::getColumns ( )

Definition at line 43 of file ZTableColumnList.cpp.

◆ registerType()

void Zbl::ZTableColumnList::registerType ( )
static

Registers ZTableColumnList as a QML type.

Definition at line 37 of file ZTableColumnList.cpp.

Referenced by Zbl::Zblcore::registerTypes().

Member Data Documentation

◆ m_columns

QList<ZTableColumn*> Zbl::ZTableColumnList::m_columns
protected

Definition at line 64 of file ZTableColumnList.h.

Referenced by append(), at(), clear(), and count().

Property Documentation

◆ items

QQmlListProperty<Zbl::ZTableColumn> Zbl::ZTableColumnList::items
read

Definition at line 47 of file ZTableColumnList.h.


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