Skip to content

Commit a0c2b0e

Browse files
committed
Try to fix style, sip etc.
1 parent 5078de3 commit a0c2b0e

File tree

14 files changed

+409
-27
lines changed

14 files changed

+409
-27
lines changed

python/PyQt6/core/auto_generated/symbology/qgssymbol.sip.in

+4-4
Original file line numberDiff line numberDiff line change
@@ -870,20 +870,20 @@ Internally, this notifies all symbol layers which were used via a call to
870870
%Docstring
871871
Returns the symbol's extent buffer.
872872

873-
.. versionadded:: 3.42
874-
875873
:return: The symbol's extent buffer
874+
875+
.. versionadded:: 3.42
876876
%End
877877

878878
void setExtentBuffer( double extentBuffer );
879879
%Docstring
880880
Sets the symbol's extent buffer.
881881

882-
.. versionadded:: 3.42
883-
884882
:param extentBuffer: buffer distance in map units
885883

886884
.. seealso:: :py:func:`extentBuffer`
885+
886+
.. versionadded:: 3.42
887887
%End
888888

889889
protected:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# The following has been generated automatically from src/gui/symbology/qgsextentbufferdialog.h
2+
try:
3+
QgsExtentBufferWidget.__group__ = ['symbology']
4+
except NameError:
5+
pass
6+
try:
7+
QgsExtentBufferDialog.__group__ = ['symbology']
8+
except NameError:
9+
pass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
/************************************************************************
2+
* This file has been generated automatically from *
3+
* *
4+
* src/gui/symbology/qgsextentbufferdialog.h *
5+
* *
6+
* Do not edit manually ! Edit header and run scripts/sipify.py again *
7+
************************************************************************/
8+
9+
10+
11+
12+
class QgsExtentBufferWidget : QgsPanelWidget, QgsExpressionContextGenerator
13+
{
14+
%Docstring(signature="appended")
15+
A widget which allows the user to modify the rendering order of extent buffers.
16+
17+
.. seealso:: :py:class:`QgsExtentBufferDialog`
18+
19+
.. versionadded:: 3.42
20+
%End
21+
22+
%TypeHeaderCode
23+
#include "qgsextentbufferdialog.h"
24+
%End
25+
public:
26+
27+
QgsExtentBufferWidget( QgsSymbol *symbol, QgsVectorLayer *layer, QWidget *parent /TransferThis/ = 0 );
28+
%Docstring
29+
Constructor for QgsExtentBufferWidget
30+
%End
31+
32+
double extentBuffer() const;
33+
%Docstring
34+
Returns the extent buffer value currently set in the widget.
35+
36+
:return: extent buffer value
37+
%End
38+
39+
QgsProperty dataDefinedProperty() const;
40+
%Docstring
41+
Returns the data defined property currently set in the widget.
42+
43+
:return: property
44+
%End
45+
46+
void setContext( const QgsSymbolWidgetContext &context );
47+
%Docstring
48+
Sets the context in which widget is shown, e.g., the associated map canvas and expression contexts.
49+
50+
:param context: symbol widget context
51+
52+
.. seealso:: :py:func:`context`
53+
%End
54+
55+
QgsSymbolWidgetContext context() const;
56+
%Docstring
57+
Returns the context in which the widget is shown, e.g., the associated map canvas and expression contexts.
58+
59+
.. seealso:: :py:func:`setContext`
60+
%End
61+
62+
};
63+
64+
class QgsExtentBufferDialog : QDialog
65+
{
66+
%Docstring(signature="appended")
67+
A dialog which allows the user to modify the extent buffer of a symbol.
68+
69+
.. versionadded:: 3.42
70+
%End
71+
72+
%TypeHeaderCode
73+
#include "qgsextentbufferdialog.h"
74+
%End
75+
public:
76+
77+
QgsExtentBufferDialog( QgsSymbol *symbol, QgsVectorLayer *layer, QWidget *parent /TransferThis/ = 0 );
78+
%Docstring
79+
Constructor for QgsExtentBufferDialog.
80+
%End
81+
82+
double extentBuffer() const;
83+
%Docstring
84+
Returns the extent buffer value currently set in the widget.
85+
%End
86+
87+
QgsProperty dataDefinedProperty() const;
88+
%Docstring
89+
Returns the extent buffer value currently set in the widget.
90+
91+
.. note::
92+
93+
returns 0 if widget does not exist
94+
95+
:return: extent buffer value
96+
%End
97+
98+
QgsExtentBufferWidget *widget() const;
99+
%Docstring
100+
Returns the data defined property currently set in the widget.
101+
102+
.. note::
103+
104+
returns empty property if widget does not exist
105+
106+
:return: property
107+
%End
108+
109+
};
110+
111+
/************************************************************************
112+
* This file has been generated automatically from *
113+
* *
114+
* src/gui/symbology/qgsextentbufferdialog.h *
115+
* *
116+
* Do not edit manually ! Edit header and run scripts/sipify.py again *
117+
************************************************************************/

python/PyQt6/gui/gui_auto.sip

