Shapeworks Studio  2.1
Shape analysis software suite
List of all members | Public Types | Signals | Public Member Functions
Preferences Class Reference

Application preferences. More...

#include <Preferences.h>

+ Inheritance diagram for Preferences:
+ Collaboration diagram for Preferences:

Public Types

enum  { MAX_RECENT_FILES = 4 }
 

Signals

void color_scheme_changed (int newIndex)
 
void glyph_properties_changed ()
 
void threading_changed_signal ()
 
void sliders_changed_signal ()
 

Public Member Functions

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 >
get_preference (std::string name, T default_val)
 
template<typename T >
void set_preference (std::string name, T value)
 

Detailed Description

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: