User Tools

Site Tools


project:aeac:pretreemodel



PreTreeModel

Inherited from XTreeModel,

Inherited by NULL

Friend class NULL

Description

Public interface

  • PreTreeModel(XDocument * doc, MainFrame * pFrame)
  • QVariant headerData(int section, Orientation orientation, int role = DisplayRole) const
  • QVariant data(const QModelIndex &index, int role) const
  • bool setData(const QModelIndex &index, const QVariant &value,int role = EditRole)
  • int columnCount(const QModelIndex &parent = QModelIndex()) const
  • ItemFlags flags(const QModelIndex &index) const

PreTreeModel(XDocument * doc, MainFrame * pFrame)

  • function:
  • parameters:
    1. [i]XDocument * doc:
    2. [i] MainFrame * pFrame:
  • return value:

QVariant headerData(int section, Orientation orientation, int role = DisplayRole) const

  • function:
  • parameters:
    1. [i]int section:
    2. [i] Orientation orientation:
    3. [i] int role = DisplayRole:
  • return value:

QVariant data(const QModelIndex &index, int role) const

  • function:
  • parameters:
    1. [i]const QModelIndex &index:
    2. [i] int role:
  • return value:

bool setData(const QModelIndex &index, const QVariant &value,int role = EditRole)

  • function:
  • parameters:
    1. [i]const QModelIndex &index:
    2. [i] const QVariant &value:
    3. [i]int role = EditRole:
  • return value:

int columnCount(const QModelIndex &parent = QModelIndex()) const

  • function:
  • parameters:
    1. [i]const QModelIndex &parent = QModelIndex(:
  • return value:

ItemFlags flags(const QModelIndex &index) const

  • function:
  • parameters:
    1. [i]const QModelIndex &index:
  • return value:
project/aeac/pretreemodel.txt · Last modified: 2023/05/16 10:14 (external edit)