QGIS/python/gui/auto_generated/codeeditors/qgscodeeditorhtml.sip.in
2025-03-30 20:48:07 +10:00

64 lines
1.8 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/codeeditors/qgscodeeditorhtml.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsCodeEditorHTML : QgsCodeEditor
{
%Docstring(signature="appended")
A HTML editor based on QScintilla2.
Adds syntax highlighting and code autocompletion.
.. note::
may not be available in Python bindings, depending on platform support
%End
%TypeHeaderCode
#include "qgscodeeditorhtml.h"
%End
public:
QgsCodeEditorHTML( QWidget *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsCodeEditorHTML
%End
virtual Qgis::ScriptLanguage language() const;
virtual Qgis::ScriptLanguageCapabilities languageCapabilities() const;
public slots:
virtual void toggleComment();
%Docstring
Toggle comment for the selected text.
.. versionadded:: 3.32
%End
protected:
virtual void initializeLexer();
virtual QString reformatCodeString( const QString &string );
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/codeeditors/qgscodeeditorhtml.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/