Class: QgsOptionsDialogHighlightTree¶
- class qgis.gui.QgsOptionsDialogHighlightTree¶
Bases:
QgsOptionsDialogHighlightWidget
A highlight widget for trees. This is used to search and highlight text in
QgsOptionsDialogBase
implementations. Highlighting is only available for tree widgets only while searching can be performed in any tree view or inherited class.New in version 3.0.
QgsOptionsDialogHighlightTree(treeView: QTreeView) constructs a highlight widget for a tree view or widget.
Methods
- param text
- param text
- childEvent(self, QChildEvent)¶
- connectNotify(self, QMetaMethod)¶
- customEvent(self, QEvent)¶
- disconnectNotify(self, QMetaMethod)¶
- highlightText(self, text: str) bool ¶
- Parameters
text (str) –
- Return type
bool
- isSignalConnected(self, QMetaMethod) bool ¶
- receivers(self, PYQT_SIGNAL) int ¶
- reset(self)¶
- searchText(self, text: str) bool ¶
- Parameters
text (str) –
- Return type
bool
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- timerEvent(self, QTimerEvent)¶