casa
$Rev:20696$
|
#include <Preferences.qo.h>
Public Member Functions | |
Preferences (QWidget *parent=0) | |
~Preferences () | |
Protected Slots | |
void | reset_edits () |
void | cancel_edits () |
void | apply_edits () |
Protected Member Functions | |
void | showEvent (QShowEvent *) |
Private Types | |
typedef std::map< std::string, std::vector< std::string > > | tokenized_type |
typedef std::map< std::string, std::set< std::string > > | branch_count_type |
typedef std::map< std::string, QValidator * > | validate_map_type |
typedef std::map< std::string, std::string > | rcvalues_type |
typedef std::map< std::string, std::string > | tooltips_type |
typedef std::map< std::string, QLineEdit * > | rcedits_type |
Private Member Functions | |
void | init () |
int | tokenize (tokenized_type &) |
returns the number of configuration options... | |
int | countbranches (const tokenized_type &, branch_count_type &) |
returns the number of root nodes... | |
int | find_tree_depth (bool, const tokenized_type &, const branch_count_type &) |
calculate tree depth... | |
Private Attributes | |
QSignalMapper * | sigmap |
validate_map_type | validate_map |
tooltips_type | tips |
tool tips for leaves & nodes... | |
rcvalues_type | defaults |
initial viewer default values... | |
rcedits_type | edits |
rc values to edit boxes... | |
const int | init_fields |
const int | tip_offset |
const int | role_offset |
const int | default_offset |
const int | validate_offset |
Casarc & | rc |
connection to rc file | |
Static Private Attributes | |
static const char * | init_state [] |
Definition at line 41 of file Preferences.qo.h.
typedef std::map<std::string,std::set<std::string> > casa::viewer::Preferences::branch_count_type [private] |
Definition at line 57 of file Preferences.qo.h.
typedef std::map<std::string,QLineEdit*> casa::viewer::Preferences::rcedits_type [private] |
Definition at line 75 of file Preferences.qo.h.
typedef std::map<std::string,std::string> casa::viewer::Preferences::rcvalues_type [private] |
Definition at line 73 of file Preferences.qo.h.
typedef std::map<std::string,std::vector<std::string> > casa::viewer::Preferences::tokenized_type [private] |
Definition at line 56 of file Preferences.qo.h.
typedef std::map<std::string,std::string> casa::viewer::Preferences::tooltips_type [private] |
Definition at line 74 of file Preferences.qo.h.
typedef std::map<std::string,QValidator*> casa::viewer::Preferences::validate_map_type [private] |
Definition at line 70 of file Preferences.qo.h.
casa::viewer::Preferences::Preferences | ( | QWidget * | parent = 0 | ) |
void casa::viewer::Preferences::apply_edits | ( | ) | [protected, slot] |
void casa::viewer::Preferences::cancel_edits | ( | ) | [protected, slot] |
int casa::viewer::Preferences::countbranches | ( | const tokenized_type & | , |
branch_count_type & | |||
) | [private] |
returns the number of root nodes...
int casa::viewer::Preferences::find_tree_depth | ( | bool | , |
const tokenized_type & | , | ||
const branch_count_type & | |||
) | [private] |
calculate tree depth...
void casa::viewer::Preferences::init | ( | ) | [private] |
void casa::viewer::Preferences::reset_edits | ( | ) | [protected, slot] |
void casa::viewer::Preferences::showEvent | ( | QShowEvent * | ) | [protected] |
int casa::viewer::Preferences::tokenize | ( | tokenized_type & | ) | [private] |
returns the number of configuration options...
const int casa::viewer::Preferences::default_offset [private] |
Definition at line 86 of file Preferences.qo.h.
initial viewer default values...
Definition at line 79 of file Preferences.qo.h.
rcedits_type casa::viewer::Preferences::edits [private] |
rc values to edit boxes...
Definition at line 81 of file Preferences.qo.h.
const int casa::viewer::Preferences::init_fields [private] |
Definition at line 83 of file Preferences.qo.h.
const char* casa::viewer::Preferences::init_state[] [static, private] |
Definition at line 67 of file Preferences.qo.h.
Casarc& casa::viewer::Preferences::rc [private] |
connection to rc file
Definition at line 90 of file Preferences.qo.h.
const int casa::viewer::Preferences::role_offset [private] |
Definition at line 85 of file Preferences.qo.h.
QSignalMapper* casa::viewer::Preferences::sigmap [private] |
Definition at line 69 of file Preferences.qo.h.
const int casa::viewer::Preferences::tip_offset [private] |
Definition at line 84 of file Preferences.qo.h.
tooltips_type casa::viewer::Preferences::tips [private] |
tool tips for leaves & nodes...
Definition at line 77 of file Preferences.qo.h.
Definition at line 71 of file Preferences.qo.h.
const int casa::viewer::Preferences::validate_offset [private] |
Definition at line 87 of file Preferences.qo.h.