QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
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 &windowGeometrySettingsKey=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 & | windowGeometrySettingsKey = 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 19 of file qgscodeeditordockwidget.cpp.
|
override |
Definition at line 35 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 45 of file qgscodeeditordockwidget.cpp.
bool QgsCodeEditorDockWidget::isUserVisible | ( | ) | const |
Returns true
if the widget is user visible.
Definition at line 55 of file qgscodeeditordockwidget.cpp.
void QgsCodeEditorDockWidget::setDockObjectName | ( | const QString & | name | ) |
Sets the object name of the dock widget.
Definition at line 50 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 40 of file qgscodeeditordockwidget.cpp.
|
slot |
Sets whether the editor is user visible.
Definition at line 60 of file qgscodeeditordockwidget.cpp.
|
signal |
Emitted when the editor's visibility is changed.