NDEVR
API Documentation
FileModelTable.h
1#pragma once
2#include <NDEVR/DesignPropertyTable.h>
3#if NDEVR_FILE_RESOURCE_MODEL
4namespace NDEVR
5{
10 class NDEVR_API FileModelTable : public DesignPropertyTable
11 {
12 public:
17 explicit FileModelTable(QWidget* parent = nullptr);
23 FileModelTable(QTModelManager* manager, QWidget* parent = nullptr);
27 virtual ~FileModelTable();
32 virtual void setModelManager(QTModelManager* manager) override;
37 void setFileModelParent(const DynamicPointer<QTDesignObject>& object);
38 protected:
43 void onAddNew(Button* button);
47 void setupFileTable();
48 DynamicPointer<QTDesignObject> m_object_parent;
49 FileChooserDialog* m_file_chooser_dialog;
50 };
51}
52#endif
A base class for tables wishing to show columns of DesignObject properties.
A dialog designed to allow the user to navigate a filesytem and select or create one or more files or...
The primary namespace for the NDEVR SDK.