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