34#include <NDEVR/Buffer.h>
35#include <NDEVR/UUID.h>
41 class QTModelManagerView;
44 class ProxyModelViewFilter;
46 class TranslatedString;
58 bool event(QEvent* e)
override;
61 void setSelectedModelRoots(
const Buffer<UUID>& roots,
bool only_visible_children);
62 void expandSelected();
64 void selectAllVisible();
66 void resizeEvent(QResizeEvent* size)
override;
74 void selectionChanged(
const QItemSelection& selected,
const QItemSelection&)
override;
75 void updateFocus(
UUID id,
bool focussed);
76 void updateModel(
UUID id);
78 void updateSelection(
UUID id,
bool selected);
79 void contextMenu(
const QPoint &pos);
80 void onExpandedSlot(
const QModelIndex& index);
81 void onCollapsedSlot(
const QModelIndex& index);
82 void clickedSlot(
const QModelIndex &index);
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:59
Definition ModelSelectionTree.h:48
Definition ProxyModelViewFilter.h:43
Definition QTModelManager.h:94
The core String class for the software.
Definition String.h:47
Any text displayed to the user should be defined as a TranslatedString which allows the.
Definition TranslatedString.h:13
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:62