pyleecan.GUI.Tools.WTreeEdit.WTreeEdit module

class WTreeEdit(obj, *args, **kwargs)[source]

Bases: QWidget

TreeEdit widget is to show and edit all of the pyleecan objects data.

dataChanged
setupUi()[source]

Setup the UI

update(obj)[source]

Check if object has changed and update tree in case.

setSaveNeeded(state=True)[source]
openContextMenu(point)[source]

Generate and open context the menu at the given point position.

onItemCollapse(index)[source]

Slot for item collapsed

onItemExpand(index)[source]

Slot for item expand

onDataChanged(first=None, last=None)[source]

Slot for changed data

onSelectionChanged(itemSelection)[source]

Slot for changed item selection

isListType(typ)[source]
isDictType(typ)[source]
staticMetaObject = <PySide2.QtCore.QMetaObject object>