API Documentation
Loading...
Searching...
No Matches
FilteringWidget.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/DesignObjectWidgetInterface.h>
3#include <QWidget>
4namespace Ui
5{
6 class VertexFilteringUI;
7}
8namespace NDEVR
9{
10 class QCustomLineEdit;
11 /**--------------------------------------------------------------------------------------------------
12 \brief A widget allowing the user to select a FilterDescription and adjust its properties and execute
13 a filtering operation
14 **/
15 class FilteringWidget : public QWidget, public DesignObjectWidgetInterface
16 {
17 Q_OBJECT
18 public:
19 FilteringWidget(QWidget* parent = nullptr);
21 QSize sizeHint() const override;
22
23 protected slots:
26 protected:
27 QWidget* createFilterWidget(FilterDescription* description_ptr, bool is_active);
28 void onTargetUpdated(UUID) override;
29 protected:
32 Ui::VertexFilteringUI* ui;
33 };
34}
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
A base class for interacting with one or more DesignObjects.
Definition DesignObjectWidgetInterface.h:11
A widget allowing the user to select a FilterDescription and adjust its properties and execute a filt...
Definition FilteringWidget.h:16
QWidget * createFilterWidget(FilterDescription *description_ptr, bool is_active)
QSize sizeHint() const override
void updateUIFromAvailableFilters()
Ui::VertexFilteringUI * ui
Definition FilteringWidget.h:32
Buffer< FilterDescription * > m_available_filters
Definition FilteringWidget.h:30
FilteringWidget(QWidget *parent=nullptr)
void onTargetUpdated(UUID) override
Buffer< FilterDescription * > m_applied_filters
Definition FilteringWidget.h:31
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:60
Definition ACIColor.h:37
Definition FontEditor.h:6
Describes special options/parameters for a GeometryFilter engine.
Definition GeometryFilter.h:20