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]

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

Import from taurus.qt.qtgui.model as:

from taurus.qt.qtgui.model import QBaseModelWidget
DftPerspective = None
KnownPerspectives = {}
addToolBar(self, area: Qt.ToolBarArea, toolbar: Optional[QToolBar])[source]
addToolBar(self, toolbar: Optional[QToolBar]) None
addToolBar(self, title: str) Optional[QToolBar]
createStatusBar()[source]
createToolArea()[source]
createViewWidget(klass=None)[source]
currentItemChanged
getBaseQModel()[source]
getFilterBar()[source]
getPerspectiveBar()[source]
getQModel()[source]
getRefreshBar()[source]
getSelectionBar()[source]
insertToolBar(self, before: Optional[QToolBar], toolbar: Optional[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

Returns:

Return type:

list<TaurusTreeItem>

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