casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Slots | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
casa::viewer::ViewerPreferences Class Reference

#include <ViewerPreferences.qo.h>

Inheritance diagram for casa::viewer::ViewerPreferences:

Public Member Functions

 ViewerPreferences (QWidget *parent=0)
 
 ~ViewerPreferences ()
 

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... More...
 
int countbranches (const tokenized_type &, branch_count_type &)
 returns the number of root nodes... More...
 
int find_tree_depth (bool, const tokenized_type &, const branch_count_type &)
 calculate tree depth... More...
 

Private Attributes

QSignalMapper * sigmap
 
validate_map_type validate_map
 
tooltips_type tips
 tool tips for leaves & nodes... More...
 
rcvalues_type defaults
 initial viewer default values... More...
 
rcedits_type edits
 rc values to edit boxes... More...
 
const int init_fields
 
const int tip_offset
 
const int role_offset
 
const int default_offset
 
const int validate_offset
 
casacore::Casarcrc
 connection to rc file More...
 

Static Private Attributes

static const char * init_state []
 

Detailed Description

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

Member Typedef Documentation

typedef std::map<std::string,std::set<std::string> > casa::viewer::ViewerPreferences::branch_count_type
private

Definition at line 57 of file ViewerPreferences.qo.h.

typedef std::map<std::string,QLineEdit*> casa::viewer::ViewerPreferences::rcedits_type
private

Definition at line 75 of file ViewerPreferences.qo.h.

typedef std::map<std::string,std::string> casa::viewer::ViewerPreferences::rcvalues_type
private

Definition at line 73 of file ViewerPreferences.qo.h.

typedef std::map<std::string,std::vector<std::string> > casa::viewer::ViewerPreferences::tokenized_type
private

Definition at line 56 of file ViewerPreferences.qo.h.

typedef std::map<std::string,std::string> casa::viewer::ViewerPreferences::tooltips_type
private

Definition at line 74 of file ViewerPreferences.qo.h.

typedef std::map<std::string,QValidator*> casa::viewer::ViewerPreferences::validate_map_type
private

Definition at line 70 of file ViewerPreferences.qo.h.

Constructor & Destructor Documentation

casa::viewer::ViewerPreferences::ViewerPreferences ( QWidget *  parent = 0)
casa::viewer::ViewerPreferences::~ViewerPreferences ( )

Member Function Documentation

void casa::viewer::ViewerPreferences::apply_edits ( )
protectedslot
void casa::viewer::ViewerPreferences::cancel_edits ( )
protectedslot
int casa::viewer::ViewerPreferences::countbranches ( const tokenized_type ,
branch_count_type  
)
private

returns the number of root nodes...

int casa::viewer::ViewerPreferences::find_tree_depth ( bool  ,
const tokenized_type ,
const branch_count_type  
)
private

calculate tree depth...

void casa::viewer::ViewerPreferences::init ( )
private
void casa::viewer::ViewerPreferences::reset_edits ( )
protectedslot
void casa::viewer::ViewerPreferences::showEvent ( QShowEvent *  )
protected
int casa::viewer::ViewerPreferences::tokenize ( tokenized_type )
private

returns the number of configuration options...

Member Data Documentation

const int casa::viewer::ViewerPreferences::default_offset
private

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

rcvalues_type casa::viewer::ViewerPreferences::defaults
private

initial viewer default values...

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

rcedits_type casa::viewer::ViewerPreferences::edits
private

rc values to edit boxes...

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

const int casa::viewer::ViewerPreferences::init_fields
private

Definition at line 83 of file ViewerPreferences.qo.h.

const char* casa::viewer::ViewerPreferences::init_state[]
staticprivate

Definition at line 67 of file ViewerPreferences.qo.h.

casacore::Casarc& casa::viewer::ViewerPreferences::rc
private

connection to rc file

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

const int casa::viewer::ViewerPreferences::role_offset
private

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

QSignalMapper* casa::viewer::ViewerPreferences::sigmap
private

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

const int casa::viewer::ViewerPreferences::tip_offset
private

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

tooltips_type casa::viewer::ViewerPreferences::tips
private

tool tips for leaves & nodes...

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

validate_map_type casa::viewer::ViewerPreferences::validate_map
private

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

const int casa::viewer::ViewerPreferences::validate_offset
private

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


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