Package qubx :: Module settings
[hide private]
[frames] | no frames]

Module settings

source code

Preferences and presets management.

Copyright 2007-2014 Research Foundation State University of New York This file is part of QUB Express.

QUB Express is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QUB Express is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License, named LICENSE.txt, in the QUB Express program directory. If not, see <http://www.gnu.org/licenses/>.

Classes [hide private]
  Settings
The settings for one category.
  SettingsManager
Manager for all categories of settings.
  Property
  PropertyInstance
  PropertyStorage
  PropertiedBase
Functions [hide private]
 
printme(s) source code
 
settings_as_pairs(parent, keys=None, enums=[]) source code
 
Propertied(*specs)
Returns a class decorator which adds the desired propertied and settings/gui integration.
source code
 
InitSettings(gdir=None, udir=None)
Creates the global var SettingsMgr, with specified global and user paths, or reasonable defaults.
source code
Variables [hide private]
  SettingsMgr = None
hash(x)
  __package__ = 'qubx'