mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
96 lines
2.5 KiB
Plaintext
96 lines
2.5 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgs3dsymbolwidget.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
class Qgs3DSymbolWidget : QWidget
|
|
{
|
|
%Docstring
|
|
Base class for 3D symbol configuration widgets.
|
|
|
|
.. versionadded:: 3.16
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgs3dsymbolwidget.h"
|
|
%End
|
|
public:
|
|
|
|
Qgs3DSymbolWidget( QWidget *parent );
|
|
%Docstring
|
|
Constructor for Qgs3DSymbolWidget with the specified ``parent`` widget.
|
|
%End
|
|
|
|
virtual void setSymbol( const QgsAbstract3DSymbol *symbol, QgsVectorLayer *layer ) = 0;
|
|
%Docstring
|
|
Sets the ``symbol`` to show in the widget.
|
|
%End
|
|
|
|
virtual QgsAbstract3DSymbol *symbol() = 0 /Factory/;
|
|
%Docstring
|
|
Returns a new instance of the symbol defined by the widget.
|
|
|
|
Caller takes ownership of the returned symbol.
|
|
%End
|
|
|
|
virtual QString symbolType() const = 0;
|
|
%Docstring
|
|
Returns the symbol type handled by the widget.
|
|
%End
|
|
|
|
signals:
|
|
|
|
void changed();
|
|
%Docstring
|
|
Emitted when the symbol is changed.
|
|
%End
|
|
};
|
|
|
|
|
|
|
|
class Qgs3DSymbolDialog : QDialog
|
|
{
|
|
%Docstring
|
|
A dialog for configuring a 3D symbol.
|
|
|
|
.. versionadded:: 3.16
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgs3dsymbolwidget.h"
|
|
%End
|
|
public:
|
|
|
|
Qgs3DSymbolDialog( const QgsAbstract3DSymbol *symbol, QWidget *parent /TransferThis/ = 0 );
|
|
%Docstring
|
|
Constructor for Qgs3DSymbolDialog, initially showing the specified ``symbol``.
|
|
%End
|
|
|
|
QgsAbstract3DSymbol *symbol() const /Factory/;
|
|
%Docstring
|
|
Returns a new instance of the symbol defined by the dialog.
|
|
|
|
Caller takes ownership of the returned symbol.
|
|
%End
|
|
|
|
QDialogButtonBox *buttonBox() const;
|
|
%Docstring
|
|
Returns a reference to the dialog's button box.
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgs3dsymbolwidget.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|