Inherits QAbstractListModel.
|
def | __init__ (self, parent=None, *args) |
|
def | AddItem (self, name, gradient, row, editable, save) |
|
def | IsEditable (self, row) |
|
def | RemoveItem (self, row) |
|
def | AddGradientToInfo (self, gradient, name) |
|
def | LoadGradientFromInfo (self) |
|
def | GetGradient (self, model_index) |
|
def | GetLastRow (self) |
|
def | GetIcon (self, gradient) |
|
def | NameIsValid (self, string) |
|
def | rowCount (self, parent=QtCore.QModelIndex()) |
|
def | data (self, index, role) |
|
def | setData (self, index, value, role) |
|
def | flags (self, index) |
|
def | insertRow (self, position, index) |
|
def | removeRow (self, position, index) |
|
Definition at line 9 of file gradient_list_model.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
parent = None , |
|
|
* |
args |
|
) |
| |
◆ AddGradientToInfo()
def AddGradientToInfo |
( |
|
self, |
|
|
|
gradient, |
|
|
|
name |
|
) |
| |
◆ AddItem()
def AddItem |
( |
|
self, |
|
|
|
name, |
|
|
|
gradient, |
|
|
|
row, |
|
|
|
editable, |
|
|
|
save |
|
) |
| |
◆ data()
def data |
( |
|
self, |
|
|
|
index, |
|
|
|
role |
|
) |
| |
◆ flags()
def flags |
( |
|
self, |
|
|
|
index |
|
) |
| |
◆ GetGradient()
def GetGradient |
( |
|
self, |
|
|
|
model_index |
|
) |
| |
◆ GetIcon()
def GetIcon |
( |
|
self, |
|
|
|
gradient |
|
) |
| |
◆ GetLastRow()
◆ insertRow()
def insertRow |
( |
|
self, |
|
|
|
position, |
|
|
|
index |
|
) |
| |
◆ IsEditable()
def IsEditable |
( |
|
self, |
|
|
|
row |
|
) |
| |
◆ LoadGradientFromInfo()
def LoadGradientFromInfo |
( |
|
self | ) |
|
◆ NameIsValid()
def NameIsValid |
( |
|
self, |
|
|
|
string |
|
) |
| |
◆ RemoveItem()
def RemoveItem |
( |
|
self, |
|
|
|
row |
|
) |
| |
◆ removeRow()
def removeRow |
( |
|
self, |
|
|
|
position, |
|
|
|
index |
|
) |
| |
◆ rowCount()
def rowCount |
( |
|
self, |
|
|
|
parent = QtCore.QModelIndex() |
|
) |
| |
◆ setData()
def setData |
( |
|
self, |
|
|
|
index, |
|
|
|
value, |
|
|
|
role |
|
) |
| |
◆ data_
◆ dataChanged
dataChanged = QtCore.pyqtSignal(int, int, name="dataChanged") |
|
static |
◆ IMMUTABLE_GRADIENTS_PATH
Initial value:
"gradients.xml")
String DLLEXPORT_OST_BASE GetSharedDataPath()
Definition at line 11 of file gradient_list_model.py.
◆ immutable_infoh_
◆ infoh_
◆ MUTABLE_GRADIENTS_PATH
string MUTABLE_GRADIENTS_PATH = "user_gradients.xml" |
|
static |
The documentation for this class was generated from the following file: