OpenStructure
Public Member Functions | Data Fields
TableModel Class Reference

Inherits QAbstractTableModel.

Public Member Functions

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

Data Fields

 table
 

Detailed Description

Definition at line 7 of file table.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  table,
  parent = None 
)

Definition at line 8 of file table.py.

Member Function Documentation

◆ columnCount()

def columnCount (   self,
  index 
)

Definition at line 20 of file table.py.

◆ data()

def data (   self,
  index,
  role 
)

Definition at line 30 of file table.py.

◆ headerData()

def headerData (   self,
  section,
  orientation,
  role 
)

Definition at line 15 of file table.py.

◆ rowCount()

def rowCount (   self,
  index 
)

Definition at line 12 of file table.py.

◆ sort()

def 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: