NDEVR
API Documentation
ImageModelList.h
1#pragma once
2#include <NDEVR/DesignPropertyTable.h>
3#if NDEVR_IMAGE_MODEL
4namespace NDEVR
5{
7 class Button;
11 class NDEVR_API ImageModelList : public DesignPropertyTable
12 {
13 public:
18 explicit ImageModelList(QWidget* parent = nullptr);
24 ImageModelList(QTModelManager* manager, QWidget* parent = nullptr);
25 virtual ~ImageModelList();
30 virtual void setModelManager(QTModelManager* manager) override;
35 void setImageParent(const DynamicPointer<QTDesignObject>& object);
39 void addTakeImageButton();
45 void createImageModelFromFile(const File& file, PopupInfo popup);
51 void createVideoModelFromFile(const File& file, PopupInfo popup);
55 void addOpenFileButton();
56 protected:
60 void setupImageTable();
61 DynamicPointer<QTDesignObject> m_object_parent;
62 FileChooserDialog* m_image_dialog;
63 };
64}
65#endif
A core widget that allows the user to click one of many button types.
Definition Button.h:68
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.