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 /**--------------------------------------------------------------------------------------------------
9 \brief A table showing a list of ImageModels
10 **/
11 class NDEVR_API ImageModelList : public DesignPropertyTable
12 {
13 Q_OBJECT
14 public:
15 explicit ImageModelList(QWidget* parent = nullptr);
16 ImageModelList(QTModelManager* manager, QWidget* parent = nullptr);
17 virtual ~ImageModelList();
18 virtual void setModelManager(QTModelManager* manager) override;
19 void setImageParent(const DynamicPointer<QTDesignObject>& object);
20 void addTakeImageButton();
21 void createImageModelFromFile(const File& file, PopupInfo popup);
22 void createVideoModelFromFile(const File& file, PopupInfo popup);
23 void addOpenFileButton();
24 protected:
25 void setupImageTable();
26 DynamicPointer<QTDesignObject> m_object_parent;
27 FileChooserDialog* m_image_dialog;
28 };
29}
30#endif
#define NDEVR_API
Definition DLLInfo.h:50
Definition ACIColor.h:37