|
QGIS API Documentation 3.99.0-Master (f78f5286a64)
|
A custom dock widget for code editors. More...
#include <qgscodeeditordockwidget.h>

Public Slots | |
| void | setUserVisible (bool visible) |
| Sets whether the editor is user visible. | |
Signals | |
| void | visibilityChanged (bool isVisible) |
| Emitted when the editor's visibility is changed. | |
Public Member Functions | |
| QgsCodeEditorDockWidget (const QString &dockId=QString(), bool usePersistentWidget=false) | |
| Constructor for QgsCodeEditorDockWidget, with the specified window geometry settings key. | |
| ~QgsCodeEditorDockWidget () override | |
| QToolButton * | dockToggleButton () |
| Returns the dock toggle button for the widget, which is used to toggle between dock or full window mode. | |
| bool | isUserVisible () const |
Returns true if the widget is user visible. | |
| void | setDockObjectName (const QString &name) |
| Sets the object name of the dock widget. | |
| void | setTitle (const QString &title) |
| Sets the title to use for the code editor dock widget or window. | |
A custom dock widget for code editors.
Definition at line 35 of file qgscodeeditordockwidget.h.
| QgsCodeEditorDockWidget::QgsCodeEditorDockWidget | ( | const QString & | dockId = QString(), |
| bool | usePersistentWidget = false |
||
| ) |
Constructor for QgsCodeEditorDockWidget, with the specified window geometry settings key.
If usePersistentWidget is true then the widget (either as a dock or window) cannot be destroyed and must be hidden instead.
Definition at line 20 of file qgscodeeditordockwidget.cpp.
|
override |
Definition at line 48 of file qgscodeeditordockwidget.cpp.
| QToolButton * QgsCodeEditorDockWidget::dockToggleButton | ( | ) |
Returns the dock toggle button for the widget, which is used to toggle between dock or full window mode.
Definition at line 57 of file qgscodeeditordockwidget.cpp.
| bool QgsCodeEditorDockWidget::isUserVisible | ( | ) | const |
Returns true if the widget is user visible.
Definition at line 67 of file qgscodeeditordockwidget.cpp.
| void QgsCodeEditorDockWidget::setDockObjectName | ( | const QString & | name | ) |
Sets the object name of the dock widget.
Definition at line 62 of file qgscodeeditordockwidget.cpp.
| void QgsCodeEditorDockWidget::setTitle | ( | const QString & | title | ) |
Sets the title to use for the code editor dock widget or window.
Definition at line 52 of file qgscodeeditordockwidget.cpp.
|
slot |
Sets whether the editor is user visible.
Definition at line 72 of file qgscodeeditordockwidget.cpp.
|
signal |
Emitted when the editor's visibility is changed.