API Documentation
Loading...
Searching...
No Matches
ImageModelList.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/DesignPropertyTable.h>
3#if NDEVR_IMAGE_MODEL
4namespace NDEVR
5{
6 class FileChooserDialog;
7 class Button;
8 class NDEVR_API ImageModelList : public DesignPropertyTable
9 {
10 Q_OBJECT
11 public:
12 explicit ImageModelList(QWidget* parent = nullptr);
13 ImageModelList(QTModelManager* manager, QWidget* parent = nullptr);
14 virtual ~ImageModelList();
15 virtual void setModelManager(QTModelManager* manager) override;
16 void setImageParent(const DynamicPointer<QTDesignObject>& object);
17 void addTakeImageButton();
18 void createImageModelFromFile(const File& file, PopupInfo popup);
19 void createVideoModelFromFile(const File& file, PopupInfo popup);
20 void addOpenFileButton();
21 protected:
22 void setupImageTable();
23 DynamicPointer<QTDesignObject> m_object_parent;
24 FileChooserDialog* m_image_dialog;
25 };
26}
27#endif
#define NDEVR_API
Definition DLLInfo.h:67
Definition ACIColor.h:37