+1
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@
515515
%Include auto_generated/symbology/qgssymbolbuffersettingswidget.sip
516516
%Include auto_generated/symbology/qgssymbollayerwidget.sip
517517
%Include auto_generated/symbology/qgssymbollevelsdialog.sip
518+
%Include auto_generated/symbology/qgsextentbufferdialog.sip
518519
%Include auto_generated/symbology/qgssymbolselectordialog.sip
519520
%Include auto_generated/symbology/qgssymbolslistwidget.sip
520521
%Include auto_generated/symbology/qgssymbolwidgetcontext.sip
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
/************************************************************************
2+
* This file has been generated automatically from *
3+
* *
4+
* src/gui/symbology/qgsextentbufferdialog.h *
5+
* *
6+
* Do not edit manually ! Edit header and run scripts/sipify.py again *
7+
************************************************************************/
8+
9+
10+
11+
12+
class QgsExtentBufferWidget : QgsPanelWidget, QgsExpressionContextGenerator
13+
{
14+
%Docstring(signature="appended")
15+
A widget which allows the user to modify the rendering order of extent buffers.
16+
17+
.. seealso:: :py:class:`QgsExtentBufferDialog`
18+
%End
19+
20+
%TypeHeaderCode
21+
#include "qgsextentbufferdialog.h"
22+
%End
23+
public:
24+
25+
QgsExtentBufferWidget( QgsSymbol *symbol, QgsVectorLayer *layer, QWidget *parent /TransferThis/ = 0 );
26+
%Docstring
27+
Constructor for QgsExtentBufferWidget
28+
%End
29+
30+
double extentBuffer() const;
31+
%Docstring
32+
Returns the extent buffer value currently set in the widget.
33+
34+
:return: extent buffer value
35+
%End
36+
37+
QgsProperty dataDefinedProperty() const;
38+
%Docstring
39+
Returns the data defined property currently set in the widget.
40+
41+
:return: property
42+
%End
43+
44+
void setContext( const QgsSymbolWidgetContext &context );
45+
%Docstring
46+
Sets the context in which widget is shown, e.g., the associated map canvas and expression contexts.
47+
48+
:param context: symbol widget context
49+
50+
.. seealso:: :py:func:`context`
51+
%End
52+
53+
QgsSymbolWidgetContext context() const;
54+
%Docstring
55+
Returns the context in which the widget is shown, e.g., the associated map canvas and expression contexts.
56+
57+
.. seealso:: :py:func:`setContext`
58+
%End
59+
60+
};
61+
62+
class QgsExtentBufferDialog : QDialog
63+
{
64+
%Docstring(signature="appended")
65+
A dialog which allows the user to modify the extent buffer of a symbol.
66+
%End
67+
68+
%TypeHeaderCode
69+
#include "qgsextentbufferdialog.h"
70+
%End
71+
public:
72+
73+
QgsExtentBufferDialog( QgsSymbol *symbol, QgsVectorLayer *layer, QWidget *parent /TransferThis/ = 0 );
74+
%Docstring
75+
Constructor for QgsExtentBufferDialog.
76+
%End
77+
78+
double extentBuffer() const;
79+
%Docstring
80+
Returns the extent buffer value currently set in the widget.
81+
%End
82+
83+
QgsProperty dataDefinedProperty() const;
84+
%Docstring
85+
Returns the extent buffer value currently set in the widget.
86+
87+
.. note::
88+
89+
returns 0 if widget does not exist
90+
91+
:return: extent buffer value
92+
%End
93+
94+
QgsExtentBufferWidget *widget() const;
95+
%Docstring
96+
Returns the data defined property currently set in the widget.
97+
98+
.. note::
99+
100+
returns empty property if widget does not exist
101+
102+
:return: property
103+
%End
104+
105+
};
106+
107+
/************************************************************************
108+
* This file has been generated automatically from *
109+
* *
110+
* src/gui/symbology/qgsextentbufferdialog.h *
111+
* *
112+
* Do not edit manually ! Edit header and run scripts/sipify.py again *
113+
************************************************************************/

python/core/auto_generated/symbology/qgssymbol.sip.in

+4-4
Original file line numberDiff line numberDiff line change
@@ -870,20 +870,20 @@ Internally, this notifies all symbol layers which were used via a call to
870870
%Docstring
871871
Returns the symbol's extent buffer.
872872

873-
.. versionadded:: 3.42
874-
875873
:return: The symbol's extent buffer
874+
875+
.. versionadded:: 3.42
876876
%End
877877

878878
void setExtentBuffer( double extentBuffer );
879879
%Docstring
880880
Sets the symbol's extent buffer.
881881

882-
.. versionadded:: 3.42
883-
884882
:param extentBuffer: buffer distance in map units
885883

886884
.. seealso:: :py:func:`extentBuffer`
885+
886+
.. versionadded:: 3.42
887887
%End
888888

889889
protected:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# The following has been generated automatically from src/gui/symbology/qgsextentbufferdialog.h
2+
try:
3+
QgsExtentBufferWidget.__group__ = ['symbology']
4+
except NameError:
5+
pass
6+
try:
7+
QgsExtentBufferDialog.__group__ = ['symbology']
8+
except NameError:
9+
pass

0 commit comments

Comments
 (0)