Package node_manager_fkie :: Module parameter_list_model :: Class ParameterValueItem
[frames] | no frames]

Class ParameterValueItem

source code

python_qt_binding.QtGui.QStandardItem --+
                                        |
                                       ParameterValueItem

The parameter item is stored in the parameter model. This class stores the name and value of a parameter of ROS parameter server and shows the value.

Instance Methods
 
__init__(self, name, value, parent=None)
Initialize the item object.
source code
 
name(self) source code
 
value(self, value) source code
 
type(self) source code
 
data(self, role) source code
 
__eq__(self, item)
Compares the value of parameter.
source code
 
__gt__(self, item)
Compares the value of parameter.
source code
Class Variables
  ITEM_TYPE = QStandardItem.UserType+ 39
  NAME_ROLE = Qt.UserRole+ 1
  VALUE_ROLE = Qt.UserRole+ 2
  TYPE_ROLE = Qt.UserRole+ 3
Method Details

__init__(self, name, value, parent=None)
(Constructor)

source code 

Initialize the item object.

Parameters:
  • name (str) - the name of the parameter
  • value (str) - the value of the parameter

name(self)

source code 
Decorators:
  • @property

value(self, value)

source code 
Decorators:
  • @value.setter