QGIS API Documentation 3.27.0-Master (a46f227e17)
Public Slots | Public Member Functions | List of all members
QgsPointCloudQueryBuilder Class Reference

Query Builder for layers. More...

#include <qgspointcloudquerybuilder.h>

Inheritance diagram for QgsPointCloudQueryBuilder:
Inheritance graph
[legend]

Public Slots

void accept () override
 
void reject () override
 

Public Member Functions

 QgsPointCloudQueryBuilder (QgsPointCloudLayer *layer, QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
 This constructor is used when the query builder is called from the layer properties dialog. More...
 
void setSubsetString (const QString &subsetString) override
 Sets a subset string into the dialog. More...
 
void showEvent (QShowEvent *event) override
 
QString subsetString () const override
 Returns the subset string entered in the dialog. More...
 
- Public Member Functions inherited from QgsSubsetStringEditorInterface
 QgsSubsetStringEditorInterface (QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
 Constructor. More...
 
virtual void setSubsetString (const QString &subsetString)=0
 Sets a subset string into the dialog. More...
 
virtual QString subsetString () const =0
 Returns the subset string entered in the dialog. More...
 

Detailed Description

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 value ranges can be viewed to aid in constructing the expression. A test function checks that the typed expression is valid.

Since
QGIS 3.26

Definition at line 41 of file qgspointcloudquerybuilder.h.

Constructor & Destructor Documentation

◆ QgsPointCloudQueryBuilder()

QgsPointCloudQueryBuilder::QgsPointCloudQueryBuilder ( QgsPointCloudLayer layer,
QWidget *  parent = nullptr,
Qt::WindowFlags  fl = QgsGuiUtils::ModalDialogFlags 
)

This constructor is used when the query builder is called from the layer properties dialog.

Parameters
layerexisting point cloud layer
parentParent widget
fldialog flags

Definition at line 32 of file qgspointcloudquerybuilder.cpp.

Member Function Documentation

◆ accept

void QgsPointCloudQueryBuilder::accept ( )
overrideslot

Definition at line 245 of file qgspointcloudquerybuilder.cpp.

◆ reject

void QgsPointCloudQueryBuilder::reject ( )
overrideslot

Definition at line 259 of file qgspointcloudquerybuilder.cpp.

◆ setSubsetString()

void QgsPointCloudQueryBuilder::setSubsetString ( const QString &  subsetString)
inlineoverridevirtual

Sets a subset string into the dialog.

Implements QgsSubsetStringEditorInterface.

Definition at line 59 of file qgspointcloudquerybuilder.h.

◆ showEvent()

void QgsPointCloudQueryBuilder::showEvent ( QShowEvent *  event)
override

Definition at line 81 of file qgspointcloudquerybuilder.cpp.

◆ subsetString()

QString QgsPointCloudQueryBuilder::subsetString ( ) const
inlineoverridevirtual

Returns the subset string entered in the dialog.

Implements QgsSubsetStringEditorInterface.

Definition at line 58 of file qgspointcloudquerybuilder.h.


The documentation for this class was generated from the following files: