OpenStructure
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
TableModel Class Reference

Inherits QAbstractTableModel.

Public Member Functions

 __init__ (self, table, parent=None)
 
 rowCount (self, index)
 
 headerData (self, section, orientation, role)
 
 columnCount (self, index)
 
 sort (self, column, order)
 
 data (self, index, role)
 

Data Fields

 table
 

Detailed Description

Definition at line 7 of file table.py.

Constructor & Destructor Documentation

◆ __init__()

__init__ (   self,
  table,
  parent = None 
)

Definition at line 8 of file table.py.

Member Function Documentation

◆ columnCount()

columnCount (   self,
  index 
)

Definition at line 20 of file table.py.

◆ data()

data (   self,
  index,
  role 
)

Definition at line 30 of file table.py.

◆ headerData()

headerData (   self,
  section,
  orientation,
  role 
)

Definition at line 15 of file table.py.

◆ rowCount()

rowCount (   self,
  index 
)

Definition at line 12 of file table.py.

◆ sort()

sort (   self,
  column,
  order 
)

Definition at line 23 of file table.py.

Field Documentation

◆ table

table

Definition at line 10 of file table.py.


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