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

Class SettingsGroupItem

source code

       object --+            
                |            
sip.simplewrapper --+        
                    |        
          sip.wrapper --+    
                        |    
PyQt4.QtGui.QStandardItem --+
                            |
                           SettingsGroupItem

Nested Classes

Inherited from PyQt4.QtGui.QStandardItem: ItemType

Instance Methods
 
__init__(self, name)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
type(self) source code
 
data(self, role)
The view asks us for all sorts of information about our data...
source code

Inherited from PyQt4.QtGui.QStandardItem: __eq__, __ge__, __gt__, __le__, __lt__, __ne__, accessibleDescription, accessibleText, appendColumn, appendRow, appendRows, background, checkState, child, clone, column, columnCount, emitDataChanged, flags, font, foreground, hasChildren, icon, index, insertColumn, insertColumns, insertRow, insertRows, isCheckable, isDragEnabled, isDropEnabled, isEditable, isEnabled, isSelectable, isTristate, model, parent, read, removeColumn, removeColumns, removeRow, removeRows, row, rowCount, setAccessibleDescription, setAccessibleText, setBackground, setCheckState, setCheckable, setChild, setColumnCount, setData, setDragEnabled, setDropEnabled, setEditable, setEnabled, setFlags, setFont, setForeground, setIcon, setRowCount, setSelectable, setSizeHint, setStatusTip, setText, setTextAlignment, setToolTip, setTristate, setWhatsThis, sizeHint, sortChildren, statusTip, takeChild, takeColumn, takeRow, text, textAlignment, toolTip, whatsThis, write

Inherited from sip.simplewrapper: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods
[SettingsGroupItem and PySide.QtGui.QStandardItem]
getGroupItemList(self, name)
Creates the list of the items .
source code
[SettingsGroupItem and PySide.QtGui.QStandardItem]
getSettingsItemList(self, name, value, (settings, attrname)=(None, None), tooltip='', edit_type=0, value_default=None, value_min=None, value_max=None)
Creates the list of the items .
source code
Class Variables
  ITEM_TYPE = 1082

Inherited from PyQt4.QtGui.QStandardItem: Type, UserType

Properties

Inherited from object: __class__

Method Details

__init__(self, name)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

type(self)

source code 
Overrides: PyQt4.QtGui.QStandardItem.type

data(self, role)

source code 

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

Parameters:
  • index (QtCore.QModelIndex) - parent of the list
  • role (QtCore.Qt.DisplayRole) - the art of the data
Overrides: PyQt4.QtGui.QStandardItem.data

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 PySide.QtGui.QStandardItem]

getSettingsItemList(self, name, value, (settings, attrname)=(None, None), tooltip='', edit_type=0, value_default=None, value_min=None, value_max=None)
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 PySide.QtGui.QStandardItem]