34#include <NDEVR/Buffer.h>
35#include <NDEVR/UUID.h>
41 class QTModelManagerView;
44 class ProxyModelViewFilter;
46 class TranslatedString;
85 Button* m_context_menu_button =
nullptr;
86 bool m_auto_expanding =
false;
87 bool m_owns_design_model =
false;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
Definition ModelSelectionTree.h:48
void setModelManager(QTModelManager *manager)
void onExpandedSlot(const QModelIndex &index)
void updateFocus(UUID id, bool focussed)
Buffer< UUID > getModelRoots() const
void updateSelection(UUID id, bool selected)
void contextMenu(const QPoint &pos)
void onCollapsedSlot(const QModelIndex &index)
ModelSelectionTree(ProxyModelViewFilter *manager, bool owns_filter, QWidget *parent=nullptr)
ModelSelectionTree(QTModelManager *manager, QWidget *parent=nullptr)
QTModelManager * manager() const
void updateModel(UUID id)
virtual ~ModelSelectionTree()
ProxyModelViewFilter * filter() const
bool event(QEvent *e) override
Buffer< UUID > getSelectedModelRoots() const
void setHeader(const TranslatedString &header_title, const String &header_icon)
ModelSelectionTree(QWidget *parent=nullptr)
void setupFilter(ProxyModelViewFilter *filter)
void setFilter(ProxyModelViewFilter *filter, bool owns_filter)
void setSelectedModelRoots(const Buffer< UUID > &roots, bool only_visible_children)
void selectionChanged(const QItemSelection &selected, const QItemSelection &) override
void resizeEvent(QResizeEvent *size) override
void clickedSlot(const QModelIndex &index)
Filters and sorts Models from a ModelManager for views such as in a table or in a tree view.
Definition ProxyModelViewFilter.h:46
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
Definition QTModelManager.h:105
The core String class for the NDEVR API.
Definition String.h:69
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
Definition TranslatedString.h:13
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:60