dockwidget — Extended QDockWidget for Enki main window¶
- This class adds next features to QDockWidget:
- has action for showing and focusing the widget
- closes themselves on Esc
- title bar contains QToolBar
DockWidget(parentObject, windowTitle, windowIcon=<QIcon object>, shortcut=None)¶
Extended QDockWidget for Enki main window
Signal emitted, when dock is closed
Signal emitted, when dock is shown
Catch Esc. Not using QShortcut, because dock shall be closed, only if child widgets haven’t catched Esc event
Action shows the widget and set focus on it.
Add this action to the main menu
QToolBar on the title.
You may add own actions to this tool bar
Widget was closed
Widget was shown