API Documentation
Loading...
Searching...
No Matches
FileModelTable.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/DesignPropertyTable.h>
3#if NDEVR_FILE_RESOURCE_MODEL
4namespace NDEVR
5{
6 class FileChooserDialog;
7 /**--------------------------------------------------------------------------------------------------
8 \brief A table showing a list of FileModels
9 **/
10 class NDEVR_API FileModelTable : public DesignPropertyTable
11 {
12 public:
13 explicit FileModelTable(QWidget* parent = nullptr);
14 FileModelTable(QTModelManager* manager, QWidget* parent = nullptr);
15 virtual ~FileModelTable();
16 virtual void setModelManager(QTModelManager* manager) override;
17 void setFileModelParent(const DynamicPointer<QTDesignObject>& object);
18
19 protected:
20 void onAddNew(Button* button);
21 void setupFileTable();
22 DynamicPointer<QTDesignObject> m_object_parent;
23 FileChooserDialog* m_file_chooser_dialog;
24 };
25}
26#endif
#define NDEVR_API
Definition DLLInfo.h:50
Definition ACIColor.h:37