2#include <NDEVR/Editor.h>
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Editor(QWidget *parent=nullptr)
Constructs an Editor with no design object target.
EditorShowMode showMode() const override
Returns the display mode for this editor.
void setIsReport(bool is_report)
Sets whether this dialog is being used in a report context.
QSize sizeHint() const override
Returns the recommended size for this dialog.
QBoxLayout * m_main_layout
The main layout for arranging child widgets.
ImageView * m_image_view
The widget displaying the image preview.
virtual void updateValues() override
Refreshes the dialog UI to reflect the current state of the underlying design object.
QCustomTextEdit * m_description_edit
Text edit for the image description.
ImageModelDialog(const DynamicPointer< QTDesignObject > &project, QWidget *parent=nullptr)
Constructs an ImageModelDialog for the given project.
QCustomComboBox * m_placement_pattern
Combo box for selecting the image placement pattern.
QTImageEditor * m_image_editor
The image editor widget for modifying images.
void insertModel(Model &model, bool resize)
Inserts a model into the dialog for editing.
A widget that shows a raster image or icon.
A core class that represents a node on model hierarchy.
A compact way to present a list of options to the user.
A widget that is used to edit and display both plain and rich text in a multi-lined format.
A full-featured image editor widget with drawing tools, undo/redo, and image manipulation.
The primary namespace for the NDEVR SDK.
EditorShowMode
Describes how an Editor should be displayed within the application UI.
Vector2< g_type > project(const Vector3< g_type > &)
Projects a 3D point to 2D by dividing by the z component.