3#include <NDEVR/PopupInfo.h>
4#include <NDEVR/TranslatedString.h>
The core String class for the NDEVR API.
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
The primary namespace for the NDEVR SDK.
DesignDialogStyle
Styles controlling the appearance and behavior of a DesignObjectDialog.
@ e_next_back_workflow
Workflow dialog with next and back buttons.
@ e_object_creation
Dialog for creating a new object.
@ e_no_decoration
Dialog without any button decorations.
@ e_next_workflow
Workflow dialog with only a next button.
@ e_finish_back_workflow
Workflow dialog with finish and back buttons.
@ e_edit_settings
Standard edit settings dialog with apply/cancel.
@ e_finish_workflow
Workflow dialog with only a finish button.
TranslatedString finish_button_title
The title of the finish/accept button.
void setupForStyle(DesignDialogStyle style)
Configures the button titles and icons based on the given dialog style.
String finish_button_icon
The icon for the finish/accept button.
bool force_dock
Whether to force the dialog to appear docked.
bool is_creation_dialog
Whether this dialog is for creating a new object.
UUID id
The UUID of the design object to show properties for.
std::function< void()> finished_function
Callback invoked when the dialog is accepted.
PopupInfo popup_origin
The popup positioning and display information.
ShowPropertiesSettings(UUID id, DesignDialogStyle style, const PopupInfo &origin=PopupInfo())
Constructs settings for showing properties with a specific dialog style.
bool force_popup
Whether to force the dialog to appear as a popup.
TranslatedString cancel_button_title
The title of the cancel button.
bool is_viewport_selection
Whether the dialog was triggered from a viewport selection.
std::function< void()> cancel_function
Callback invoked when the dialog is cancelled.
String cancel_button_icon
The icon for the cancel button.
ShowPropertiesSettings(UUID id, const PopupInfo &origin=PopupInfo())
Constructs settings for showing properties of a design object.
bool delete_model_on_cancel
Whether to delete the model if the dialog is cancelled.