Application preferences.
More...
#include <Preferences.h>
|
enum | { MAX_RECENT_FILES = 4
} |
|
|
void | color_scheme_changed (int newIndex) |
|
void | glyph_properties_changed () |
|
void | threading_changed_signal () |
|
void | sliders_changed_signal () |
|
|
void | restore_defaults (bool force=false) |
|
void | delete_entry (std::string entry) |
|
void | add_recent_file (QString file) |
|
QStringList | get_recent_files () |
|
bool | not_saved () |
|
void | set_saved (bool saved=true) |
|
std::map< std::string, QVariant > | getAllPreferences () |
|
template<typename T > |
T | get_preference (std::string name, T default_val) |
|
template<typename T > |
void | set_preference (std::string name, T value) |
|
Application preferences.
The Preferences singleton controls all preferences for the application. Values persist via the QSettings class.
Definition at line 12 of file Preferences.h.
The documentation for this class was generated from the following files:
- C:/Users/Brig/Documents/ShapeWorksStudio/src/Application/Data/Preferences.h
- C:/Users/Brig/Documents/ShapeWorksStudio/src/Application/Data/Preferences.cc