QBaseModelWidget

Inheritance diagram of QBaseModelWidget
class QBaseModelWidget(parent=None, designMode=False, with_filter_widget=True, with_selection_widget=True, with_refresh_widget=True, perspective=None, proxy=None)[source]

Bases: PyQt5.QtWidgets.QMainWindow

A pure Qt widget designed to display a Qt view widget (QTreeView for example), envolved by optional toolbar and statusbar. The Qt model associated with the internal Qt view widget should be a taurus.qt.qtcore.model.TaurusBaseModel

DftPerspective = None
KnownPerspectives = {}
addToolBar(self, Qt.ToolBarArea, QToolBar)[source]

addToolBar(self, QToolBar) addToolBar(self, str) -> QToolBar

createStatusBar()[source]
createToolArea()[source]
createViewWidget(klass=None)[source]
currentItemChanged
getBaseQModel()[source]
getFilterBar()[source]
getPerspectiveBar()[source]
getQModel()[source]
getRefreshBar()[source]
getSelectionBar()[source]
insertToolBar(self, QToolBar, QToolBar)[source]
itemClicked
itemDoubleClicked
itemSelectionChanged
onClearSelection()[source]
onFilterChanged(filter)[source]
onRefreshModel()[source]
onSelectAll()[source]
onSwitchPerspective(perspective)[source]
perspective()[source]
refresh()[source]
selectedItems()[source]

Returns a list of all selected non-hidden items

Return type

list <TaurusTreeItem>

Returns

setQModel(qmodel)[source]
usesProxyQModel()[source]
viewCurrentIndexChanged(current, previous)[source]
viewSelectionChanged(selected, deselected)[source]
viewWidget()[source]