topbar.tabs#
Defines the main item tab buttons found on the left hand side of the top bar.
Classes:
|
|
|
The base class of our item tab buttons. |
|
|
|
|
|
- class bookmarks.topbar.tabs.AssetsTabButton(parent=None)[source]#
Bases:
BaseTabButton
Methods:
contextMenuEvent
(self, ev)
- class bookmarks.topbar.tabs.BaseTabButton(label, idx, description, parent=None)[source]#
Bases:
QLabel
The base class of our item tab buttons.
Methods:
Slot responsible for setting the size of the widget to match the text.
enterEvent
(self, event)leaveEvent
(self, event)mouseDoubleClickEvent
(self, event)mouseReleaseEvent
(event)Only triggered when the left buttons is pressed.
paintEvent
(event)The control button's paint method - shows the set text and an underline if the tab is active.
showEvent
(event)Show event handler.
text
(self)
- class bookmarks.topbar.tabs.BookmarksTabButton(parent=None)[source]#
Bases:
BaseTabButton
Methods:
contextMenuEvent
(self, ev)
- class bookmarks.topbar.tabs.FavouritesTabButton(parent=None)[source]#
Bases:
BaseTabButton
- class bookmarks.topbar.tabs.FilesTabButton(parent=None)[source]#
Bases:
BaseTabButton
Methods:
contextMenuEvent
(self, ev)paintEvent
(event)Indicating the visibility of the TaskItemView.
text
(self)