API Documentation
Loading...
Searching...
No Matches
ImageModelDialog.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/Editor.h>
3class QBoxLayout;
4namespace NDEVR
5{
6 class ImageView;
7 class QCustomTextEdit;
8 /**--------------------------------------------------------------------------------------------------
9 \brief A popup Editor dialog for showing options or information related to ImageModel model objects.
10 **/
12 {
13 public:
14 ImageModelDialog(const DynamicPointer<QTDesignObject> & project, QWidget* parent = nullptr);
16 virtual void updateValues() override;
17 void setIsReport(bool is_report);
18 QSize sizeHint() const override;
19 protected:
20 QBoxLayout* m_main_layout;
23 };
24}
#define NDEVR_API
Definition DLLInfo.h:50
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:320
A base class for displaying options for editing a single DesignObject, typically a Model.
Definition Editor.h:48
A popup Editor dialog for showing options or information related to ImageModel model objects.
Definition ImageModelDialog.h:12
ImageView * m_image_view
Definition ImageModelDialog.h:21
QSize sizeHint() const override
void setIsReport(bool is_report)
QCustomTextEdit * m_description_edit
Definition ImageModelDialog.h:22
ImageModelDialog(const DynamicPointer< QTDesignObject > &project, QWidget *parent=nullptr)
virtual void updateValues() override
QBoxLayout * m_main_layout
Definition ImageModelDialog.h:20
A widget that shows a raster image or icon.
Definition ImageView.h:43
A widget that is used to edit and display both plain and rich text in a multi-lined format.
Definition QCustomTextEdit.h:41
Definition ACIColor.h:37