Horizon
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
horizon::Preferences Class Reference

Public Types

enum class  StockInfoProviderSel { NONE , PARTINFO , DIGIKEY }
 
typedef sigc::signal< void > type_signal_changed
 

Public Member Functions

void set_filename (const std::string &filename)
 
void load ()
 
void load_default ()
 
void load_from_json (const json &j)
 
void save ()
 
json serialize () const
 
type_signal_changed signal_changed ()
 

Static Public Member Functions

static std::string get_preferences_filename ()
 

Public Attributes

CanvasPreferences canvas_non_layer
 
CanvasPreferences canvas_layer
 
SchematicPreferences schematic
 
BoardPreferences board
 
KeySequencesPreferences key_sequences
 
ZoomPreferences zoom
 
bool capture_output = false
 
StockInfoProviderSel stock_info_provider = StockInfoProviderSel::NONE
 
PartInfoPreferences partinfo
 
DigiKeyApiPreferences digikey_api
 
ActionBarPreferences action_bar
 
InToolKeySequencesPreferences in_tool_key_sequences
 
MousePreferences mouse
 
UndoRedoPreferences undo_redo
 
AppearancePreferences appearance
 
bool show_pull_request_tools = false
 
bool hud_debug = false
 

The documentation for this class was generated from the following files: