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: PyQt4.QtGui.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(toolbar)[source]
createStatusBar()[source]
createToolArea()[source]
createViewWidget(klass=None)[source]
currentItemChanged
getBaseQModel()[source]
getFilterBar()[source]
getPerspectiveBar()[source]
getQModel()[source]
getRefreshBar()[source]
getSelectionBar()[source]
insertToolBar(before, toolbar)[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]