mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-09 00:08:52 -04:00
94 lines
2.7 KiB
Plaintext
94 lines
2.7 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgspointcloudquerybuilder.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
class QgsPointCloudQueryBuilder : QgsSubsetStringEditorInterface
|
|
{
|
|
%Docstring(signature="appended")
|
|
Query Builder for layers.
|
|
|
|
The query builder allows interactive creation of an expression for limiting the
|
|
points displayed in a point cloud layer. The point attributes are displayed
|
|
and sample values can be viewed to aid in constructing the expression.
|
|
A test function checks that the typed expression is valid.
|
|
|
|
.. versionadded:: 3.26
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgspointcloudquerybuilder.h"
|
|
%End
|
|
public:
|
|
|
|
QgsPointCloudQueryBuilder( QgsPointCloudLayer *layer, QWidget *parent /TransferThis/ = 0,
|
|
Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
|
|
%Docstring
|
|
This constructor is used when the query builder is called from the
|
|
layer properties dialog
|
|
|
|
:param layer: existing point cloud layer
|
|
:param parent: Parent widget
|
|
:param fl: dialog flags
|
|
%End
|
|
|
|
virtual void showEvent( QShowEvent *event );
|
|
|
|
|
|
virtual QString subsetString() const;
|
|
virtual void setSubsetString( const QString &subsetString );
|
|
|
|
%If (HAVE_QSCI_SIP)
|
|
|
|
QgsCodeEditor *codeEditorWidget() const;
|
|
%Docstring
|
|
Returns the code editor widget for the SQL.
|
|
%End
|
|
%End
|
|
%If (!HAVE_QSCI_SIP)
|
|
|
|
QWidget *codeEditorWidget() const;
|
|
%Docstring
|
|
Returns the code editor widget for the SQL.
|
|
%End
|
|
%End
|
|
|
|
public slots:
|
|
virtual void accept();
|
|
|
|
virtual void reject();
|
|
|
|
|
|
void clear();
|
|
%Docstring
|
|
Clears the typed expression
|
|
%End
|
|
|
|
virtual void test();
|
|
%Docstring
|
|
Test if the typed expression is valid and can be used as a ``:py:class:`QgsPointCloudExpression```
|
|
%End
|
|
|
|
void saveQuery();
|
|
%Docstring
|
|
Save expression to the XML file
|
|
%End
|
|
|
|
void loadQuery();
|
|
%Docstring
|
|
Load expression from the XML file
|
|
%End
|
|
|
|
};
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgspointcloudquerybuilder.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|