33#include <NDEVR/DesignObjectGallery.h>
34#include <NDEVR/Dictionary.h>
37 class DesignObjectChooserUI;
49 void removeCategory(
const String& name);
50 void showActiveMaterialsCategory(
bool show);
51 void showActiveModelsCategory(
bool show);
55 void updateFromArchive(
bool show_active_models,
bool show_active_materials,
bool refresh_archive_files);
56 void updateFromArchive(
bool refresh_archive_files);
57 void filterFromManager();
58 void filterFromArchive();
59 void filter(
const String& keyword_search);
62 void setCategory(
const String& category);
63 void addButton(
Button* button);
68 void initContextMenu(
Button* button);
69 void showFileMenu(
bool is_save);
74 void onCategoryChanged();
78 bool m_is_library =
false;
85 Ui::DesignObjectChooserUI*
ui;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:59
Definition DesignObjectChooser.h:42
bool m_is_material_chooser
Definition DesignObjectChooser.h:76
Dictionary< String, Buffer< UUID > > m_keywords
Definition DesignObjectChooser.h:79
bool m_is_model_chooser
Definition DesignObjectChooser.h:77
Ui::DesignObjectChooserUI * ui
Definition DesignObjectChooser.h:85
LibraryManager * m_library_manager
Definition DesignObjectChooser.h:83
void onSelectedSignal(Buffer< UUID > id)
QTModelManager * m_manager
Definition DesignObjectChooser.h:82
Dictionary< String, Buffer< UUID > > m_categories
Definition DesignObjectChooser.h:80
Buffer< String > m_category_list
Definition DesignObjectChooser.h:81
String m_keyword_search
Definition DesignObjectChooser.h:84
SelectionMode
Definition DesignObjectGallery.h:46
A hash-based key-value store, useful for quick associative lookups.
Definition Dictionary.h:59
Definition LibraryManager.h:38
Definition QTModelManager.h:94
The core String class for the software.
Definition String.h:47
Definition FontEditor.h:6