mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
make sip bindings to qscintilla derived classes optional (replaces 7e815cad & 8f0b8987)
This commit is contained in:
parent
e47f1112ff
commit
3988ad0f63
@ -31,6 +31,11 @@ ELSE(EXISTS QSCI_MOD_VERSION_STR)
|
||||
ENDIF(qsci_ver)
|
||||
|
||||
IF(QSCI_FOUND)
|
||||
FIND_PATH(QSCI_SIP_DIR
|
||||
NAMES Qsci/qscimod4.sip
|
||||
PATHS ${PYQT4_SIP_DIR}
|
||||
)
|
||||
|
||||
IF(NOT QSCI_FIND_QUIETLY)
|
||||
MESSAGE(STATUS "Found QScintilla2 PyQt4 module: ${QSCI_MOD_VERSION_STR}")
|
||||
ENDIF(NOT QSCI_FIND_QUIETLY)
|
||||
|
@ -41,5 +41,4 @@ try:
|
||||
except ImportError:
|
||||
VER = ""
|
||||
|
||||
|
||||
print("qsci_version_str:%s" % VER)
|
||||
|
3
debian/rules
vendored
3
debian/rules
vendored
@ -62,8 +62,7 @@ CMAKE_OPTS := \
|
||||
-DWITH_INTERNAL_PYGMENTS=FALSE \
|
||||
-DWITH_INTERNAL_DATEUTIL=FALSE \
|
||||
-DWITH_INTERNAL_PYTZ=FALSE \
|
||||
-DWITH_INTERNAL_SIX=FALSE \
|
||||
-DWITH_INTERNAL_QSCINTILLA2_SIPS=TRUE
|
||||
-DWITH_INTERNAL_SIX=FALSE
|
||||
|
||||
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||
|
@ -144,9 +144,12 @@ INCLUDE_DIRECTORIES(
|
||||
FILE(GLOB_RECURSE sip_files_gui gui/*.sip)
|
||||
SET(SIP_EXTRA_FILES_DEPEND ${sip_files_core} ${sip_files_gui})
|
||||
SET(SIP_EXTRA_OPTIONS ${PYQT4_SIP_FLAGS} -o -a ${CMAKE_BINARY_DIR}/python/qgis.gui.api)
|
||||
IF(WITH_INTERNAL_QSCINTILLA2_SIPS)
|
||||
SET(SIP_EXTRA_OPTIONS ${SIP_EXTRA_OPTIONS} -I ${CMAKE_CURRENT_SOURCE_DIR}/ext-libs/python-qscintilla2)
|
||||
ENDIF(WITH_INTERNAL_QSCINTILLA2_SIPS)
|
||||
IF(QSCI_SIP_DIR)
|
||||
SET(SIP_EXTRA_OPTIONS ${SIP_EXTRA_OPTIONS} -I ${QSCI_SIP_DIR})
|
||||
ELSE(QSCI_SIP_DIR)
|
||||
MESSAGE(STATUS "Qsci sip file not found - disabling bindings for derived classes")
|
||||
SET(SIP_DISABLE_FEATURES ${SIP_DISABLE_FEATURES} HAVE_QSCI_SIP)
|
||||
ENDIF(QSCI_SIP_DIR)
|
||||
|
||||
IF(UNIX AND NOT SIP_VERSION_NUM LESS 265984)
|
||||
SET(SIP_EXTRA_OPTIONS -P ${SIP_EXTRA_OPTIONS})
|
||||
|
@ -1,59 +0,0 @@
|
||||
// This is the SIP interface definition for QsciAbstractAPIs.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciAbstractAPIs : QObject
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qsciabstractapis.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
%If (Qsci_Qt4)
|
||||
QsciAbstractAPIs(QsciLexer *lexer /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciAbstractAPIs(QsciLexer *lexer /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciAbstractAPIs();
|
||||
|
||||
QsciLexer *lexer() const;
|
||||
|
||||
virtual void updateAutoCompletionList(const QStringList &context,
|
||||
QStringList &list) = 0;
|
||||
virtual void autoCompletionSelected(const QString &selection);
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
virtual QStringList callTips(const QStringList &context, int commas,
|
||||
QsciScintilla::CallTipsStyle style, QList<int> &shifts) = 0;
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
virtual QStringList callTips(const QStringList &context, int commas,
|
||||
QsciScintilla::CallTipsStyle style, QValueList<int> &shifts) = 0;
|
||||
%End
|
||||
|
||||
private:
|
||||
QsciAbstractAPIs(const QsciAbstractAPIs &);
|
||||
};
|
@ -1,75 +0,0 @@
|
||||
// This is the SIP interface definition for QsciAPIs.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciAPIs : QsciAbstractAPIs
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qsciapis.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
%If (Qsci_Qt4)
|
||||
QsciAPIs(QsciLexer *lexer /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciAPIs(QsciLexer *lexer /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciAPIs();
|
||||
|
||||
void add(const QString &entry);
|
||||
void clear();
|
||||
bool load(const QString &fname);
|
||||
void remove(const QString &entry);
|
||||
void prepare();
|
||||
void cancelPreparation();
|
||||
QString defaultPreparedName() const;
|
||||
bool isPrepared(const QString &filename = QString()) const;
|
||||
bool loadPrepared(const QString &filename = QString());
|
||||
bool savePrepared(const QString &filename = QString()) const;
|
||||
virtual bool event(QEvent *e);
|
||||
QStringList installedAPIFiles() const;
|
||||
|
||||
virtual void updateAutoCompletionList(const QStringList &context,
|
||||
QStringList &list);
|
||||
virtual void autoCompletionSelected(const QString &selection);
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
virtual QStringList callTips(const QStringList &context, int commas,
|
||||
QsciScintilla::CallTipsStyle style, QList<int> &shifts);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
virtual QStringList callTips(const QStringList &context, int commas,
|
||||
QsciScintilla::CallTipsStyle style, QValueList<int> &shifts);
|
||||
%End
|
||||
|
||||
signals:
|
||||
void apiPreparationCancelled();
|
||||
void apiPreparationStarted();
|
||||
void apiPreparationFinished();
|
||||
|
||||
private:
|
||||
QsciAPIs(const QsciAPIs &);
|
||||
};
|
@ -1,147 +0,0 @@
|
||||
// This is the SIP interface definition for QsciCommand.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciCommand
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscicommand.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum Command {
|
||||
LineDown,
|
||||
LineDownExtend,
|
||||
LineDownRectExtend,
|
||||
LineScrollDown,
|
||||
LineUp,
|
||||
LineUpExtend,
|
||||
LineUpRectExtend,
|
||||
LineScrollUp,
|
||||
ScrollToStart,
|
||||
ScrollToEnd,
|
||||
VerticalCentreCaret,
|
||||
ParaDown,
|
||||
ParaDownExtend,
|
||||
ParaUp,
|
||||
ParaUpExtend,
|
||||
CharLeft,
|
||||
CharLeftExtend,
|
||||
CharLeftRectExtend,
|
||||
CharRight,
|
||||
CharRightExtend,
|
||||
CharRightRectExtend,
|
||||
WordLeft,
|
||||
WordLeftExtend,
|
||||
WordRight,
|
||||
WordRightExtend,
|
||||
WordLeftEnd,
|
||||
WordLeftEndExtend,
|
||||
WordRightEnd,
|
||||
WordRightEndExtend,
|
||||
WordPartLeft,
|
||||
WordPartLeftExtend,
|
||||
WordPartRight,
|
||||
WordPartRightExtend,
|
||||
Home,
|
||||
HomeExtend,
|
||||
HomeRectExtend,
|
||||
HomeDisplay,
|
||||
HomeDisplayExtend,
|
||||
HomeWrap,
|
||||
HomeWrapExtend,
|
||||
VCHome,
|
||||
VCHomeExtend,
|
||||
VCHomeRectExtend,
|
||||
VCHomeWrap,
|
||||
VCHomeWrapExtend,
|
||||
LineEnd,
|
||||
LineEndExtend,
|
||||
LineEndRectExtend,
|
||||
LineEndDisplay,
|
||||
LineEndDisplayExtend,
|
||||
LineEndWrap,
|
||||
LineEndWrapExtend,
|
||||
DocumentStart,
|
||||
DocumentStartExtend,
|
||||
DocumentEnd,
|
||||
DocumentEndExtend,
|
||||
PageUp,
|
||||
PageUpExtend,
|
||||
PageUpRectExtend,
|
||||
PageDown,
|
||||
PageDownExtend,
|
||||
PageDownRectExtend,
|
||||
StutteredPageUp,
|
||||
StutteredPageUpExtend,
|
||||
StutteredPageDown,
|
||||
StutteredPageDownExtend,
|
||||
Delete,
|
||||
DeleteBack,
|
||||
DeleteBackNotLine,
|
||||
DeleteWordLeft,
|
||||
DeleteWordRight,
|
||||
DeleteWordRightEnd,
|
||||
DeleteLineLeft,
|
||||
DeleteLineRight,
|
||||
LineDelete,
|
||||
LineCut,
|
||||
LineCopy,
|
||||
LineTranspose,
|
||||
LineDuplicate,
|
||||
SelectAll,
|
||||
MoveSelectedLinesUp,
|
||||
MoveSelectedLinesDown,
|
||||
SelectionDuplicate,
|
||||
SelectionLowerCase,
|
||||
SelectionUpperCase,
|
||||
SelectionCut,
|
||||
SelectionCopy,
|
||||
Paste,
|
||||
EditToggleOvertype,
|
||||
Newline,
|
||||
Formfeed,
|
||||
Tab,
|
||||
Backtab,
|
||||
Cancel,
|
||||
Undo,
|
||||
Redo,
|
||||
ZoomIn,
|
||||
ZoomOut,
|
||||
};
|
||||
|
||||
Command command() const;
|
||||
void execute();
|
||||
void setKey(int key);
|
||||
void setAlternateKey(int altkey);
|
||||
int key() const;
|
||||
int alternateKey() const;
|
||||
static bool validKey(int key);
|
||||
QString description() const;
|
||||
|
||||
private:
|
||||
QsciCommand(QsciScintilla *qs, Command cmd, int key, int altkey,
|
||||
const char *desc);
|
||||
QsciCommand(const QsciCommand &);
|
||||
};
|
@ -1,54 +0,0 @@
|
||||
// This is the SIP interface definition for the QsciCommandSet.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciCommandSet
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscicommandset.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
bool readSettings(QSettings &qs, const char *prefix = "/Scintilla");
|
||||
bool writeSettings(QSettings &qs, const char *prefix = "/Scintilla");
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QList<QsciCommand *> &commands();
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QPtrList<QsciCommand> &commands();
|
||||
%End
|
||||
|
||||
void clearKeys();
|
||||
void clearAlternateKeys();
|
||||
|
||||
QsciCommand *boundTo(int key) const;
|
||||
QsciCommand *find(QsciCommand::Command command) const;
|
||||
|
||||
private:
|
||||
QsciCommandSet(QsciScintilla *qs);
|
||||
~QsciCommandSet();
|
||||
|
||||
QsciCommandSet(const QsciCommandSet &);
|
||||
};
|
@ -1,37 +0,0 @@
|
||||
// This is the SIP interface definition for QsciDocument.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciDocument
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscidocument.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
QsciDocument();
|
||||
virtual ~QsciDocument();
|
||||
|
||||
QsciDocument(const QsciDocument &);
|
||||
};
|
@ -1,91 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexer.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexer : QObject
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexer.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexer(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexer(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexer();
|
||||
|
||||
virtual const char *language() const = 0;
|
||||
virtual const char *lexer() const;
|
||||
virtual int lexerId() const;
|
||||
QsciAbstractAPIs *apis() const;
|
||||
int autoIndentStyle();
|
||||
virtual QColor color(int style) const;
|
||||
virtual bool eolFill(int style) const;
|
||||
virtual QFont font(int style) const;
|
||||
virtual const char *keywords(int set) const;
|
||||
virtual QString description(int style) const = 0;
|
||||
virtual QColor paper(int style) const;
|
||||
QColor defaultColor() const;
|
||||
virtual QColor defaultColor(int style) const;
|
||||
virtual bool defaultEolFill(int style) const;
|
||||
QFont defaultFont() const;
|
||||
virtual QFont defaultFont(int style) const;
|
||||
QColor defaultPaper() const;
|
||||
virtual QColor defaultPaper(int style) const;
|
||||
QsciScintilla *editor() const;
|
||||
virtual void refreshProperties();
|
||||
void setAPIs(QsciAbstractAPIs *apis);
|
||||
void setDefaultColor(const QColor &c);
|
||||
void setDefaultFont(const QFont &f);
|
||||
void setDefaultPaper(const QColor &c);
|
||||
virtual int styleBitsNeeded() const;
|
||||
virtual const char *wordCharacters() const;
|
||||
bool readSettings(QSettings &qs, const char *prefix = "/Scintilla");
|
||||
bool writeSettings(QSettings &qs, const char *prefix = "/Scintilla") const;
|
||||
|
||||
public slots:
|
||||
virtual void setAutoIndentStyle(int autoindentstyle);
|
||||
virtual void setColor(const QColor &c, int style = -1);
|
||||
virtual void setEolFill(bool eolfill, int style = -1);
|
||||
virtual void setFont(const QFont &f, int style = -1);
|
||||
virtual void setPaper(const QColor &c, int style = -1);
|
||||
|
||||
signals:
|
||||
void colorChanged(const QColor &c, int style);
|
||||
void eolFillChanged(bool eolfilled, int style);
|
||||
void fontChanged(const QFont &f, int style);
|
||||
void paperChanged(const QColor &c, int style);
|
||||
void propertyChanged(const char *prop, const char *val);
|
||||
|
||||
protected:
|
||||
virtual bool readProperties(QSettings &qs, const QString &prefix);
|
||||
virtual bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexer(const QsciLexer &);
|
||||
};
|
@ -1,82 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerAVS.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerAVS : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexeravs.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
BlockComment,
|
||||
NestedBlockComment,
|
||||
LineComment,
|
||||
Number,
|
||||
Operator,
|
||||
Identifier,
|
||||
String,
|
||||
TripleString,
|
||||
Keyword,
|
||||
Filter,
|
||||
Plugin,
|
||||
Function,
|
||||
ClipProperty,
|
||||
KeywordSet6
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerAVS(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerAVS(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerAVS();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
const char *wordCharacters() const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldComments() const;
|
||||
bool foldCompact() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldComments(bool fold);
|
||||
virtual void setFoldCompact(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerAVS(const QsciLexerAVS &);
|
||||
};
|
@ -1,83 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerBash.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerBash : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerbash.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Error,
|
||||
Comment,
|
||||
Number,
|
||||
Keyword,
|
||||
DoubleQuotedString,
|
||||
SingleQuotedString,
|
||||
Operator,
|
||||
Identifier,
|
||||
Scalar,
|
||||
ParameterExpansion,
|
||||
Backticks,
|
||||
HereDocumentDelimiter,
|
||||
SingleQuotedHereDocument
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerBash(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerBash(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerBash();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
const char *wordCharacters() const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldComments() const;
|
||||
bool foldCompact() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldComments(bool fold);
|
||||
virtual void setFoldCompact(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerBash(const QsciLexerBash &);
|
||||
};
|
@ -1,65 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerBatch.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerBatch : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerbatch.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
Keyword,
|
||||
Label,
|
||||
HideCommandChar,
|
||||
ExternalCommand,
|
||||
Variable,
|
||||
Operator
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerBatch(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerBatch(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerBatch();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
const char *wordCharacters() const;
|
||||
|
||||
private:
|
||||
QsciLexerBatch(const QsciLexerBatch &);
|
||||
};
|
@ -1,80 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerCMake.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerCMake : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexercmake.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
String,
|
||||
StringLeftQuote,
|
||||
StringRightQuote,
|
||||
Function,
|
||||
Variable,
|
||||
Label,
|
||||
KeywordSet3,
|
||||
BlockWhile,
|
||||
BlockForeach,
|
||||
BlockIf,
|
||||
BlockMacro,
|
||||
StringVariable,
|
||||
Number
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerCMake(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerCMake(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerCMake();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldAtElse() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldAtElse(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerCMake(const QsciLexerCMake &);
|
||||
};
|
@ -1,95 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerCoffeeScript.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerCoffeeScript : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexercoffeescript.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
CommentLine,
|
||||
CommentDoc,
|
||||
Number,
|
||||
Keyword,
|
||||
DoubleQuotedString,
|
||||
SingleQuotedString,
|
||||
UUID,
|
||||
PreProcessor,
|
||||
Operator,
|
||||
Identifier,
|
||||
UnclosedString,
|
||||
VerbatimString,
|
||||
Regex,
|
||||
CommentLineDoc,
|
||||
KeywordSet2,
|
||||
CommentDocKeyword,
|
||||
CommentDocKeywordError,
|
||||
GlobalClass,
|
||||
CommentBlock,
|
||||
BlockRegex,
|
||||
BlockRegexComment,
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerCoffeeScript(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerCoffeeScript(QObject *parent /TransferThis/ = 0,
|
||||
const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerCoffeeScript();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
const char *wordCharacters() const;
|
||||
|
||||
void refreshProperties();
|
||||
bool dollarsAllowed() const;
|
||||
void setDollarsAllowed(bool allowed);
|
||||
bool foldComments() const;
|
||||
void setFoldComments(bool fold);
|
||||
bool foldCompact() const;
|
||||
void setFoldCompact(bool fold);
|
||||
bool stylePreprocessor() const;
|
||||
void setStylePreprocessor(bool style);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerCoffeeScript(const QsciLexerCoffeeScript &);
|
||||
};
|
@ -1,131 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerCPP.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerCPP : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexercpp.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
InactiveDefault,
|
||||
Comment,
|
||||
InactiveComment,
|
||||
CommentLine,
|
||||
InactiveCommentLine,
|
||||
CommentDoc,
|
||||
InactiveCommentDoc,
|
||||
Number,
|
||||
InactiveNumber,
|
||||
Keyword,
|
||||
InactiveKeyword,
|
||||
DoubleQuotedString,
|
||||
InactiveDoubleQuotedString,
|
||||
SingleQuotedString,
|
||||
InactiveSingleQuotedString,
|
||||
UUID,
|
||||
InactiveUUID,
|
||||
PreProcessor,
|
||||
InactivePreProcessor,
|
||||
Operator,
|
||||
InactiveOperator,
|
||||
Identifier,
|
||||
InactiveIdentifier,
|
||||
UnclosedString,
|
||||
InactiveUnclosedString,
|
||||
VerbatimString,
|
||||
InactiveVerbatimString,
|
||||
Regex,
|
||||
InactiveRegex,
|
||||
CommentLineDoc,
|
||||
InactiveCommentLineDoc,
|
||||
KeywordSet2,
|
||||
InactiveKeywordSet2,
|
||||
CommentDocKeyword,
|
||||
InactiveCommentDocKeyword,
|
||||
CommentDocKeywordError,
|
||||
InactiveCommentDocKeywordError,
|
||||
GlobalClass,
|
||||
InactiveGlobalClass,
|
||||
RawString,
|
||||
InactiveRawString,
|
||||
TripleQuotedVerbatimString,
|
||||
InactiveTripleQuotedVerbatimString,
|
||||
HashQuotedString,
|
||||
InactiveHashQuotedString,
|
||||
PreProcessorComment,
|
||||
InactivePreProcessorComment,
|
||||
PreProcessorCommentLineDoc,
|
||||
InactivePreProcessorCommentLineDoc,
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerCPP(QObject *parent /TransferThis/ = 0,
|
||||
bool caseInsensitiveKeywords = false);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerCPP(QObject *parent /TransferThis/ = 0, const char *name = 0,
|
||||
bool caseInsensitiveKeywords = false);
|
||||
%End
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
const char *wordCharacters() const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldAtElse() const;
|
||||
bool foldComments() const;
|
||||
bool foldCompact() const;
|
||||
bool foldPreprocessor() const;
|
||||
bool stylePreprocessor() const;
|
||||
void setDollarsAllowed(bool allowed);
|
||||
bool dollarsAllowed() const;
|
||||
void setHighlightTripleQuotedStrings(bool enable);
|
||||
bool highlightTripleQuotedStrings() const;
|
||||
void setHighlightHashQuotedStrings(bool enable);
|
||||
bool highlightHashQuotedStrings() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldAtElse(bool fold);
|
||||
virtual void setFoldComments(bool fold);
|
||||
virtual void setFoldCompact(bool fold);
|
||||
virtual void setFoldPreprocessor(bool fold);
|
||||
virtual void setStylePreprocessor(bool style);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerCPP(const QsciLexerCPP &);
|
||||
};
|
@ -1,52 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerCSharp.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerCSharp : QsciLexerCPP
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexercsharp.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerCSharp(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerCSharp(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerCSharp();
|
||||
|
||||
const char *language() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
|
||||
private:
|
||||
QsciLexerCSharp(const QsciLexerCSharp &);
|
||||
};
|
@ -1,97 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerCSS.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerCSS : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexercss.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Tag,
|
||||
ClassSelector,
|
||||
PseudoClass,
|
||||
UnknownPseudoClass,
|
||||
Operator,
|
||||
CSS1Property,
|
||||
UnknownProperty,
|
||||
Value,
|
||||
Comment,
|
||||
IDSelector,
|
||||
Important,
|
||||
AtRule,
|
||||
DoubleQuotedString,
|
||||
SingleQuotedString,
|
||||
CSS2Property,
|
||||
Attribute,
|
||||
CSS3Property,
|
||||
PseudoElement,
|
||||
ExtendedCSSProperty,
|
||||
ExtendedPseudoClass,
|
||||
ExtendedPseudoElement,
|
||||
MediaRule,
|
||||
Variable,
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerCSS(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerCSS(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerCSS();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
const char *wordCharacters() const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldComments() const;
|
||||
bool foldCompact() const;
|
||||
void setHSSLanguage(bool enable);
|
||||
bool HSSLanguage() const;
|
||||
void setLessLanguage(bool enable);
|
||||
bool LessLanguage() const;
|
||||
void setSCSSLanguage(bool enable);
|
||||
bool SCSSLanguage() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldComments(bool fold);
|
||||
virtual void setFoldCompact(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerCSS(const QsciLexerCSS &);
|
||||
};
|
@ -1,53 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerCustom.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerCustom : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexercustom.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerCustom(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerCustom(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerCustom();
|
||||
|
||||
virtual void setEditor(QsciScintilla *editor);
|
||||
virtual int styleBitsNeeded() const;
|
||||
|
||||
void setStyling(int length, int style);
|
||||
void setStyling(int length, const QsciStyle &style);
|
||||
|
||||
void startStyling(int pos, int styleBits = 0);
|
||||
virtual void styleText(int start, int end) = 0;
|
||||
|
||||
private:
|
||||
QsciLexerCustom(const QsciLexerCustom &);
|
||||
};
|
@ -1,92 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerD.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerD : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerd.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
CommentLine,
|
||||
CommentDoc,
|
||||
CommentNested,
|
||||
Number,
|
||||
Keyword,
|
||||
KeywordSecondary,
|
||||
KeywordDoc,
|
||||
Typedefs,
|
||||
String,
|
||||
UnclosedString,
|
||||
Character,
|
||||
Operator,
|
||||
Identifier,
|
||||
CommentLineDoc,
|
||||
CommentDocKeyword,
|
||||
CommentDocKeywordError,
|
||||
BackquoteString,
|
||||
RawString,
|
||||
KeywordSet5,
|
||||
KeywordSet6,
|
||||
KeywordSet7,
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerD(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerD(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
const char *wordCharacters() const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldAtElse() const;
|
||||
bool foldComments() const;
|
||||
bool foldCompact() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldAtElse(bool fold);
|
||||
virtual void setFoldComments(bool fold);
|
||||
virtual void setFoldCompact(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerD(const QsciLexerD &);
|
||||
};
|
@ -1,61 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerDiff.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerDiff : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerdiff.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
Command,
|
||||
Header,
|
||||
Position,
|
||||
LineRemoved,
|
||||
LineAdded,
|
||||
LineChanged
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerDiff(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerDiff(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerDiff();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
QString description(int style) const;
|
||||
const char *wordCharacters() const;
|
||||
|
||||
private:
|
||||
QsciLexerDiff(const QsciLexerDiff &);
|
||||
};
|
@ -1,46 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerFortran.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerFortran : QsciLexerFortran77
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerfortran.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerFortran(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerFortran(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
const char *keywords(int set) const;
|
||||
|
||||
private:
|
||||
QsciLexerFortran(const QsciLexerFortran &);
|
||||
};
|
@ -1,80 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerFortran77.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerFortran77 : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerfortran77.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
Number,
|
||||
SingleQuotedString,
|
||||
DoubleQuotedString,
|
||||
UnclosedString,
|
||||
Operator,
|
||||
Identifier,
|
||||
Keyword,
|
||||
IntrinsicFunction,
|
||||
ExtendedFunction,
|
||||
PreProcessor,
|
||||
DottedOperator,
|
||||
Label,
|
||||
Continuation,
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerFortran77(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerFortran77(QObject *parent /TransferThis/ = 0,
|
||||
const char *name = 0);
|
||||
%End
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldCompact() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldCompact(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerFortran77(const QsciLexerFortran77 &);
|
||||
};
|
@ -1,189 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerHTML.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerHTML : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerhtml.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Tag,
|
||||
UnknownTag,
|
||||
Attribute,
|
||||
UnknownAttribute,
|
||||
HTMLNumber,
|
||||
HTMLDoubleQuotedString,
|
||||
HTMLSingleQuotedString,
|
||||
OtherInTag,
|
||||
HTMLComment,
|
||||
Entity,
|
||||
XMLTagEnd,
|
||||
XMLStart,
|
||||
XMLEnd,
|
||||
Script,
|
||||
ASPAtStart,
|
||||
ASPStart,
|
||||
CDATA,
|
||||
PHPStart,
|
||||
HTMLValue,
|
||||
ASPXCComment,
|
||||
SGMLDefault,
|
||||
SGMLCommand,
|
||||
SGMLParameter,
|
||||
SGMLDoubleQuotedString,
|
||||
SGMLSingleQuotedString,
|
||||
SGMLError,
|
||||
SGMLSpecial,
|
||||
SGMLEntity,
|
||||
SGMLComment,
|
||||
SGMLParameterComment,
|
||||
SGMLBlockDefault,
|
||||
JavaScriptStart,
|
||||
JavaScriptDefault,
|
||||
JavaScriptComment,
|
||||
JavaScriptCommentLine,
|
||||
JavaScriptCommentDoc,
|
||||
JavaScriptNumber,
|
||||
JavaScriptWord,
|
||||
JavaScriptKeyword,
|
||||
JavaScriptDoubleQuotedString,
|
||||
JavaScriptSingleQuotedString,
|
||||
JavaScriptSymbol,
|
||||
JavaScriptUnclosedString,
|
||||
JavaScriptRegex,
|
||||
ASPJavaScriptStart,
|
||||
ASPJavaScriptDefault,
|
||||
ASPJavaScriptComment,
|
||||
ASPJavaScriptCommentLine,
|
||||
ASPJavaScriptCommentDoc,
|
||||
ASPJavaScriptNumber,
|
||||
ASPJavaScriptWord,
|
||||
ASPJavaScriptKeyword,
|
||||
ASPJavaScriptDoubleQuotedString,
|
||||
ASPJavaScriptSingleQuotedString,
|
||||
ASPJavaScriptSymbol,
|
||||
ASPJavaScriptUnclosedString,
|
||||
ASPJavaScriptRegex,
|
||||
VBScriptStart,
|
||||
VBScriptDefault,
|
||||
VBScriptComment,
|
||||
VBScriptNumber,
|
||||
VBScriptKeyword,
|
||||
VBScriptString,
|
||||
VBScriptIdentifier,
|
||||
VBScriptUnclosedString,
|
||||
ASPVBScriptStart,
|
||||
ASPVBScriptDefault,
|
||||
ASPVBScriptComment,
|
||||
ASPVBScriptNumber,
|
||||
ASPVBScriptKeyword,
|
||||
ASPVBScriptString,
|
||||
ASPVBScriptIdentifier,
|
||||
ASPVBScriptUnclosedString,
|
||||
PythonStart,
|
||||
PythonDefault,
|
||||
PythonComment,
|
||||
PythonNumber,
|
||||
PythonDoubleQuotedString,
|
||||
PythonSingleQuotedString,
|
||||
PythonKeyword,
|
||||
PythonTripleSingleQuotedString,
|
||||
PythonTripleDoubleQuotedString,
|
||||
PythonClassName,
|
||||
PythonFunctionMethodName,
|
||||
PythonOperator,
|
||||
PythonIdentifier,
|
||||
ASPPythonStart,
|
||||
ASPPythonDefault,
|
||||
ASPPythonComment,
|
||||
ASPPythonNumber,
|
||||
ASPPythonDoubleQuotedString,
|
||||
ASPPythonSingleQuotedString,
|
||||
ASPPythonKeyword,
|
||||
ASPPythonTripleSingleQuotedString,
|
||||
ASPPythonTripleDoubleQuotedString,
|
||||
ASPPythonClassName,
|
||||
ASPPythonFunctionMethodName,
|
||||
ASPPythonOperator,
|
||||
ASPPythonIdentifier,
|
||||
PHPDefault,
|
||||
PHPDoubleQuotedString,
|
||||
PHPSingleQuotedString,
|
||||
PHPKeyword,
|
||||
PHPNumber,
|
||||
PHPVariable,
|
||||
PHPComment,
|
||||
PHPCommentLine,
|
||||
PHPDoubleQuotedVariable,
|
||||
PHPOperator
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerHTML(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerHTML(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerHTML();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
const char *wordCharacters() const;
|
||||
|
||||
void refreshProperties();
|
||||
bool caseSensitiveTags() const;
|
||||
void setDjangoTemplates(bool enable);
|
||||
bool djangoTemplates() const;
|
||||
bool foldCompact() const;
|
||||
bool foldPreprocessor() const;
|
||||
void setFoldScriptComments(bool fold);
|
||||
bool foldScriptComments() const;
|
||||
void setFoldScriptHeredocs(bool fold);
|
||||
bool foldScriptHeredocs() const;
|
||||
void setMakoTemplates(bool enable);
|
||||
bool makoTemplates() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldCompact(bool fold);
|
||||
virtual void setFoldPreprocessor(bool fold);
|
||||
virtual void setCaseSensitiveTags(bool sens);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerHTML(const QsciLexerHTML &);
|
||||
};
|
@ -1,49 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerIDL.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerIDL : QsciLexerCPP
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexeridl.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerIDL(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerIDL(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerIDL();
|
||||
|
||||
const char *language() const;
|
||||
QColor defaultColor(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
|
||||
private:
|
||||
QsciLexerIDL(const QsciLexerIDL &);
|
||||
};
|
@ -1,47 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerJava.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerJava : QsciLexerCPP
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerjava.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerJava(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerJava(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerJava();
|
||||
|
||||
const char *language() const;
|
||||
const char *keywords(int set) const;
|
||||
|
||||
private:
|
||||
QsciLexerJava(const QsciLexerJava &);
|
||||
};
|
@ -1,53 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerJavaScript.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerJavaScript : QsciLexerCPP
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerjavascript.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerJavaScript(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerJavaScript(QObject *parent /TransferThis/ = 0,
|
||||
const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerJavaScript();
|
||||
|
||||
const char *language() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
|
||||
private:
|
||||
QsciLexerJavaScript(const QsciLexerJavaScript &);
|
||||
};
|
@ -1,86 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerLua.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerLua : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerlua.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
LineComment,
|
||||
Number,
|
||||
Keyword,
|
||||
String,
|
||||
Character,
|
||||
LiteralString,
|
||||
Preprocessor,
|
||||
Operator,
|
||||
Identifier,
|
||||
UnclosedString,
|
||||
BasicFunctions,
|
||||
StringTableMathsFunctions,
|
||||
CoroutinesIOSystemFacilities,
|
||||
KeywordSet5,
|
||||
KeywordSet6,
|
||||
KeywordSet7,
|
||||
KeywordSet8,
|
||||
Label,
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerLua(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerLua(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerLua();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldCompact() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldCompact(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerLua(const QsciLexerLua &);
|
||||
};
|
@ -1,63 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerMakefile.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerMakefile : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexermakefile.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
Preprocessor,
|
||||
Variable,
|
||||
Operator,
|
||||
Target,
|
||||
Error
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerMakefile(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerMakefile(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerMakefile();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
QString description(int style) const;
|
||||
const char *wordCharacters() const;
|
||||
|
||||
private:
|
||||
QsciLexerMakefile(const QsciLexerMakefile &);
|
||||
};
|
@ -1,63 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerMatlab.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerMatlab : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexermatlab.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
Command,
|
||||
Number,
|
||||
Keyword,
|
||||
SingleQuotedString,
|
||||
Operator,
|
||||
Identifier,
|
||||
DoubleQuotedString
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerMatlab(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerMatlab(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerMatlab();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
|
||||
private:
|
||||
QsciLexerMatlab(const QsciLexerMatlab &);
|
||||
};
|
@ -1,48 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerOctave.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerOctave : QsciLexerMatlab
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexeroctave.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerOctave(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerOctave(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerOctave();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
const char *keywords(int set) const;
|
||||
|
||||
private:
|
||||
QsciLexerOctave(const QsciLexerOctave &);
|
||||
};
|
@ -1,86 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerPascal.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerPascal : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerpascal.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Identifier,
|
||||
Comment,
|
||||
CommentParenthesis,
|
||||
CommentLine,
|
||||
PreProcessor,
|
||||
PreProcessorParenthesis,
|
||||
Number,
|
||||
HexNumber,
|
||||
Keyword,
|
||||
SingleQuotedString,
|
||||
UnclosedString,
|
||||
Character,
|
||||
Operator,
|
||||
Asm,
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerPascal(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerPascal(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldComments() const;
|
||||
bool foldCompact() const;
|
||||
bool foldPreprocessor() const;
|
||||
|
||||
void setSmartHighlighting(bool enabled);
|
||||
bool smartHighlighting() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldComments(bool fold);
|
||||
virtual void setFoldCompact(bool fold);
|
||||
virtual void setFoldPreprocessor(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerPascal(const QsciLexerPascal &);
|
||||
};
|
@ -1,117 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerPerl.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerPerl : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerperl.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Error,
|
||||
Comment,
|
||||
POD,
|
||||
Number,
|
||||
Keyword,
|
||||
DoubleQuotedString,
|
||||
SingleQuotedString,
|
||||
Operator,
|
||||
Identifier,
|
||||
Scalar,
|
||||
Array,
|
||||
Hash,
|
||||
SymbolTable,
|
||||
Regex,
|
||||
Substitution,
|
||||
Backticks,
|
||||
DataSection,
|
||||
HereDocumentDelimiter,
|
||||
SingleQuotedHereDocument,
|
||||
DoubleQuotedHereDocument,
|
||||
BacktickHereDocument,
|
||||
QuotedStringQ,
|
||||
QuotedStringQQ,
|
||||
QuotedStringQX,
|
||||
QuotedStringQR,
|
||||
QuotedStringQW,
|
||||
PODVerbatim,
|
||||
SubroutinePrototype,
|
||||
FormatIdentifier,
|
||||
FormatBody,
|
||||
DoubleQuotedStringVar,
|
||||
Translation,
|
||||
RegexVar,
|
||||
SubstitutionVar,
|
||||
BackticksVar,
|
||||
DoubleQuotedHereDocumentVar,
|
||||
BacktickHereDocumentVar,
|
||||
QuotedStringQQVar,
|
||||
QuotedStringQXVar,
|
||||
QuotedStringQRVar,
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerPerl(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerPerl(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerPerl();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
const char *wordCharacters() const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldComments() const;
|
||||
bool foldCompact() const;
|
||||
|
||||
void setFoldAtElse(bool fold);
|
||||
bool foldAtElse() const;
|
||||
void setFoldPackages(bool fold);
|
||||
bool foldPackages() const;
|
||||
void setFoldPODBlocks(bool fold);
|
||||
bool foldPODBlocks() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldComments(bool fold);
|
||||
virtual void setFoldCompact(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerPerl(const QsciLexerPerl &);
|
||||
};
|
@ -1,80 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerPO.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerPO : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerpo.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
MessageId,
|
||||
MessageIdText,
|
||||
MessageString,
|
||||
MessageStringText,
|
||||
MessageContext,
|
||||
MessageContextText,
|
||||
Fuzzy,
|
||||
ProgrammerComment,
|
||||
Reference,
|
||||
Flags,
|
||||
MessageIdTextEOL,
|
||||
MessageStringTextEOL,
|
||||
MessageContextTextEOL
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerPO(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerPO(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerPO();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QString description(int style) const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldComments() const;
|
||||
bool foldCompact() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldComments(bool fold);
|
||||
virtual void setFoldCompact(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerPO(const QsciLexerPO &);
|
||||
};
|
@ -1,87 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerPostScript.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerPostScript : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerpostscript.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
DSCComment,
|
||||
DSCCommentValue,
|
||||
Number,
|
||||
Name,
|
||||
Keyword,
|
||||
Literal,
|
||||
ImmediateEvalLiteral,
|
||||
ArrayParenthesis,
|
||||
DictionaryParenthesis,
|
||||
ProcedureParenthesis,
|
||||
Text,
|
||||
HexString,
|
||||
Base85String,
|
||||
BadStringCharacter
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerPostScript(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerPostScript(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerPostScript();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
|
||||
void refreshProperties();
|
||||
bool tokenize() const;
|
||||
int level() const;
|
||||
bool foldCompact() const;
|
||||
bool foldAtElse() const;
|
||||
|
||||
public slots:
|
||||
virtual void setTokenize(bool tokenize);
|
||||
virtual void setLevel(int level);
|
||||
virtual void setFoldCompact(bool fold);
|
||||
virtual void setFoldAtElse(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerPostScript(const QsciLexerPostScript &);
|
||||
};
|
@ -1,88 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerPOV.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerPOV : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerpov.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
CommentLine,
|
||||
Number,
|
||||
Operator,
|
||||
Identifier,
|
||||
String,
|
||||
UnclosedString,
|
||||
Directive,
|
||||
BadDirective,
|
||||
ObjectsCSGAppearance,
|
||||
TypesModifiersItems,
|
||||
PredefinedIdentifiers,
|
||||
PredefinedFunctions,
|
||||
KeywordSet6,
|
||||
KeywordSet7,
|
||||
KeywordSet8
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerPOV(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerPOV(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerPOV();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
const char *wordCharacters() const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldComments() const;
|
||||
bool foldCompact() const;
|
||||
bool foldDirectives() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldComments(bool fold);
|
||||
virtual void setFoldCompact(bool fold);
|
||||
virtual void setFoldDirectives(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerPOV(const QsciLexerPOV &);
|
||||
};
|
@ -1,75 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerProperties.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerProperties : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerproperties.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
Section,
|
||||
Assignment,
|
||||
DefaultValue,
|
||||
Key
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerProperties(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerProperties(QObject *parent /TransferThis/ = 0,
|
||||
const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerProperties();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
QString description(int style) const;
|
||||
const char *wordCharacters() const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldCompact() const;
|
||||
void setInitialSpaces(bool enable);
|
||||
bool initialSpaces() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldCompact(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerProperties(const QsciLexerProperties &);
|
||||
};
|
@ -1,106 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerPython.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerPython : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerpython.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
Number,
|
||||
DoubleQuotedString,
|
||||
SingleQuotedString,
|
||||
Keyword,
|
||||
TripleSingleQuotedString,
|
||||
TripleDoubleQuotedString,
|
||||
ClassName,
|
||||
FunctionMethodName,
|
||||
Operator,
|
||||
Identifier,
|
||||
CommentBlock,
|
||||
UnclosedString,
|
||||
HighlightedIdentifier,
|
||||
Decorator,
|
||||
};
|
||||
|
||||
enum IndentationWarning {
|
||||
NoWarning,
|
||||
Inconsistent,
|
||||
TabsAfterSpaces,
|
||||
Spaces,
|
||||
Tabs
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerPython(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerPython(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerPython();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldComments() const;
|
||||
void setFoldCompact(bool fold);
|
||||
bool foldCompact() const;
|
||||
bool foldQuotes() const;
|
||||
QsciLexerPython::IndentationWarning indentationWarning() const;
|
||||
void setHighlightSubidentifiers(bool enabled);
|
||||
bool highlightSubidentifiers() const;
|
||||
void setStringsOverNewlineAllowed(bool allowed);
|
||||
bool stringsOverNewlineAllowed() const;
|
||||
void setV2UnicodeAllowed(bool allowed);
|
||||
bool v2UnicodeAllowed() const;
|
||||
void setV3BinaryOctalAllowed(bool allowed);
|
||||
bool v3BinaryOctalAllowed() const;
|
||||
void setV3BytesAllowed(bool allowed);
|
||||
bool v3BytesAllowed() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldComments(bool fold);
|
||||
virtual void setFoldQuotes(bool fold);
|
||||
virtual void setIndentationWarning(QsciLexerPython::IndentationWarning warn);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerPython(const QsciLexerPython &);
|
||||
};
|
@ -1,97 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerRuby.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerRuby : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerruby.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Error,
|
||||
Comment,
|
||||
POD,
|
||||
Number,
|
||||
Keyword,
|
||||
DoubleQuotedString,
|
||||
SingleQuotedString,
|
||||
ClassName,
|
||||
FunctionMethodName,
|
||||
Operator,
|
||||
Identifier,
|
||||
Regex,
|
||||
Global,
|
||||
Symbol,
|
||||
ModuleName,
|
||||
InstanceVariable,
|
||||
ClassVariable,
|
||||
Backticks,
|
||||
DataSection,
|
||||
HereDocumentDelimiter,
|
||||
HereDocument,
|
||||
PercentStringq,
|
||||
PercentStringQ,
|
||||
PercentStringx,
|
||||
PercentStringr,
|
||||
PercentStringw,
|
||||
DemotedKeyword,
|
||||
Stdin,
|
||||
Stdout,
|
||||
Stderr
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerRuby(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerRuby(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerRuby();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int) const;
|
||||
QString description(int style) const;
|
||||
|
||||
void refreshProperties();
|
||||
void setFoldComments(bool fold);
|
||||
bool foldComments() const;
|
||||
void setFoldCompact(bool fold);
|
||||
bool foldCompact() const;
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerRuby(const QsciLexerRuby &);
|
||||
};
|
@ -1,63 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerSpice.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerSpice : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerspice.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Identifier,
|
||||
Command,
|
||||
Function,
|
||||
Parameter,
|
||||
Number,
|
||||
Delimiter,
|
||||
Value,
|
||||
Comment
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerSpice(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerSpice(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerSpice();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
const char *keywords(int set) const;
|
||||
QColor defaultColor(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QString description(int style) const;
|
||||
|
||||
private:
|
||||
QsciLexerSpice(const QsciLexerSpice &);
|
||||
};
|
@ -1,101 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerSQL.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerSQL : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexersql.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
CommentLine,
|
||||
CommentDoc,
|
||||
Number,
|
||||
Keyword,
|
||||
DoubleQuotedString,
|
||||
SingleQuotedString,
|
||||
PlusKeyword,
|
||||
PlusPrompt,
|
||||
Operator,
|
||||
Identifier,
|
||||
PlusComment,
|
||||
CommentLineHash,
|
||||
CommentDocKeyword,
|
||||
CommentDocKeywordError,
|
||||
KeywordSet5,
|
||||
KeywordSet6,
|
||||
KeywordSet7,
|
||||
KeywordSet8,
|
||||
QuotedIdentifier,
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerSQL(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerSQL(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerSQL();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
|
||||
void refreshProperties();
|
||||
bool backslashEscapes() const;
|
||||
void setDottedWords(bool enable);
|
||||
bool dottedWords() const;
|
||||
void setFoldAtElse(bool fold);
|
||||
bool foldAtElse() const;
|
||||
bool foldComments() const;
|
||||
bool foldCompact() const;
|
||||
void setFoldOnlyBegin(bool fold);
|
||||
bool foldOnlyBegin() const;
|
||||
void setHashComments(bool enable);
|
||||
bool hashComments() const;
|
||||
void setQuotedIdentifiers(bool enable);
|
||||
bool quotedIdentifiers() const;
|
||||
|
||||
public slots:
|
||||
virtual void setBackslashEscapes(bool enable);
|
||||
virtual void setFoldComments(bool fold);
|
||||
virtual void setFoldCompact(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerSQL(const QsciLexerSQL &);
|
||||
};
|
@ -1,86 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerTCL.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerTCL : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexertcl.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
CommentLine,
|
||||
Number,
|
||||
QuotedKeyword,
|
||||
QuotedString,
|
||||
Operator,
|
||||
Identifier,
|
||||
Substitution,
|
||||
SubstitutionBrace,
|
||||
Modifier,
|
||||
ExpandKeyword,
|
||||
TCLKeyword,
|
||||
TkKeyword,
|
||||
ITCLKeyword,
|
||||
TkCommand,
|
||||
KeywordSet6,
|
||||
KeywordSet7,
|
||||
KeywordSet8,
|
||||
KeywordSet9,
|
||||
CommentBox,
|
||||
CommentBlock
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerTCL(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerTCL(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerTCL();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
|
||||
void refreshProperties();
|
||||
void setFoldComments(bool fold);
|
||||
bool foldComments() const;
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerTCL(const QsciLexerTCL &);
|
||||
};
|
@ -1,74 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerTeX.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerTeX : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexertex.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Special,
|
||||
Group,
|
||||
Symbol,
|
||||
Command,
|
||||
Text
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerTeX(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerTeX(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerTeX();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
const char *wordCharacters() const;
|
||||
|
||||
void refreshProperties();
|
||||
void setFoldComments(bool fold);
|
||||
bool foldComments() const;
|
||||
void setFoldCompact(bool fold);
|
||||
bool foldCompact() const;
|
||||
void setProcessComments(bool enable);
|
||||
bool processComments() const;
|
||||
void setProcessIf(bool enable);
|
||||
bool processIf() const;
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerTeX(const QsciLexerTeX &);
|
||||
};
|
@ -1,90 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerVerilog.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerVerilog : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerverilog.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
CommentLine,
|
||||
CommentBang,
|
||||
Number,
|
||||
Keyword,
|
||||
String,
|
||||
KeywordSet2,
|
||||
SystemTask,
|
||||
Preprocessor,
|
||||
Operator,
|
||||
Identifier,
|
||||
UnclosedString,
|
||||
UserKeywordSet,
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerVerilog(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerVerilog(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
const char *wordCharacters() const;
|
||||
|
||||
void refreshProperties();
|
||||
|
||||
void setFoldAtElse(bool fold);
|
||||
bool foldAtElse() const;
|
||||
|
||||
void setFoldComments(bool fold);
|
||||
bool foldComments() const;
|
||||
|
||||
void setFoldCompact(bool fold);
|
||||
bool foldCompact() const;
|
||||
|
||||
void setFoldPreprocessor(bool fold);
|
||||
bool foldPreprocessor() const;
|
||||
|
||||
void setFoldAtModule(bool fold);
|
||||
bool foldAtModule() const;
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerVerilog(const QsciLexerVerilog &);
|
||||
};
|
@ -1,89 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerVHDL.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerVHDL : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexervhdl.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
CommentLine,
|
||||
Number,
|
||||
String,
|
||||
Operator,
|
||||
Identifier,
|
||||
UnclosedString,
|
||||
Keyword,
|
||||
StandardOperator,
|
||||
Attribute,
|
||||
StandardFunction,
|
||||
StandardPackage,
|
||||
StandardType,
|
||||
KeywordSet7
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerVHDL(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerVHDL(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerVHDL();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldComments() const;
|
||||
bool foldCompact() const;
|
||||
bool foldAtElse() const;
|
||||
bool foldAtBegin() const;
|
||||
bool foldAtParenthesis() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldComments(bool fold);
|
||||
virtual void setFoldCompact(bool fold);
|
||||
virtual void setFoldAtElse(bool fold);
|
||||
virtual void setFoldAtBegin(bool fold);
|
||||
virtual void setFoldAtParenthesis(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerVHDL(const QsciLexerVHDL &);
|
||||
};
|
@ -1,60 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerXML.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerXML : QsciLexerHTML
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexerxml.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerXML(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerXML(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerXML();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
|
||||
void refreshProperties();
|
||||
void setScriptsStyled(bool styled);
|
||||
bool scriptsStyled() const;
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerXML(const QsciLexerXML &);
|
||||
};
|
@ -1,76 +0,0 @@
|
||||
// This is the SIP interface definition for QsciLexerYAML.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciLexerYAML : QsciLexer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscilexeryaml.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
Default,
|
||||
Comment,
|
||||
Identifier,
|
||||
Keyword,
|
||||
Number,
|
||||
Reference,
|
||||
DocumentDelimiter,
|
||||
TextBlockMarker,
|
||||
SyntaxErrorMarker,
|
||||
Operator
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciLexerYAML(QObject *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciLexerYAML(QObject *parent /TransferThis/ = 0, const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciLexerYAML();
|
||||
|
||||
const char *language() const;
|
||||
const char *lexer() const;
|
||||
QColor defaultColor(int style) const;
|
||||
bool defaultEolFill(int style) const;
|
||||
QFont defaultFont(int style) const;
|
||||
QColor defaultPaper(int style) const;
|
||||
const char *keywords(int set) const;
|
||||
QString description(int style) const;
|
||||
|
||||
void refreshProperties();
|
||||
bool foldComments() const;
|
||||
|
||||
public slots:
|
||||
virtual void setFoldComments(bool fold);
|
||||
|
||||
protected:
|
||||
bool readProperties(QSettings &qs, const QString &prefix);
|
||||
bool writeProperties(QSettings &qs, const QString &prefix) const;
|
||||
|
||||
private:
|
||||
QsciLexerYAML(const QsciLexerYAML &);
|
||||
};
|
@ -1,56 +0,0 @@
|
||||
// This is the SIP interface definition for QsciMacro.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciMacro : QObject
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscimacro.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
%If (Qsci_Qt4)
|
||||
QsciMacro(QsciScintilla *parent /TransferThis/);
|
||||
QsciMacro(const QString &asc, QsciScintilla *parent /TransferThis/);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciMacro(QsciScintilla *parent /TransferThis/, const char *name = 0);
|
||||
QsciMacro(const QString &asc, QsciScintilla *parent /TransferThis/,
|
||||
const char *name = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciMacro();
|
||||
|
||||
void clear();
|
||||
bool load(const QString &asc);
|
||||
QString save() const;
|
||||
|
||||
public slots:
|
||||
virtual void play();
|
||||
virtual void startRecording();
|
||||
virtual void endRecording();
|
||||
|
||||
private:
|
||||
QsciMacro(const QsciMacro &);
|
||||
};
|
@ -1,31 +0,0 @@
|
||||
// This is the SIP interface definition for the qsci module of PyQt3.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
%Module qsci 0
|
||||
|
||||
%Import qt/qtmod.sip
|
||||
|
||||
%Include qscimodcommon.sip
|
||||
%Include qsciscintillabase3.sip
|
@ -1,31 +0,0 @@
|
||||
// This is the SIP interface definition for the Qsci module of PyQt4.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
%Module(name=PyQt4.Qsci, keyword_arguments="Optional")
|
||||
|
||||
%Import QtGui/QtGuimod.sip
|
||||
|
||||
%Include qscimodcommon.sip
|
||||
%Include qsciscintillabase4.sip
|
@ -1,36 +0,0 @@
|
||||
// This is the SIP interface definition for the Qsci module of PyQt5.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
%Module(name=PyQt5.Qsci, keyword_arguments="Optional")
|
||||
|
||||
%Import QtGui/QtGuimod.sip
|
||||
%Import QtWidgets/QtWidgetsmod.sip
|
||||
|
||||
%Include qscimodcommon.sip
|
||||
%Include qsciscintillabase4.sip
|
||||
|
||||
%If (PyQt_Printer)
|
||||
%Import QtPrintSupport/QtPrintSupportmod.sip
|
||||
%End
|
@ -1,106 +0,0 @@
|
||||
// This is the SIP interface definition for the parts of the Qsci module common
|
||||
// to the Qt v3 and v4 versions.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
%Feature Qsci_Qt4
|
||||
|
||||
|
||||
%Copying
|
||||
Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
|
||||
This file is part of QScintilla.
|
||||
|
||||
This file may be used under the terms of the GNU General Public
|
||||
License versions 2.0 or 3.0 as published by the Free Software
|
||||
Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
included in the packaging of this file. Alternatively you may (at
|
||||
your option) use any later version of the GNU General Public
|
||||
License if such license has been publicly approved by Riverbank
|
||||
Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
Foundation. In addition, as a special exception, Riverbank gives you
|
||||
certain additional rights. These rights are described in the Riverbank
|
||||
GPL Exception version 1.1, which can be found in the file
|
||||
GPL_EXCEPTION.txt in this package.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please
|
||||
contact the sales department at sales@riverbankcomputing.com.
|
||||
|
||||
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
%End
|
||||
|
||||
|
||||
const int QSCINTILLA_VERSION;
|
||||
const char *QSCINTILLA_VERSION_STR;
|
||||
|
||||
|
||||
%Include qsciscintilla.sip
|
||||
%Include qsciabstractapis.sip
|
||||
%Include qsciapis.sip
|
||||
%Include qscicommand.sip
|
||||
%Include qscicommandset.sip
|
||||
%Include qscidocument.sip
|
||||
%Include qscilexer.sip
|
||||
%Include qscilexeravs.sip
|
||||
%Include qscilexerbash.sip
|
||||
%Include qscilexerbatch.sip
|
||||
%Include qscilexercmake.sip
|
||||
%Include qscilexercoffeescript.sip
|
||||
%Include qscilexercpp.sip
|
||||
%Include qscilexercsharp.sip
|
||||
%Include qscilexercss.sip
|
||||
%Include qscilexercustom.sip
|
||||
%Include qscilexerd.sip
|
||||
%Include qscilexerdiff.sip
|
||||
%Include qscilexerfortran.sip
|
||||
%Include qscilexerfortran77.sip
|
||||
%Include qscilexerhtml.sip
|
||||
%Include qscilexeridl.sip
|
||||
%Include qscilexerjava.sip
|
||||
%Include qscilexerjavascript.sip
|
||||
%Include qscilexerlua.sip
|
||||
%Include qscilexermakefile.sip
|
||||
%Include qscilexermatlab.sip
|
||||
%Include qscilexeroctave.sip
|
||||
%Include qscilexerpascal.sip
|
||||
%Include qscilexerperl.sip
|
||||
%Include qscilexerpostscript.sip
|
||||
%Include qscilexerpo.sip
|
||||
%Include qscilexerpov.sip
|
||||
%Include qscilexerproperties.sip
|
||||
%Include qscilexerpython.sip
|
||||
%Include qscilexerruby.sip
|
||||
%Include qscilexerspice.sip
|
||||
%Include qscilexersql.sip
|
||||
%Include qscilexertcl.sip
|
||||
%Include qscilexertex.sip
|
||||
%Include qscilexerverilog.sip
|
||||
%Include qscilexervhdl.sip
|
||||
%Include qscilexerxml.sip
|
||||
%Include qscilexeryaml.sip
|
||||
%Include qscimacro.sip
|
||||
%Include qsciprinter.sip
|
||||
%Include qscistyle.sip
|
||||
%Include qscistyledtext.sip
|
@ -1,50 +0,0 @@
|
||||
// This is the SIP interface definition for QsciPrinter.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
%If (PyQt_Printer)
|
||||
|
||||
class QsciPrinter : QPrinter
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qsciprinter.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
QsciPrinter(QPrinter::PrinterMode mode = QPrinter::ScreenResolution);
|
||||
virtual ~QsciPrinter();
|
||||
|
||||
virtual void formatPage(QPainter &painter, bool drawing, QRect &area,
|
||||
int pagenr);
|
||||
int magnification() const;
|
||||
virtual void setMagnification(int magnification);
|
||||
virtual int printRange(QsciScintillaBase *qsb, int from = -1, int to = -1);
|
||||
QsciScintilla::WrapMode wrapMode() const;
|
||||
virtual void setWrapMode(QsciScintilla::WrapMode);
|
||||
|
||||
private:
|
||||
QsciPrinter(const QsciPrinter &);
|
||||
};
|
||||
|
||||
%End
|
@ -1,556 +0,0 @@
|
||||
// This is the SIP interface definition for QsciScintilla.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciScintilla : QsciScintillaBase
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qsciscintilla.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum {
|
||||
AiMaintain,
|
||||
AiOpening,
|
||||
AiClosing
|
||||
};
|
||||
|
||||
enum AnnotationDisplay {
|
||||
AnnotationHidden,
|
||||
AnnotationStandard,
|
||||
AnnotationBoxed
|
||||
};
|
||||
|
||||
enum AutoCompletionSource {
|
||||
AcsNone,
|
||||
AcsAll,
|
||||
AcsDocument,
|
||||
AcsAPIs
|
||||
};
|
||||
|
||||
enum AutoCompletionUseSingle {
|
||||
AcusNever,
|
||||
AcusExplicit,
|
||||
AcusAlways
|
||||
};
|
||||
|
||||
enum BraceMatch {
|
||||
NoBraceMatch,
|
||||
StrictBraceMatch,
|
||||
SloppyBraceMatch
|
||||
};
|
||||
|
||||
enum CallTipsPosition {
|
||||
CallTipsBelowText,
|
||||
CallTipsAboveText,
|
||||
};
|
||||
|
||||
enum CallTipsStyle {
|
||||
CallTipsNone,
|
||||
CallTipsNoContext,
|
||||
CallTipsNoAutoCompletionContext,
|
||||
CallTipsContext
|
||||
};
|
||||
|
||||
enum EdgeMode {
|
||||
EdgeNone,
|
||||
EdgeLine,
|
||||
EdgeBackground
|
||||
};
|
||||
|
||||
enum EolMode {
|
||||
EolWindows,
|
||||
EolUnix,
|
||||
EolMac
|
||||
};
|
||||
|
||||
enum FoldStyle {
|
||||
NoFoldStyle,
|
||||
PlainFoldStyle,
|
||||
CircledFoldStyle,
|
||||
BoxedFoldStyle,
|
||||
CircledTreeFoldStyle,
|
||||
BoxedTreeFoldStyle
|
||||
};
|
||||
|
||||
enum IndicatorStyle {
|
||||
PlainIndicator,
|
||||
SquiggleIndicator,
|
||||
TTIndicator,
|
||||
DiagonalIndicator,
|
||||
StrikeIndicator,
|
||||
HiddenIndicator,
|
||||
BoxIndicator,
|
||||
RoundBoxIndicator,
|
||||
StraightBoxIndicator,
|
||||
DashesIndicator,
|
||||
DotsIndicator,
|
||||
SquiggleLowIndicator,
|
||||
DotBoxIndicator,
|
||||
SquigglePixmapIndicator,
|
||||
};
|
||||
|
||||
enum {
|
||||
MoNone,
|
||||
MoSublineSelect,
|
||||
};
|
||||
|
||||
enum MarginType {
|
||||
SymbolMargin,
|
||||
SymbolMarginDefaultForegroundColor,
|
||||
SymbolMarginDefaultBackgroundColor,
|
||||
NumberMargin,
|
||||
TextMargin,
|
||||
TextMarginRightJustified
|
||||
};
|
||||
|
||||
enum MarkerSymbol {
|
||||
Circle,
|
||||
Rectangle,
|
||||
RightTriangle,
|
||||
SmallRectangle,
|
||||
RightArrow,
|
||||
Invisible,
|
||||
DownTriangle,
|
||||
Minus,
|
||||
Plus,
|
||||
VerticalLine,
|
||||
BottomLeftCorner,
|
||||
LeftSideSplitter,
|
||||
BoxedPlus,
|
||||
BoxedPlusConnected,
|
||||
BoxedMinus,
|
||||
BoxedMinusConnected,
|
||||
RoundedBottomLeftCorner,
|
||||
LeftSideRoundedSplitter,
|
||||
CircledPlus,
|
||||
CircledPlusConnected,
|
||||
CircledMinus,
|
||||
CircledMinusConnected,
|
||||
Background,
|
||||
ThreeDots,
|
||||
ThreeRightArrows,
|
||||
FullRectangle,
|
||||
LeftRectangle,
|
||||
Underline
|
||||
};
|
||||
|
||||
enum WhitespaceVisibility {
|
||||
WsInvisible,
|
||||
WsVisible,
|
||||
WsVisibleAfterIndent
|
||||
};
|
||||
|
||||
enum WrapMode {
|
||||
WrapNone,
|
||||
WrapWord,
|
||||
WrapCharacter,
|
||||
};
|
||||
|
||||
enum WrapVisualFlag {
|
||||
WrapFlagNone,
|
||||
WrapFlagByText,
|
||||
WrapFlagByBorder,
|
||||
WrapFlagInMargin,
|
||||
};
|
||||
|
||||
enum WrapIndentMode {
|
||||
WrapIndentFixed,
|
||||
WrapIndentSame,
|
||||
WrapIndentIndented,
|
||||
};
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
QsciScintilla(QWidget *parent /TransferThis/ = 0);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QsciScintilla(QWidget *parent /TransferThis/ = 0, const char *name = 0,
|
||||
WFlags f = 0);
|
||||
%End
|
||||
|
||||
virtual ~QsciScintilla();
|
||||
|
||||
virtual QStringList apiContext(int pos, int &context_start,
|
||||
int &last_word_start);
|
||||
|
||||
void annotate(int line, const QString &text, int style);
|
||||
void annotate(int line, const QString &text, const QsciStyle &style);
|
||||
void annotate(int line, const QsciStyledText &text);
|
||||
%If (Qsci_Qt4)
|
||||
void annotate(int line, const QList<QsciStyledText> &text);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
void annotate(int line, const QValueList<QsciStyledText> &text);
|
||||
%End
|
||||
QString annotation(int line) const;
|
||||
AnnotationDisplay annotationDisplay() const;
|
||||
void clearAnnotations(int line = -1);
|
||||
|
||||
bool autoCompletionCaseSensitivity() const;
|
||||
bool autoCompletionFillupsEnabled() const;
|
||||
bool autoCompletionReplaceWord() const;
|
||||
bool autoCompletionShowSingle() const;
|
||||
AutoCompletionSource autoCompletionSource() const;
|
||||
int autoCompletionThreshold() const;
|
||||
AutoCompletionUseSingle autoCompletionUseSingle() const;
|
||||
bool autoIndent() const;
|
||||
|
||||
bool backspaceUnindents() const;
|
||||
void beginUndoAction();
|
||||
BraceMatch braceMatching() const;
|
||||
|
||||
CallTipsPosition callTipsPosition() const;
|
||||
CallTipsStyle callTipsStyle() const;
|
||||
int callTipsVisible() const;
|
||||
void cancelList();
|
||||
bool caseSensitive() const;
|
||||
void clearRegisteredImages();
|
||||
QColor color() const;
|
||||
%If (Qsci_Qt4)
|
||||
QList<int> contractedFolds() const;
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
QValueList<int> contractedFolds() const;
|
||||
%End
|
||||
void convertEols(EolMode mode);
|
||||
%If (Qsci_Qt4)
|
||||
QMenu *createStandardContextMenu() /Factory/;
|
||||
%End
|
||||
|
||||
QsciDocument document() const;
|
||||
|
||||
void endUndoAction();
|
||||
QColor edgeColor() const;
|
||||
int edgeColumn() const;
|
||||
EdgeMode edgeMode() const;
|
||||
EolMode eolMode() const;
|
||||
bool eolVisibility() const;
|
||||
|
||||
int extraAscent() const;
|
||||
int extraDescent() const;
|
||||
|
||||
virtual bool findFirst(const QString &expr, bool re, bool cs, bool wo,
|
||||
bool wrap, bool forward = true, int line = -1, int index = -1,
|
||||
bool show = true, bool posix = false);
|
||||
virtual bool findFirstInSelection(const QString &expr, bool re, bool cs,
|
||||
bool wo, bool forward = true, bool show = true,
|
||||
bool posix = false);
|
||||
virtual bool findNext();
|
||||
int firstVisibleLine() const;
|
||||
FoldStyle folding() const;
|
||||
|
||||
void getCursorPosition(int *line, int *index) const;
|
||||
void getSelection(int *lineFrom, int *indexFrom, int *lineTo,
|
||||
int *indexTo) const;
|
||||
|
||||
bool hasSelectedText() const;
|
||||
|
||||
int indentation(int line) const;
|
||||
bool indentationGuides() const;
|
||||
bool indentationsUseTabs() const;
|
||||
int indentationWidth() const;
|
||||
|
||||
void clearIndicatorRange(int lineFrom, int indexFrom, int lineTo,
|
||||
int indexTo, int indicatorNumber);
|
||||
void fillIndicatorRange(int lineFrom, int indexFrom, int lineTo,
|
||||
int indexTo, int indicatorNumber);
|
||||
int indicatorDefine(IndicatorStyle style, int indicatorNumber = -1);
|
||||
bool indicatorDrawUnder(int indicatorNumber) const;
|
||||
|
||||
bool isCallTipActive() const;
|
||||
bool isListActive() const;
|
||||
bool isModified() const;
|
||||
bool isReadOnly() const;
|
||||
bool isRedoAvailable() const;
|
||||
bool isUndoAvailable() const;
|
||||
bool isUtf8() const;
|
||||
bool isWordCharacter(char ch) const;
|
||||
|
||||
int lineAt(const QPoint &pos) const;
|
||||
void lineIndexFromPosition(int position, int *line, int *index) const;
|
||||
int lineLength(int line) const;
|
||||
int lines() const;
|
||||
int length() const;
|
||||
QsciLexer *lexer() const;
|
||||
|
||||
bool marginLineNumbers(int margin) const;
|
||||
int marginMarkerMask(int margin) const;
|
||||
int marginOptions() const;
|
||||
bool marginSensitivity(int margin) const;
|
||||
MarginType marginType(int margin) const;
|
||||
int marginWidth(int margin) const;
|
||||
|
||||
int markerDefine(MarkerSymbol sym, int markerNumber = -1);
|
||||
int markerDefine(char ch, int markerNumber = -1);
|
||||
int markerDefine(const QPixmap &pm, int markerNumber = -1);
|
||||
int markerDefine(const QImage &im, int markerNumber = -1);
|
||||
int markerAdd(int linenr, int markerNumber);
|
||||
unsigned markersAtLine(int linenr) const;
|
||||
void markerDelete(int linenr, int markerNumber = -1);
|
||||
void markerDeleteAll(int markerNumber = -1);
|
||||
void markerDeleteHandle(int mhandle);
|
||||
int markerLine(int mhandle) const;
|
||||
int markerFindNext(int linenr, unsigned mask) const;
|
||||
int markerFindPrevious(int linenr, unsigned mask) const;
|
||||
|
||||
bool overwriteMode() const;
|
||||
|
||||
QColor paper() const;
|
||||
int positionFromLineIndex(int line, int index) const;
|
||||
|
||||
bool read(QIODevice *io) /ReleaseGIL/;
|
||||
virtual void recolor(int start = 0, int end = -1);
|
||||
void registerImage(int id, const QPixmap &pm);
|
||||
void registerImage(int id, const QImage &im);
|
||||
virtual void replace(const QString &replaceStr);
|
||||
void resetFoldMarginColors();
|
||||
void setFoldMarginColors(const QColor &fore, const QColor &back);
|
||||
|
||||
void setAnnotationDisplay(AnnotationDisplay display);
|
||||
|
||||
void setAutoCompletionFillupsEnabled(bool enabled);
|
||||
void setAutoCompletionFillups(const char *fillups);
|
||||
void setAutoCompletionWordSeparators(const QStringList &separators);
|
||||
|
||||
void setCallTipsBackgroundColor(const QColor &col);
|
||||
void setCallTipsForegroundColor(const QColor &col);
|
||||
void setCallTipsHighlightColor(const QColor &col);
|
||||
void setCallTipsPosition(CallTipsPosition position);
|
||||
void setCallTipsStyle(CallTipsStyle style);
|
||||
void setCallTipsVisible(int nr);
|
||||
%If (Qsci_Qt4)
|
||||
void setContractedFolds(const QList<int> &folds);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
void setContractedFolds(const QValueList<int> &folds);
|
||||
%End
|
||||
|
||||
void setDocument(const QsciDocument &document);
|
||||
|
||||
void setEdgeColor(const QColor &col);
|
||||
void setEdgeColumn(int colnr);
|
||||
void setEdgeMode(EdgeMode mode);
|
||||
|
||||
void setFirstVisibleLine(int linenr);
|
||||
void setFont(const QFont &f);
|
||||
|
||||
void setIndicatorDrawUnder(bool under, int indicatorNumber = -1);
|
||||
void setIndicatorForegroundColor(const QColor &col,
|
||||
int indicatorNumber = -1);
|
||||
void setIndicatorOutlineColor(const QColor &col, int indicatorNumber = -1);
|
||||
|
||||
void setMarginOptions(int options);
|
||||
void setMarginText(int line, const QString &text, int style);
|
||||
void setMarginText(int line, const QString &text, const QsciStyle &style);
|
||||
void setMarginText(int line, const QsciStyledText &text);
|
||||
%If (Qsci_Qt4)
|
||||
void setMarginText(int line, const QList<QsciStyledText> &text);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
void setMarginText(int line, const QValueList<QsciStyledText> &text);
|
||||
%End
|
||||
void setMarginType(int margin, MarginType type);
|
||||
void clearMarginText(int line = -1);
|
||||
|
||||
void setMarkerBackgroundColor(const QColor &col, int markerNumber = -1);
|
||||
void setMarkerForegroundColor(const QColor &col, int markerNumber = -1);
|
||||
|
||||
void setMatchedBraceBackgroundColor(const QColor &col);
|
||||
void setMatchedBraceForegroundColor(const QColor &col);
|
||||
void setMatchedBraceIndicator(int indicatorNumber);
|
||||
void resetMatchedBraceIndicator();
|
||||
void setUnmatchedBraceBackgroundColor(const QColor &col);
|
||||
void setUnmatchedBraceForegroundColor(const QColor &col);
|
||||
void setUnmatchedBraceIndicator(int indicatorNumber);
|
||||
void resetUnmatchedBraceIndicator();
|
||||
|
||||
void setWrapVisualFlags(WrapVisualFlag endFlag,
|
||||
WrapVisualFlag startFlag = QsciScintilla::WrapFlagNone,
|
||||
int indent = 0);
|
||||
|
||||
QString selectedText() const;
|
||||
bool selectionToEol() const;
|
||||
void setSelectionToEol(bool filled);
|
||||
|
||||
void setExtraAscent(int extra);
|
||||
void setExtraDescent(int extra);
|
||||
|
||||
void setOverwriteMode(bool overwrite);
|
||||
|
||||
void setWhitespaceBackgroundColor(const QColor &col);
|
||||
void setWhitespaceForegroundColor(const QColor &col);
|
||||
void setWhitespaceSize(int size);
|
||||
|
||||
void setWrapIndentMode(WrapIndentMode mode);
|
||||
void showUserList(int id, const QStringList &list);
|
||||
QsciCommandSet *standardCommands() const;
|
||||
|
||||
bool tabIndents() const;
|
||||
int tabWidth() const;
|
||||
QString text() const;
|
||||
QString text(int line) const;
|
||||
int textHeight(int linenr) const;
|
||||
|
||||
int whitespaceSize() const;
|
||||
WhitespaceVisibility whitespaceVisibility() const;
|
||||
|
||||
QString wordAtLineIndex(int line, int index) const;
|
||||
QString wordAtPoint(const QPoint &point) const;
|
||||
const char *wordCharacters() const;
|
||||
WrapMode wrapMode() const;
|
||||
WrapIndentMode wrapIndentMode() const;
|
||||
bool write(QIODevice *io) const /ReleaseGIL/;
|
||||
|
||||
public slots:
|
||||
virtual void append(const QString &text);
|
||||
virtual void autoCompleteFromAll();
|
||||
virtual void autoCompleteFromAPIs();
|
||||
virtual void autoCompleteFromDocument();
|
||||
virtual void callTip();
|
||||
virtual void clear();
|
||||
virtual void copy();
|
||||
virtual void cut();
|
||||
|
||||
virtual void ensureCursorVisible();
|
||||
virtual void ensureLineVisible(int line);
|
||||
virtual void foldAll(bool children = false);
|
||||
virtual void foldLine(int line);
|
||||
virtual void indent(int line);
|
||||
virtual void insert(const QString &text);
|
||||
virtual void insertAt(const QString &text, int line, int index);
|
||||
virtual void moveToMatchingBrace();
|
||||
virtual void paste();
|
||||
virtual void redo();
|
||||
virtual void removeSelectedText();
|
||||
virtual void replaceSelectedText(const QString &text);
|
||||
virtual void resetSelectionBackgroundColor();
|
||||
virtual void resetSelectionForegroundColor();
|
||||
virtual void selectAll(bool select = true);
|
||||
virtual void selectToMatchingBrace();
|
||||
|
||||
virtual void setAutoCompletionCaseSensitivity(bool cs);
|
||||
virtual void setAutoCompletionReplaceWord(bool replace);
|
||||
virtual void setAutoCompletionShowSingle(bool single);
|
||||
virtual void setAutoCompletionSource(AutoCompletionSource source);
|
||||
virtual void setAutoCompletionThreshold(int thresh);
|
||||
virtual void setAutoCompletionUseSingle(AutoCompletionUseSingle single);
|
||||
virtual void setAutoIndent(bool autoindent);
|
||||
virtual void setBraceMatching(BraceMatch bm);
|
||||
virtual void setBackspaceUnindents(bool unindent);
|
||||
virtual void setCaretForegroundColor(const QColor &col);
|
||||
virtual void setCaretLineBackgroundColor(const QColor &col);
|
||||
virtual void setCaretLineVisible(bool enable);
|
||||
virtual void setCaretWidth(int width);
|
||||
virtual void setColor(const QColor &col);
|
||||
virtual void setCursorPosition(int line, int index);
|
||||
virtual void setEolMode(EolMode mode);
|
||||
virtual void setEolVisibility(bool visible);
|
||||
virtual void setFolding(FoldStyle fold, int margin=2);
|
||||
void clearFolds();
|
||||
|
||||
virtual void setIndentation(int line, int indentation);
|
||||
virtual void setIndentationGuides(bool enable);
|
||||
virtual void setIndentationGuidesBackgroundColor(const QColor &col);
|
||||
virtual void setIndentationGuidesForegroundColor(const QColor &col);
|
||||
virtual void setIndentationsUseTabs(bool tabs);
|
||||
virtual void setIndentationWidth(int width);
|
||||
|
||||
virtual void setLexer(QsciLexer *lexer = 0);
|
||||
|
||||
virtual void setMarginsBackgroundColor(const QColor &col);
|
||||
virtual void setMarginsFont(const QFont &f);
|
||||
virtual void setMarginsForegroundColor(const QColor &col);
|
||||
|
||||
virtual void setMarginLineNumbers(int margin, bool lnrs);
|
||||
virtual void setMarginMarkerMask(int margin, int mask);
|
||||
virtual void setMarginSensitivity(int margin, bool sens);
|
||||
virtual void setMarginWidth(int margin, int width);
|
||||
virtual void setMarginWidth(int margin, const QString &s);
|
||||
|
||||
virtual void setModified(bool m);
|
||||
virtual void setPaper(const QColor &c);
|
||||
virtual void setReadOnly(bool ro);
|
||||
virtual void setSelection(int lineFrom, int indexFrom, int lineTo,
|
||||
int indexTo);
|
||||
virtual void setSelectionBackgroundColor(const QColor &col);
|
||||
virtual void setSelectionForegroundColor(const QColor &col);
|
||||
virtual void setTabIndents(bool indent);
|
||||
virtual void setTabWidth(int width);
|
||||
virtual void setText(const QString &text);
|
||||
virtual void setUtf8(bool cp);
|
||||
virtual void setWhitespaceVisibility(WhitespaceVisibility mode);
|
||||
virtual void setWrapMode(WrapMode mode);
|
||||
|
||||
virtual void undo();
|
||||
virtual void unindent(int line);
|
||||
|
||||
virtual void zoomIn(int range);
|
||||
virtual void zoomIn();
|
||||
virtual void zoomOut(int range);
|
||||
virtual void zoomOut();
|
||||
virtual void zoomTo(int size);
|
||||
|
||||
signals:
|
||||
void cursorPositionChanged(int line, int index);
|
||||
void copyAvailable(bool yes);
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
void indicatorClicked(int line, int index, Qt::KeyboardModifiers state);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
void indicatorClicked(int line, int index, Qt::ButtonState state);
|
||||
%End
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
void indicatorReleased(int line, int index, Qt::KeyboardModifiers state);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
void indicatorReleased(int line, int index, Qt::ButtonState state);
|
||||
%End
|
||||
|
||||
void linesChanged();
|
||||
|
||||
%If (Qsci_Qt4)
|
||||
void marginClicked(int margin, int line, Qt::KeyboardModifiers state);
|
||||
%End
|
||||
%If (!Qsci_Qt4)
|
||||
void marginClicked(int margin, int line, Qt::ButtonState state);
|
||||
%End
|
||||
|
||||
void modificationAttempted();
|
||||
void modificationChanged(bool m);
|
||||
void selectionChanged();
|
||||
void textChanged();
|
||||
void userListActivated(int id, const QString &string);
|
||||
|
||||
protected:
|
||||
%If (Qsci_Qt4)
|
||||
virtual bool event(QEvent *event);
|
||||
virtual void changeEvent(QEvent *event);
|
||||
virtual void contextMenuEvent(QContextMenuEvent *event);
|
||||
%End
|
||||
|
||||
private:
|
||||
QsciScintilla(const QsciScintilla &);
|
||||
};
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,73 +0,0 @@
|
||||
// This is the SIP interface definition for QsciStyle.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciStyle
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscistyle.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
enum TextCase {
|
||||
OriginalCase,
|
||||
UpperCase,
|
||||
LowerCase
|
||||
};
|
||||
|
||||
QsciStyle(int style = -1);
|
||||
QsciStyle(int style, const QString &description, const QColor &color,
|
||||
const QColor &paper, const QFont &font, bool eolFill = false);
|
||||
|
||||
int style() const;
|
||||
|
||||
void setDescription(const QString &description);
|
||||
QString description() const;
|
||||
|
||||
void setColor(const QColor &color);
|
||||
QColor color() const;
|
||||
|
||||
void setPaper(const QColor &paper);
|
||||
QColor paper() const;
|
||||
|
||||
void setFont(const QFont &font);
|
||||
QFont font() const;
|
||||
|
||||
void setEolFill(bool fill);
|
||||
bool eolFill() const;
|
||||
|
||||
void setTextCase(TextCase text_case);
|
||||
TextCase textCase() const;
|
||||
|
||||
void setVisible(bool visible);
|
||||
bool visible() const;
|
||||
|
||||
void setChangeable(bool changeable);
|
||||
bool changeable() const;
|
||||
|
||||
void setHotspot(bool hotspot);
|
||||
bool hotspot() const;
|
||||
|
||||
void refresh();
|
||||
};
|
@ -1,38 +0,0 @@
|
||||
// This is the SIP interface definition for QsciStyledText.
|
||||
//
|
||||
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of QScintilla.
|
||||
//
|
||||
// This file may be used under the terms of the GNU General Public
|
||||
// License versions 2.0 or 3.0 as published by the Free Software
|
||||
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
||||
// included in the packaging of this file. Alternatively you may (at
|
||||
// your option) use any later version of the GNU General Public
|
||||
// License if such license has been publicly approved by Riverbank
|
||||
// Computing Limited (or its successors, if any) and the KDE Free Qt
|
||||
// Foundation. In addition, as a special exception, Riverbank gives you
|
||||
// certain additional rights. These rights are described in the Riverbank
|
||||
// GPL Exception version 1.1, which can be found in the file
|
||||
// GPL_EXCEPTION.txt in this package.
|
||||
//
|
||||
// If you are unsure which license is appropriate for your use, please
|
||||
// contact the sales department at sales@riverbankcomputing.com.
|
||||
//
|
||||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
class QsciStyledText
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <Qsci/qscistyledtext.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
QsciStyledText(const QString &text, int style);
|
||||
QsciStyledText(const QString &text, const QsciStyle &style);
|
||||
|
||||
const QString &text();
|
||||
int style() const;
|
||||
};
|
@ -2,10 +2,15 @@
|
||||
version=0,
|
||||
keyword_arguments="Optional")
|
||||
|
||||
%Feature HAVE_QSCI_SIP
|
||||
|
||||
%Import QtCore/QtCoremod.sip
|
||||
%Import QtGui/QtGuimod.sip
|
||||
%Import QtXml/QtXmlmod.sip
|
||||
|
||||
%If (HAVE_QSCI_SIP)
|
||||
%Import Qsci/qscimod4.sip
|
||||
%End
|
||||
|
||||
%Import core/core.sip
|
||||
|
||||
@ -20,10 +25,12 @@
|
||||
%Include qgsattributeforminterface.sip
|
||||
%Include qgsbusyindicatordialog.sip
|
||||
%Include qgscollapsiblegroupbox.sip
|
||||
%If (HAVE_QSCI_SIP)
|
||||
%Include qgscodeeditor.sip
|
||||
%Include qgscodeeditorpython.sip
|
||||
%Include qgscodeeditorsql.sip
|
||||
%Include qgscodeeditorhtml.sip
|
||||
%End
|
||||
%Include qgscolorbutton.sip
|
||||
%Include qgscolordialog.sip
|
||||
%Include qgscomposerview.sip
|
||||
|
Loading…
x
Reference in New Issue
Block a user