mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-07 00:15:48 -04:00
64 lines
1.8 KiB
Plaintext
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 *
|
|
************************************************************************/
|