toolbar.*¶
Provides
-
class
toolbar.ChartTemplatesToolBar(parent)[source]¶ Bases:
toolbar.ToolBarBaseToolbar for chart dialog for inserting template chart code
- Parameters
parent (
QWidget) – Parent widget, e.g. chart dialog window
-
_create_toolbar(actions)[source]¶ Fills the chart dialog toolbar with QActions
- Parameters
actions (
ChartDialogActions) – Chart dialog actions
-
class
toolbar.FindToolbar(main_window)[source]¶ Bases:
toolbar.ToolBarBaseThe find toolbar for pyspread
- Parameters
main_window (
QMainWindow) – Application main window
-
_create_toolbar(actions)[source]¶ Fills the find toolbar with QActions
- Parameters
actions (
MainWindowActions) – Main window actions
-
class
toolbar.FormatToolbar(main_window)[source]¶ Bases:
toolbar.ToolBarBaseThe format toolbar for pyspread
- Parameters
main_window (
QMainWindow) – Application main window
-
_create_toolbar(actions)[source]¶ Fills the format toolbar with QActions
- Parameters
actions (
MainWindowActions) – Main window actions
-
class
toolbar.MacroToolbar(main_window)[source]¶ Bases:
toolbar.ToolBarBaseThe macro toolbar for pyspread
- Parameters
main_window (
QMainWindow) – Application main window
-
_create_toolbar(actions)[source]¶ Fills the macro toolbar with QActions
- Parameters
actions (
MainWindowActions) – Main window actions
-
class
toolbar.MainToolBar(main_window)[source]¶ Bases:
toolbar.ToolBarBaseThe main toolbar
- Parameters
main_window (
QMainWindow) – Application main window
-
_create_toolbar(actions)[source]¶ Fills the main toolbar with QActions
- Parameters
actions (
MainWindowActions) – Main window actions
-
class
toolbar.ToolBarBase[source]¶ Bases:
PyQt5.QtWidgets.QToolBarBase toolbar class that provides toolbar manager button method
-
add_widget(widget)[source]¶ Adds widget with addWidget and assigns action text and icon
The widget must have a label attribute and an icon method.
- Parameters
widget (
QWidget) – Widget to be added
Returns QToolButton for managing the toolbar
- Return type
QToolButton
-
pyspread