casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Slots | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes
casa::viewer::Preferences Class Reference

#include <Preferences.qo.h>

List of all members.

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
Casarcrc
 connection to rc file

Static Private Attributes

static const char * init_state []

Detailed Description

Definition at line 41 of file Preferences.qo.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

casa::viewer::Preferences::Preferences ( QWidget *  parent = 0)

Member Function Documentation

void casa::viewer::Preferences::apply_edits ( ) [protected, slot]
void casa::viewer::Preferences::cancel_edits ( ) [protected, slot]

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]

returns the number of configuration options...


Member Data Documentation

Definition at line 86 of file Preferences.qo.h.

initial viewer default values...

Definition at line 79 of file Preferences.qo.h.

rc values to edit boxes...

Definition at line 81 of file Preferences.qo.h.

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.

connection to rc file

Definition at line 90 of file Preferences.qo.h.

Definition at line 85 of file Preferences.qo.h.

QSignalMapper* casa::viewer::Preferences::sigmap [private]

Definition at line 69 of file Preferences.qo.h.

Definition at line 84 of file Preferences.qo.h.

tool tips for leaves & nodes...

Definition at line 77 of file Preferences.qo.h.

Definition at line 71 of file Preferences.qo.h.

Definition at line 87 of file Preferences.qo.h.


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