|
| 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 | + ************************************************************************/ |
0 commit comments