MetricsConfig Class Reference

Provides configuration dialog for ranges and normalization of metric attributes. More...

#include <MetricsConfig.h>

List of all members.

Public Types

typedef impl::MetricsInfoContainer MetricsInfoContainer
typedef impl::MetricsInfoIterator iterator

Public Slots

void configureMultiple ()
void configureSingle ()

Signals

void configChanged ()

Public Member Functions

 MetricsConfig (const QString &configureId, MetricsConfig *globalConfig, SgNode *root=NULL)
 MetricsConfig (const MetricsConfig &o)
int getMetricsInfoCount () const
 returns the selected Attribute
bool hasMetricsInfo (const QString &name) const
const MetricsInfogetMetricsInfo (const QString &name) const
MetricsInfogetMetricsInfo (const QString &name)
iterator begin () const
iterator end () const
 see begin()
void setRoot (SgNode *root)

Private Attributes

impl::MetricsConfigimpl
QString configureId


Detailed Description

Provides configuration dialog for ranges and normalization of metric attributes.

MetricsConfig.jpg

Declaration of Metrics Config Class for local configurations

to create a new local config call the constructor with a unique ID

this class acts as a proxy to the global configuration

Definition at line 46 of file MetricsConfig.h.


Member Typedef Documentation

typedef impl::MetricsInfoIterator MetricsConfig::iterator

Definition at line 53 of file MetricsConfig.h.

typedef impl::MetricsInfoContainer MetricsConfig::MetricsInfoContainer

Definition at line 52 of file MetricsConfig.h.


Constructor & Destructor Documentation

MetricsConfig::MetricsConfig ( const QString &  configureId,
MetricsConfig globalConfig,
SgNode *  root = NULL 
) [explicit]

Constructor which register a unique Identification ID to the static Global impl::MetricsConfig Object

With this configureId the Global Object is able to distinguish several configuration modules

Definition at line 16 of file MetricsConfig.cpp.

Here is the call graph for this function:

MetricsConfig::MetricsConfig ( const MetricsConfig o  )  [inline]

Definition at line 64 of file MetricsConfig.h.


Member Function Documentation

MetricsConfig::iterator MetricsConfig::begin (  )  const

iterator access:

Definition at line 55 of file MetricsConfig.cpp.

Referenced by MetricsKiviat::configureMetrics(), impl::MetricsConfig::configureMultiple(), impl::MetricsConfig::configureSingle(), MetricsKiviat::drawData(), impl::MetricsConfig::getMetricsInfoCount(), impl::MetricsConfig::setRoot(), and MetricBgDelegate::setupConfigWidget().

Here is the call graph for this function:

Here is the caller graph for this function:

void MetricsConfig::configChanged (  )  [signal]

Referenced by configureMultiple(), and configureSingle().

void MetricsConfig::configureMultiple (  )  [slot]

create dialog window to configure, and select Metric Attributes sets attributes in MetricsInfo to enabled/disabled

Definition at line 71 of file MetricsConfig.cpp.

Referenced by MetricsKiviat::configureMetrics().

void MetricsConfig::configureSingle (  )  [slot]

Definition at line 78 of file MetricsConfig.cpp.

MetricsConfig::iterator MetricsConfig::end (  )  const

see begin()

Definition at line 60 of file MetricsConfig.cpp.

Referenced by MetricsKiviat::configureMetrics(), impl::MetricsConfig::configureMultiple(), impl::MetricsConfig::configureSingle(), MetricsKiviat::drawData(), impl::MetricsConfig::getMetricsInfoCount(), impl::MetricsConfig::setRoot(), and MetricBgDelegate::setupConfigWidget().

Here is the call graph for this function:

Here is the caller graph for this function:

MetricsInfo & MetricsConfig::getMetricsInfo ( const QString &  name  ) 

Definition at line 50 of file MetricsConfig.cpp.

Here is the call graph for this function:

const MetricsInfo & MetricsConfig::getMetricsInfo ( const QString &  name  )  const

Definition at line 45 of file MetricsConfig.cpp.

Referenced by MetricBgDelegate::applyConfigWidget(), impl::MetricsConfig::captionChanged(), impl::MetricsConfig::disableItem(), impl::MetricsConfig::execDialog(), impl::MetricsConfig::itemChanged(), impl::MetricsConfig::maxChanged(), impl::MetricsConfig::minChanged(), impl::MetricsConfig::normalizeByRange(), and impl::MetricsConfig::normalizeNameChanged().

Here is the call graph for this function:

Here is the caller graph for this function:

int MetricsConfig::getMetricsInfoCount (  )  const

returns the selected Attribute

Definition at line 35 of file MetricsConfig.cpp.

Referenced by MetricsKiviat::configureMetrics(), and MetricsKiviat::init().

Here is the call graph for this function:

Here is the caller graph for this function:

bool MetricsConfig::hasMetricsInfo ( const QString &  name  )  const

Definition at line 40 of file MetricsConfig.cpp.

Here is the call graph for this function:

void MetricsConfig::setRoot ( SgNode *  root  ) 

recollect metrics from root (can be subtree) changes are made to global config!

Definition at line 65 of file MetricsConfig.cpp.

Referenced by ProjectNode::addFile().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

QString MetricsConfig::configureId [private]

Definition at line 103 of file MetricsConfig.h.

Referenced by begin(), configureMultiple(), configureSingle(), end(), getMetricsInfo(), impl::MetricsConfig::getMetricsInfoCount(), getMetricsInfoCount(), hasMetricsInfo(), and MetricsConfig().

impl::MetricsConfig* MetricsConfig::impl [private]

Definition at line 102 of file MetricsConfig.h.

Referenced by begin(), configureMultiple(), configureSingle(), end(), getMetricsInfo(), getMetricsInfoCount(), hasMetricsInfo(), MetricsConfig(), and setRoot().


The documentation for this class was generated from the following files:
Generated on Tue Sep 15 14:48:49 2009 for RoseQtWidgets by  doxygen 1.4.7