8.4.8.1. New Tree items
Documentation on the added or modified ParameterItem types compared to pyqtgraph.parametertree.parameterTypes
module.
WidgetParameterItem
and SimpleParameter
have been subclassed to define more options:
int
andfloat
: represented by a customSpinbox
, seeSpinbox
bool
,led
,bool_push
are represented respectively by aQCheckBox
, aQLED
,QPushButton
str
displays a QLineEdit widgetdate_time
displays a QDateTime widgetdate
displays a QDate widgettime
displays aQTimeCustom
widgetpixmap
displays a QPixmap in a QLabelpixmap_check
displays a customPixmapCheckWidget
widget
Other widgets for ParameterTree have been introduced:
group
: subclassed group parameter, seeGroupParameterCustom
andGroupParameterItemCustom
slide
: displays a customSpinbox
and a QSlider to set floats and ints, seeSliderSpinBox
list
: subclassed pyqtgraphlist
that displays a list and a pushbutton to let the user add entries in the list, seeListParameter
andListParameterItem
andCombo_pb
table
: subclassed pyqtgraphtable
, seeTableParameterItem
,TableParameter
andTableWidget
table_view
: displaying a QTableView with custom model to be user defined, see Qt5 documentation, seeTableViewParameterItem
,TableViewCustom
andTableViewParameter
ìtemselect
: displays a QListWidget with selectable elements, seeItemSelectParameterItem
,ItemSelect_pb
,ItemSelect
andItemSelectParameter
browsepath
: displays an edit line and a push button to select files or folders, seeFileDirParameterItem
,FileDirWidget
andFileDirParameter
text`
: subclassed plain text areatext
from pyqtgraph with limited height, seeTextParameterItemCustom
andTextParameter
text_pb
: displays a plain text area and a visible button to add data into it, seePlainTextParameterItem
,PlainTextWidget
andPlainTextPbParameter