API Documentation
Loading...
Searching...
No Matches
ShowPropertySettings.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/PopupInfo.h>
4#include <NDEVR/TranslatedString.h>
5#include <NDEVR/UUID.h>
6#include <functional>
7
8namespace NDEVR
9{
20
22 {
23 ShowPropertiesSettings(UUID id, const PopupInfo& origin = PopupInfo());
25 void setupForStyle(DesignDialogStyle style);
32 bool force_popup = false;
33 bool is_viewport_selection = false;
34 bool delete_model_on_cancel = false;
35 bool is_creation_dialog = false;
36 std::function<void()> finished_function;
37 std::function<void()> cancel_function;
38 };
39}
#define NDEVR_API
Definition DLLInfo.h:67
Definition String.h:40
Definition TranslatedString.h:9
Definition UUID.h:66
Definition ACIColor.h:37
DesignDialogStyle
Definition ShowPropertySettings.h:11
Definition PopupInfo.h:10
Definition ShowPropertySettings.h:22
UUID id
Definition ShowPropertySettings.h:26
PopupInfo popup_origin
Definition ShowPropertySettings.h:27
TranslatedString finish_button_title
Definition ShowPropertySettings.h:28
std::function< void()> cancel_function
Definition ShowPropertySettings.h:37
TranslatedString cancel_button_title
Definition ShowPropertySettings.h:30
String cancel_button_icon
Definition ShowPropertySettings.h:31
std::function< void()> finished_function
Definition ShowPropertySettings.h:36
String finish_button_icon
Definition ShowPropertySettings.h:29