API Documentation
Loading...
Searching...
No Matches
WindowOptions.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/ApplicationOptions.h>
4namespace NDEVR
5{
6 /**--------------------------------------------------------------------------------------------------
7 struct: WindowOptions
8
9 Stores the options, added to the user settings, that control Window and high level UI options in the
10 application. All options retained across application restart
11
12 Author: Tyler Parke
13
14 Date: 2023-01-16
15 *-----------------------------------------------------------------------------------------------**/
17 {
18 //If true, application will create the viewports in the right side of the window
20 //If true, application will create dialogs in the bottom section of the window
22 //If true, application will handle connecting to the wifi
24 //If true, will reset the browser to the default directory each time it is shown
26 //shows the draw pane once model content has been loaded in
28 //shows the measure pane once model content has been loaded in
30 //shows the camera pane once model content has been loaded in
32 //makes tab area horizontal vs normal vertical
34 //shows the edit project dialog when user creates a new project
36 //when true, allows user to adjust touch/desktop mode in the applicaiton
38 //When true, by default, shows the exit button on the ribbon and getting started in touch
40 //Sets properties dialogs to, by default, show up docked the side panels, vs popping up
42 //Warns user before deleting object
44 //creates an edit dock for the current selection by default
46 //spawns a new process when "new" chosen vs just clearing data
48 //Allows multiple Model property dialogs on the screen at once
50 //Resets all Viewport Options to defaults
51 static void ResetOptionsToDefaults();
52 //The category in user settings for all of the above options
54 };
55}
#define NDEVR_API
Definition DLLInfo.h:67
The default object to store data of any type that should persist through sessions of the application.
Definition Button.h:57
Any text displayed to the user should be defined as a TranslatedString which allows the.
Definition TranslatedString.h:13
Definition ACIColor.h:37
Definition WindowOptions.h:17
static ApplicationOption< bool > show_measure_options
Definition WindowOptions.h:29
static ApplicationOption< bool > horizontal_selection_area
Definition WindowOptions.h:33
static ApplicationOption< bool > allow_multiple_properties
Definition WindowOptions.h:49
static ApplicationOption< bool > show_new_project_dialog
Definition WindowOptions.h:35
static ApplicationOption< bool > spawn_new_process_on_new
Definition WindowOptions.h:47
static ApplicationOption< bool > show_camera_pane
Definition WindowOptions.h:31
static ApplicationOption< bool > managed_wifi
Definition WindowOptions.h:23
static ApplicationOption< bool > use_bottom_section
Definition WindowOptions.h:21
static ApplicationOption< bool > reset_browse_directory
Definition WindowOptions.h:25
static ApplicationOption< bool > viewport_selection_dock_editor
Definition WindowOptions.h:45
static ApplicationOption< bool > is_right_sided
Definition WindowOptions.h:19
static ApplicationOption< bool > dock_design_editors
Definition WindowOptions.h:41
static ApplicationOption< bool > warn_on_delete
Definition WindowOptions.h:43
static TranslatedString options_label
Definition WindowOptions.h:53
static ApplicationOption< bool > allow_touch_desktop_selection
Definition WindowOptions.h:37
static ApplicationOption< bool > show_draw_options
Definition WindowOptions.h:27
static ApplicationOption< bool > show_exit_in_touch
Definition WindowOptions.h:39