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 class FilteringWidget : public QWidget, public DesignObjectWidgetInterface
12 {
13 Q_OBJECT
14 public:
15 FilteringWidget(QWidget* parent = nullptr);
17 QSize sizeHint() const override;
18
19 protected slots:
20 void executeFilters();
21 void setToDefaults();
22 protected:
23 QWidget* createFilterWidget(FilterDescription* description_ptr, bool is_active);
24 void onTargetUpdated(UUID) override;
25 protected:
28 Ui::VertexFilteringUI* ui;
29 };
30}
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:59
Definition DesignObjectWidgetInterface.h:8
Definition FilteringWidget.h:12
QWidget * createFilterWidget(FilterDescription *description_ptr, bool is_active)
Definition FilteringWidget.cpp:107
QSize sizeHint() const override
Definition FilteringWidget.cpp:95
void executeFilters()
Definition FilteringWidget.cpp:88
void updateUIFromAvailableFilters()
Definition FilteringWidget.cpp:56
Ui::VertexFilteringUI * ui
Definition FilteringWidget.h:28
Buffer< FilterDescription * > m_available_filters
Definition FilteringWidget.h:26
FilteringWidget(QWidget *parent=nullptr)
Definition FilteringWidget.cpp:11
void onTargetUpdated(UUID) override
Definition FilteringWidget.cpp:129
void setToDefaults()
Definition FilteringWidget.cpp:102
Buffer< FilterDescription * > m_applied_filters
Definition FilteringWidget.h:27
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:62
Definition ACIColor.h:37
Definition FontEditor.h:6
Definition GeometryFilter.h:15