Skip to content
Permalink
Browse files
sipify gui part 2
  • Loading branch information
3nids committed May 24, 2017
1 parent f5e66dd commit 3f0017a46dd3b261ea5f1e5d6882604426791057
@@ -127,20 +127,6 @@ core/symbology-ng/qgssymbollayerutils.sip
core/symbology-ng/qgsvectorfieldsymbollayer.sip
core/symbology-ng/qgsarrowsymbollayer.sip
core/dxf/qgsdxfexport.sip
gui/qgscodeeditor.sip
gui/qgscodeeditorpython.sip
gui/qgscodeeditorsql.sip
gui/qgscodeeditorhtml.sip
gui/qgscodeeditorcss.sip
gui/qgscharacterselectdialog.sip
gui/qgscomposerinterface.sip
gui/qgscomposeritemcombobox.sip
gui/qgscomposerruler.sip
gui/qgscomposerview.sip
gui/qgscompoundcolorwidget.sip
gui/qgsconfigureshortcutsdialog.sip
gui/qgscustomdrophandler.sip
gui/qgscurveeditorwidget.sip
gui/qgsmaptip.sip
gui/qgsmaptool.sip
gui/qgsmaptooladvanceddigitizing.sip
@@ -1,12 +1,40 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscharacterselectdialog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/





class QgsCharacterSelectorDialog : QDialog
{
%Docstring
A dialog for selecting a single character from a single font
%End

%TypeHeaderCode
#include <qgscharacterselectdialog.h>
#include "qgscharacterselectdialog.h"
%End
public:
QgsCharacterSelectorDialog( QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags &fl = QgsGuiUtils::ModalDialogFlags );
~QgsCharacterSelectorDialog();
QgsCharacterSelectorDialog( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );

public slots:
const QChar &selectCharacter( bool *gotChar, const QFont &font, const QString &style );
%Docstring
:rtype: QChar
%End

protected:
};

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscharacterselectdialog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,48 +1,97 @@
class QgsCodeEditor: QsciScintilla
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscodeeditor.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/





class QgsCodeEditor : QsciScintilla
{
%TypeHeaderCode
#include <qgscodeeditor.h>
%Docstring
A text editor based on QScintilla2.
.. versionadded:: 2.6
.. note::

may not be available in Python bindings, depending on platform support
%End

%TypeHeaderCode
#include "qgscodeeditor.h"
%End
public:
/**
* Construct a new code editor.
*
* @param parent The parent QWidget
* @param title The title to show in the code editor dialog
* @param folding False: Enable margin for code editor
* @param margin False: Enable folding for code editor
* @note added in 2.6
*/
QgsCodeEditor( QWidget *parent /TransferThis/ = 0, const QString &title = "" , bool folding = false, bool margin = false );
~QgsCodeEditor();

/** Set the widget title
* @param title widget title
*/

QgsCodeEditor( QWidget *parent /TransferThis/ = 0, const QString &title = "", bool folding = false, bool margin = false );
%Docstring
Construct a new code editor.

\param parent The parent QWidget
\param title The title to show in the code editor dialog
\param folding false: Enable folding for code editor
\param margin false: Enable margin for code editor
.. versionadded:: 2.6
%End

void setTitle( const QString &title );
%Docstring
Set the widget title
\param title widget title
%End

/** Set margin visible state
* @param margin Set margin in the editor
*/
void setMarginVisible( bool margin );
%Docstring
Set margin visible state
\param margin Set margin in the editor
%End
bool marginVisible();
%Docstring
:rtype: bool
%End

/** Set folding visible state
* @param folding Set folding in the editor
*/
void setFoldingVisible( bool folding);
void setFoldingVisible( bool folding );
%Docstring
Set folding visible state
\param folding Set folding in the editor
%End
bool foldingVisible();
%Docstring
:rtype: bool
%End

/** Insert text at cursor position, or replace any selected text if user has
* made a selection.
* @param text The text to be inserted
*/
void insertText( const QString &text );
%Docstring
Insert text at cursor position, or replace any selected text if user has
made a selection.
\param text The text to be inserted
%End

protected:

bool isFixedPitch( const QFont &font );
%Docstring
:rtype: bool
%End

virtual void focusOutEvent( QFocusEvent *event );

virtual void keyPressEvent( QKeyEvent *event );


QFont getMonospaceFont();
%Docstring
:rtype: QFont
%End

};

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscodeeditor.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,10 +1,34 @@
class QgsCodeEditorCSS: QgsCodeEditor
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscodeeditorcss.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/




