Subgroup: other
Class: QgsTabWidget¶
-
class
qgis.gui.
QgsTabWidget
(parent: QWidget = None)¶ Bases:
PyQt5.QtWidgets.QTabWidget
Create a new QgsTabWidget with the optionally provided parent.
New in version 3.0.
The QgsTabWidget class is the same as the QTabWidget but with additional methods to temporarily hide/show tabs.
New in version 3.0: Methods
actionEvent
changeEvent
childEvent
closeEvent
connectNotify
contextMenuEvent
create
customEvent
destroy
disconnectNotify
dragEnterEvent
dragLeaveEvent
dragMoveEvent
dropEvent
enterEvent
event
focusInEvent
focusNextChild
focusNextPrevChild
focusOutEvent
focusPreviousChild
hideEvent
hideTab
Hides the tab with the given widget initPainter
initStyleOption
inputMethodEvent
isSignalConnected
keyPressEvent
keyReleaseEvent
leaveEvent
metric
mouseDoubleClickEvent
mouseMoveEvent
mousePressEvent
mouseReleaseEvent
moveEvent
nativeEvent
paintEvent
realTabIndex
Returns the index of the tab with the given widget. receivers
resizeEvent
sender
senderSignalIndex
setTabBar
setTabVisible
Control the visibility for the tab with the given widget. sharedPainter
showEvent
showTab
Shows the tab with the given widget tabInserted
Is called internally whenever a new tab has been inserted. tabRemoved
Is called internally whenever a tab has been removed. tabletEvent
timerEvent
updateMicroFocus
wheelEvent
Signals
Attributes
-
actionEvent
()¶
-
changeEvent
()¶
-
childEvent
()¶
-
closeEvent
()¶
-
connectNotify
()¶
-
contextMenuEvent
()¶
-
create
()¶
-
customEvent
()¶
-
destroy
()¶
-
disconnectNotify
()¶
-
dragEnterEvent
()¶
-
dragLeaveEvent
()¶
-
dragMoveEvent
()¶
-
dropEvent
()¶
-
enterEvent
()¶
-
event
()¶
-
focusInEvent
()¶
-
focusNextChild
()¶
-
focusNextPrevChild
()¶
-
focusOutEvent
()¶
-
focusPreviousChild
()¶
-
hideEvent
()¶
-
hideTab
(self, tab: QWidget)¶ Hides the tab with the given widget
New in version 3.0.
-
initPainter
()¶
-
initStyleOption
()¶
-
inputMethodEvent
()¶
-
isSignalConnected
()¶
-
keyPressEvent
()¶
-
keyReleaseEvent
()¶
-
leaveEvent
()¶
-
metric
()¶
-
mouseDoubleClickEvent
()¶
-
mouseMoveEvent
()¶
-
mousePressEvent
()¶
-
mouseReleaseEvent
()¶
-
moveEvent
()¶
-
nativeEvent
()¶
-
paintEvent
()¶
-
realTabIndex
(self, widget: QWidget) → int¶ Returns the index of the tab with the given widget. This index is not the same as the one provided to insertTab and removeTab since these methods are not aware of hidden tabs.
New in version 3.0.
-
receivers
()¶
-
resizeEvent
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setTabBar
()¶
-
setTabVisible
(self, tab: QWidget, visible: bool)¶ Control the visibility for the tab with the given widget.
New in version 3.0.
-
showEvent
()¶
-
showTab
(self, tab: QWidget)¶ Shows the tab with the given widget
New in version 3.0.
-
tabInserted
(self, index: int)¶ Is called internally whenever a new tab has been inserted.
Is used to keep track of currently available and visible tabs.
New in version 3.0.
-
tabRemoved
(self, index: int)¶ Is called internally whenever a tab has been removed.
Is used to keep track of currently available and visible tabs.
New in version 3.0.
-
tabletEvent
()¶
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
wheelEvent
()¶
-