Package node_manager_fkie :: Module settings_model :: Class SettingsGroupItem
[frames] | no frames]

Class SettingsGroupItem

source code

python_qt_binding.QtGui.QStandardItem --+
                                        |
                                       SettingsGroupItem

Instance Methods
 
__init__(self, name) source code
 
type(self) source code
 
data(self, role)
The view asks us for all sorts of information about our data...
source code
Class Methods
[SettingsGroupItem and QtGui.QStandardItem]
getGroupItemList(self, name)
Creates the list of the items .
source code
[SettingsGroupItem and QtGui.QStandardItem]
getSettingsItemList(self, name, value, (settings, attrname)=(None,None), tooltip='', edit_type=SettingsValueItem.EDIT_TYPE_AUTODETECT, value_default=None, value_min=None, value_max=None, value_list=[], value_step=None, need_restart=False)
Creates the list of the items .
source code
Class Variables
  ITEM_TYPE = QStandardItem.UserType+ 82
Method Details

data(self, role)

source code 

The view asks us for all sorts of information about our data...

Parameters:

getGroupItemList(self, name)
Class Method

source code 

Creates the list of the items . This list is used for the visualization of settings group data as a table row.

Parameters:
  • name (str) - the group name
Returns: [SettingsGroupItem and QtGui.QStandardItem]

getSettingsItemList(self, name, value, (settings, attrname)=(None,None), tooltip='', edit_type=SettingsValueItem.EDIT_TYPE_AUTODETECT, value_default=None, value_min=None, value_max=None, value_list=[], value_step=None, need_restart=False)
Class Method

source code 

Creates the list of the items . This list is used for the visualization of settings group data as a table row. For paramters see `SettingsValueItem()`

Returns: [SettingsGroupItem and QtGui.QStandardItem]