class QgsCodeEditorCSS : QgsCodeEditor
{
%TypeHeaderCode
#include <qgscodeeditorcss.h>
%Docstring
A CSS editor based on QScintilla2. Adds syntax highlighting and
code autocompletion.
.. versionadded:: 2.6
%End

%TypeHeaderCode
#include "qgscodeeditorcss.h"
%End
public:
QgsCodeEditorCSS( QWidget *parent /TransferThis/ = 0 );
~QgsCodeEditorCSS();

};

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscodeeditorcss.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,10 +1,37 @@
class QgsCodeEditorHTML: QgsCodeEditor
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscodeeditorhtml.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/




class QgsCodeEditorHTML : QgsCodeEditor
{
%TypeHeaderCode
#include <qgscodeeditorhtml.h>
%Docstring
A HTML editor based on QScintilla2. Adds syntax highlighting and
code autocompletion.
.. versionadded:: 2.6
.. note::

may not be available in Python bindings, depending on platform support
%End

%TypeHeaderCode
#include "qgscodeeditorhtml.h"
%End
public:
QgsCodeEditorHTML( QWidget *parent /TransferThis/ = 0 );
~QgsCodeEditorHTML();

};

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscodeeditorhtml.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,28 +1,58 @@
class QgsCodeEditorPython: QgsCodeEditor
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscodeeditorpython.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/




class QgsCodeEditorPython : QgsCodeEditor
{
%TypeHeaderCode
#include <qgscodeeditorpython.h>
%Docstring
A Python editor based on QScintilla2. Adds syntax highlighting and
code autocompletion.
.. versionadded:: 2.6
.. note::

may not be available in Python bindings, depending on platform support
%End

%TypeHeaderCode
#include "qgscodeeditorpython.h"
%End
public:
/**
* Construct a new Python editor.
*
* @param parent The parent QWidget
* @param filenames The list of apis files to load for the python lexer
* @note added in 2.6
*/

QgsCodeEditorPython( QWidget *parent /TransferThis/ = 0, const QList<QString> &filenames = QList<QString>() );
~QgsCodeEditorPython();
%Docstring
Construct a new Python editor.

\param parent The parent QWidget
\param filenames The list of apis files to load for the Python lexer
.. versionadded:: 2.6
%End

/** Load APIs from one or more files
* @param filenames The list of apis files to load for the python lexer
*/
void loadAPIs( const QList<QString> &filenames );
%Docstring
Load APIs from one or more files
\param filenames The list of apis files to load for the Python lexer
%End

/** Load a script file
* @param script The script file to load
*/
bool loadScript( const QString &script );
%Docstring
Load a script file
\param script The script file to load
:rtype: bool
%End

};

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscodeeditorpython.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,10 +1,37 @@
class QgsCodeEditorSQL: QgsCodeEditor
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscodeeditorsql.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/




class QgsCodeEditorSQL : QgsCodeEditor
{
%TypeHeaderCode
#include <qgscodeeditorsql.h>
%Docstring
A SQL editor based on QScintilla2. Adds syntax highlighting and
code autocompletion.
.. versionadded:: 2.6
.. note::

may not be available in Python bindings, depending on platform support
%End

%TypeHeaderCode
#include "qgscodeeditorsql.h"
%End
public:
QgsCodeEditorSQL( QWidget *parent /TransferThis/ = 0 );
~QgsCodeEditorSQL();

};

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscodeeditorsql.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

0 comments on commit 3f0017a

Please sign in to comment.