ReadFramework
rdf::ColorManager Namespace Reference

Functions

DllCoreExport QColor randColor (double alpha=1.0)
 Returns a pleasent color. More...
 
DllCoreExport QColor getColor (int idx, double alpha=1.0)
 Returns a pleasent color. More...
 
DllCoreExport QVector< QColor > colors ()
 Returns our color palette. More...
 
DllCoreExport QColor lightGray (double alpha=1.0)
 Returns a light gray. More...
 
DllCoreExport QColor darkGray (double alpha=1.0)
 Returns a dark gray. More...
 
DllCoreExport QColor red (double alpha=1.0)
 Returns a dark red. More...
 
DllCoreExport QColor green (double alpha=1.0)
 Returns a light green. More...
 
DllCoreExport QColor blue (double alpha=1.0)
 Returns the TU Wien blue. More...
 
DllCoreExport QColor pink (double alpha=1.0)
 Returns a pink color - not the artist. More...
 
DllCoreExport QColor white (double alpha=1.0)
 Returns white - yes it's #fff. More...
 

Function Documentation

QColor rdf::ColorManager::blue ( double  alpha = 1.0)

Returns the TU Wien blue.

Parameters
alphaOptional alpha [0 1].
Returns

Here is the caller graph for this function:

QVector< QColor > rdf::ColorManager::colors ( )

Returns our color palette.

Returns

Here is the caller graph for this function:

QColor rdf::ColorManager::darkGray ( double  alpha = 1.0)

Returns a dark gray.

Parameters
alphaOptional alpha [0 1].
Returns

Here is the caller graph for this function:

QColor rdf::ColorManager::getColor ( int  idx,
double  alpha = 1.0 
)

Returns a pleasent color.

Parameters
idxIf idx != -1 a specific color is chosen from the palette.
Returns

Here is the caller graph for this function:

DllCoreExport QColor rdf::ColorManager::green ( double  alpha = 1.0)

Returns a light green.

Parameters
alphaOptional alpha [0 1].
Returns
QColor rdf::ColorManager::lightGray ( double  alpha = 1.0)

Returns a light gray.

Parameters
alphaOptional alpha [0 1].
Returns
QColor rdf::ColorManager::pink ( double  alpha = 1.0)

Returns a pink color - not the artist.

Parameters
alphaOptional alpha [0 1].
Returns

Here is the caller graph for this function:

QColor rdf::ColorManager::randColor ( double  alpha = 1.0)

Returns a pleasent color.

Parameters
idxIf idx != -1 a specific color is chosen from the palette.
Returns

Here is the caller graph for this function:

QColor rdf::ColorManager::red ( double  alpha = 1.0)

Returns a dark red.

Parameters
alphaOptional alpha [0 1].
Returns

Here is the caller graph for this function:

QColor rdf::ColorManager::white ( double  alpha = 1.0)

Returns white - yes it's #fff.

Parameters
alphaOptional alpha [0 1].
Returns

Here is the caller graph for this function: