API Documentation
Loading...
Searching...
No Matches
ShowPropertiesSettings Struct Reference

Stores settings for setting up and displaying a DesignObjectDialog such as whether the dialog is part of a larger workflow or used for Model creation. More...

#include <ShowPropertySettings.h>

Collaboration diagram for ShowPropertiesSettings:
[legend]

Public Member Functions

void setupForStyle (DesignDialogStyle style)
 
 ShowPropertiesSettings (UUID id, const PopupInfo &origin=PopupInfo())
 
 ShowPropertiesSettings (UUID id, DesignDialogStyle style, const PopupInfo &origin=PopupInfo())
 

Public Attributes

String cancel_button_icon
 
TranslatedString cancel_button_title
 
std::function< void()> cancel_function
 
bool delete_model_on_cancel = false
 
String finish_button_icon
 
TranslatedString finish_button_title
 
std::function< void()> finished_function
 
bool force_popup = false
 
UUID id
 
bool is_creation_dialog = false
 
bool is_viewport_selection = false
 
PopupInfo popup_origin
 

Detailed Description

Stores settings for setting up and displaying a DesignObjectDialog such as whether the dialog is part of a larger workflow or used for Model creation.


Constructor & Destructor Documentation

◆ ShowPropertiesSettings() [1/2]

ShowPropertiesSettings ( UUID id,
const PopupInfo & origin = PopupInfo() )

◆ ShowPropertiesSettings() [2/2]

ShowPropertiesSettings ( UUID id,
DesignDialogStyle style,
const PopupInfo & origin = PopupInfo() )

Member Function Documentation

◆ setupForStyle()

void setupForStyle ( DesignDialogStyle style)

Member Data Documentation

◆ cancel_button_icon

String cancel_button_icon

◆ cancel_button_title

TranslatedString cancel_button_title

◆ cancel_function

std::function<void()> cancel_function

◆ delete_model_on_cancel

bool delete_model_on_cancel = false

◆ finish_button_icon

String finish_button_icon

◆ finish_button_title

TranslatedString finish_button_title

◆ finished_function

std::function<void()> finished_function

◆ force_popup

bool force_popup = false

◆ id

UUID id

◆ is_creation_dialog

bool is_creation_dialog = false

◆ is_viewport_selection

bool is_viewport_selection = false

◆ popup_origin

PopupInfo popup_origin

The documentation for this struct was generated from the following file: