|
seq
4.0.0-pre3
|
Representation of a Sequence state. More...
Public Member Functions | |
| def | __init__ (self, state_client, parent=None) |
| Initializator for the SequencerModel class. More... | |
| def | clear_model (self) |
| def | create_model (self, node) |
| def | index (self, row, column, parent) |
| QAbstractItemModel Interface implementation. More... | |
| def | parent (self, child) |
| def | columnCount (self, parent) |
| def | rowCount (self, parent) |
| def | data (self, index, role) |
| def | flags (self, index) |
| def | headerData (self, section, orientation, role) |
| def | process_tree_update (self, dict_tree) |
| Methods of this class. More... | |
| def | process_state_update (self, update_dict) |
| Process a single state change. More... | |
| def | findItemFromSerialNumber (self, sn) |
| def | considerCheckbox (self, index) |
| def | considerDialog (self, index, dialog_result) |
| def | children (self, index) |
Public Attributes | |
| domnode | |
| rootItem | |
| icon | |
Static Public Attributes | |
| checkbox = Signal(object) | |
| continue_seq = Signal(object) | |
| node_skip = Signal(object) | |
| dictionary | column_order |
| dictionary | state_to_string |
| dictionary | flag_to_string |
Representation of a Sequence state.
This class allows Views from the Qt Model-View framework to access throught he QAbstractItemModel interface the contents of a backend.
In this case, the Deserialization of a JSON String into a python object.
| def sequencerStdModel.SequencerModel.__init__ | ( | self, | |
| state_client, | |||
parent = None |
|||
| ) |
Initializator for the SequencerModel class.
It uses the :param:node to setup the storage backend.
| def sequencerStdModel.SequencerModel.children | ( | self, | |
| index | |||
| ) |
| def sequencerStdModel.SequencerModel.clear_model | ( | self | ) |
| def sequencerStdModel.SequencerModel.columnCount | ( | self, | |
| parent | |||
| ) |
| def sequencerStdModel.SequencerModel.considerCheckbox | ( | self, | |
| index | |||
| ) |
| def sequencerStdModel.SequencerModel.considerDialog | ( | self, | |
| index, | |||
| dialog_result | |||
| ) |
| def sequencerStdModel.SequencerModel.create_model | ( | self, | |
| node | |||
| ) |
| def sequencerStdModel.SequencerModel.data | ( | self, | |
| index, | |||
| role | |||
| ) |
| def sequencerStdModel.SequencerModel.findItemFromSerialNumber | ( | self, | |
| sn | |||
| ) |
| def sequencerStdModel.SequencerModel.flags | ( | self, | |
| index | |||
| ) |
| def sequencerStdModel.SequencerModel.headerData | ( | self, | |
| section, | |||
| orientation, | |||
| role | |||
| ) |
| def sequencerStdModel.SequencerModel.index | ( | self, | |
| row, | |||
| column, | |||
| parent | |||
| ) |
QAbstractItemModel Interface implementation.
| def sequencerStdModel.SequencerModel.parent | ( | self, | |
| child | |||
| ) |
| def sequencerStdModel.SequencerModel.process_state_update | ( | self, | |
| update_dict | |||
| ) |
Process a single state change.
| def sequencerStdModel.SequencerModel.process_tree_update | ( | self, | |
| dict_tree | |||
| ) |
Methods of this class.
Updates the complete tree. Commonly executed after a template is loaded.
| def sequencerStdModel.SequencerModel.rowCount | ( | self, | |
| parent | |||
| ) |
|
static |
|
static |
|
static |
| sequencerStdModel.SequencerModel.domnode |
|
static |
| sequencerStdModel.SequencerModel.icon |
|
static |
| sequencerStdModel.SequencerModel.rootItem |
|
static |