ReadFramework
rdf::RegionTypeConfig Class Reference

#include <ElementsHelper.h>

Public Member Functions

 RegionTypeConfig (const Region::Type &type=Region::type_unknown)
 
Region::Type type () const
 
void setDraw (bool draw)
 
bool draw () const
 
void setDrawPoly (bool draw)
 
bool drawPoly () const
 
void setDrawBaseline (bool draw)
 
bool drawBaseline () const
 
void setDrawBaselineLimits (bool draw)
 
bool drawBaselineLimits () const
 
void setDrawText (bool draw)
 
bool drawText () const
 
void setPen (const QPen &pen)
 
QPen pen () const
 
void setBrush (const QColor &col)
 
QColor brush () const
 
void load (QSettings &settings)
 
void save (QSettings &settings) const
 

Protected Member Functions

void assignDefaultColor (const Region::Type &type)
 

Protected Attributes

Region::Type mType = Region::type_unknown
 
QPen mPen
 
QColor mBrush
 
bool mDraw = true
 
bool mDrawPoly = true
 
bool mDrawBaseline = false
 
bool mDrawBaselineLimits = true
 
bool mDrawText = true
 

Constructor & Destructor Documentation

rdf::RegionTypeConfig::RegionTypeConfig ( const Region::Type type = Region::type_unknown)

Here is the caller graph for this function:

Member Function Documentation

void rdf::RegionTypeConfig::assignDefaultColor ( const Region::Type type)
protected

Here is the caller graph for this function:

QColor rdf::RegionTypeConfig::brush ( ) const

Here is the caller graph for this function:

bool rdf::RegionTypeConfig::draw ( ) const

Here is the caller graph for this function:

bool rdf::RegionTypeConfig::drawBaseline ( ) const

Here is the caller graph for this function:

bool rdf::RegionTypeConfig::drawBaselineLimits ( ) const

Here is the caller graph for this function:

bool rdf::RegionTypeConfig::drawPoly ( ) const

Here is the caller graph for this function:

bool rdf::RegionTypeConfig::drawText ( ) const

Here is the caller graph for this function:

void rdf::RegionTypeConfig::load ( QSettings &  settings)
QPen rdf::RegionTypeConfig::pen ( ) const

Here is the caller graph for this function:

void rdf::RegionTypeConfig::save ( QSettings &  settings) const
void rdf::RegionTypeConfig::setBrush ( const QColor &  col)
void rdf::RegionTypeConfig::setDraw ( bool  draw)
void rdf::RegionTypeConfig::setDrawBaseline ( bool  draw)
void rdf::RegionTypeConfig::setDrawBaselineLimits ( bool  draw)
void rdf::RegionTypeConfig::setDrawPoly ( bool  draw)
void rdf::RegionTypeConfig::setDrawText ( bool  draw)
void rdf::RegionTypeConfig::setPen ( const QPen &  pen)
Region::Type rdf::RegionTypeConfig::type ( ) const

Here is the caller graph for this function:

Member Data Documentation

QColor rdf::RegionTypeConfig::mBrush
protected
bool rdf::RegionTypeConfig::mDraw = true
protected
bool rdf::RegionTypeConfig::mDrawBaseline = false
protected
bool rdf::RegionTypeConfig::mDrawBaselineLimits = true
protected
bool rdf::RegionTypeConfig::mDrawPoly = true
protected
bool rdf::RegionTypeConfig::mDrawText = true
protected
QPen rdf::RegionTypeConfig::mPen
protected
Region::Type rdf::RegionTypeConfig::mType = Region::type_unknown
protected

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