You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
458 lines
16 KiB
458 lines
16 KiB
15 years ago
|
/*
|
||
|
KSysGuard, the KDE System Guard
|
||
|
|
||
|
Copyright (c) 1999 - 2002 Chris Schlaeger <cs@kde.org>
|
||
|
|
||
|
This program is free software; you can redistribute it and/or
|
||
|
modify it under the terms of version 2 of the GNU General Public
|
||
|
License as published by the Free Software Foundation.
|
||
|
|
||
|
This program is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
GNU General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU General Public License
|
||
|
along with this program; if not, write to the Free Software
|
||
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
|
||
|
KSysGuard is currently maintained by Chris Schlaeger <cs@kde.org>.
|
||
|
Please do not commit any changes without consulting me first. Thanks!
|
||
|
|
||
|
*/
|
||
|
|
||
15 years ago
|
#include <tqdom.h>
|
||
|
#include <tqimage.h>
|
||
|
#include <tqtooltip.h>
|
||
15 years ago
|
|
||
|
#include <kdebug.h>
|
||
12 years ago
|
#include <tdelocale.h>
|
||
|
#include <tdemessagebox.h>
|
||
15 years ago
|
|
||
|
#include <ksgrd/SensorManager.h>
|
||
|
#include <ksgrd/StyleEngine.h>
|
||
|
#include "SensorDisplay.h"
|
||
|
#include "FancyPlotterSettings.h"
|
||
|
|
||
|
#include "FancyPlotter.h"
|
||
|
|
||
15 years ago
|
FancyPlotter::FancyPlotter( TQWidget* parent, const char* name,
|
||
|
const TQString &title, double, double,
|
||
15 years ago
|
bool nf, bool isApplet)
|
||
|
: KSGRD::SensorDisplay( parent, name, title, nf, isApplet )
|
||
|
{
|
||
|
mBeams = 0;
|
||
|
mSettingsDialog = 0;
|
||
|
|
||
|
if ( noFrame() ) {
|
||
|
mPlotter = new SignalPlotter( this );
|
||
|
mPlotter->setShowTopBar( true );
|
||
|
} else
|
||
|
mPlotter = new SignalPlotter( frame() );
|
||
|
mPlotter->setTitle( title );
|
||
|
mPlotter->setThinFrame(!isApplet); //if we aren't an applet, draw a thin white frame on the left and bottom, for a 3d effect
|
||
|
|
||
13 years ago
|
setMinimumSize( sizeHint() );
|
||
15 years ago
|
|
||
|
/* All RMB clicks to the mPlotter widget will be handled by
|
||
|
* SensorDisplay::eventFilter. */
|
||
|
mPlotter->installEventFilter( this );
|
||
|
|
||
14 years ago
|
setPlotterWidget( TQT_TQWIDGET(mPlotter) );
|
||
15 years ago
|
|
||
|
setModified( false );
|
||
|
}
|
||
|
|
||
|
FancyPlotter::~FancyPlotter()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void FancyPlotter::configureSettings()
|
||
|
{
|
||
|
if(mSettingsDialog) {
|
||
|
return;
|
||
|
}
|
||
|
mSettingsDialog = new FancyPlotterSettings( this );
|
||
|
|
||
|
mSettingsDialog->setTitle( title() );
|
||
|
mSettingsDialog->setUseAutoRange( mPlotter->useAutoRange() );
|
||
|
mSettingsDialog->setMinValue( mPlotter->minValue() );
|
||
|
mSettingsDialog->setMaxValue( mPlotter->maxValue() );
|
||
|
|
||
|
mSettingsDialog->setUsePolygonStyle( mPlotter->graphStyle() == GRAPH_POLYGON );
|
||
|
mSettingsDialog->setHorizontalScale( mPlotter->horizontalScale() );
|
||
|
|
||
|
mSettingsDialog->setShowVerticalLines( mPlotter->showVerticalLines() );
|
||
|
mSettingsDialog->setVerticalLinesColor( mPlotter->verticalLinesColor() );
|
||
|
mSettingsDialog->setVerticalLinesDistance( mPlotter->verticalLinesDistance() );
|
||
|
mSettingsDialog->setVerticalLinesScroll( mPlotter->verticalLinesScroll() );
|
||
|
|
||
|
mSettingsDialog->setShowHorizontalLines( mPlotter->showHorizontalLines() );
|
||
|
mSettingsDialog->setHorizontalLinesColor( mPlotter->horizontalLinesColor() );
|
||
|
mSettingsDialog->setHorizontalLinesCount( mPlotter->horizontalLinesCount() );
|
||
|
|
||
|
mSettingsDialog->setShowLabels( mPlotter->showLabels() );
|
||
|
mSettingsDialog->setShowTopBar( mPlotter->showTopBar() );
|
||
|
mSettingsDialog->setFontSize( mPlotter->fontSize() );
|
||
|
|
||
|
mSettingsDialog->setBackgroundColor( mPlotter->backgroundColor() );
|
||
|
|
||
15 years ago
|
TQValueList< TQStringList > list;
|
||
15 years ago
|
for ( uint i = 0; i < mBeams; ++i ) {
|
||
15 years ago
|
TQStringList entry;
|
||
|
entry << TQString::number(i);
|
||
13 years ago
|
entry << sensors().at( i )->hostName();
|
||
|
entry << KSGRD::SensorMgr->translateSensor( sensors().at( i )->name() );
|
||
|
entry << KSGRD::SensorMgr->translateUnit( sensors().at( i )->unit() );
|
||
|
entry << ( sensors().at( i )->isOk() ? i18n( "OK" ) : i18n( "Error" ) );
|
||
15 years ago
|
entry << ( mPlotter->beamColors()[ i ].name() );
|
||
|
|
||
|
list.append( entry );
|
||
|
}
|
||
|
mSettingsDialog->setSensors( list );
|
||
|
|
||
15 years ago
|
connect( mSettingsDialog, TQT_SIGNAL( applyClicked() ), TQT_SLOT( applySettings() ) );
|
||
|
connect( mSettingsDialog, TQT_SIGNAL( okClicked() ), TQT_SLOT( applySettings() ) );
|
||
|
connect( mSettingsDialog, TQT_SIGNAL( finished() ), TQT_SLOT( killDialog() ) );
|
||
15 years ago
|
|
||
|
mSettingsDialog->show();
|
||
|
}
|
||
|
|
||
|
void FancyPlotter::killDialog() {
|
||
|
mSettingsDialog->delayedDestruct();
|
||
|
mSettingsDialog = 0;
|
||
|
}
|
||
|
|
||
|
void FancyPlotter::applySettings()
|
||
|
{
|
||
|
setTitle( mSettingsDialog->title() );
|
||
|
mPlotter->setTitle( title() );
|
||
|
|
||
|
if ( mSettingsDialog->useAutoRange() )
|
||
|
mPlotter->setUseAutoRange( true );
|
||
|
else {
|
||
|
mPlotter->setUseAutoRange( false );
|
||
|
mPlotter->changeRange( 0, mSettingsDialog->minValue(),
|
||
|
mSettingsDialog->maxValue() );
|
||
|
}
|
||
|
|
||
|
if ( mSettingsDialog->usePolygonStyle() )
|
||
|
mPlotter->setGraphStyle( GRAPH_POLYGON );
|
||
|
else
|
||
|
mPlotter->setGraphStyle( GRAPH_ORIGINAL );
|
||
|
|
||
|
if ( mPlotter->horizontalScale() != mSettingsDialog->horizontalScale() ) {
|
||
|
mPlotter->setHorizontalScale( mSettingsDialog->horizontalScale() );
|
||
15 years ago
|
// Can someone think of a useful TQResizeEvent to pass?
|
||
15 years ago
|
// It doesn't really matter anyway because it's not used.
|
||
|
emit resizeEvent( 0 );
|
||
|
}
|
||
|
|
||
|
mPlotter->setShowVerticalLines( mSettingsDialog->showVerticalLines() );
|
||
|
mPlotter->setVerticalLinesColor( mSettingsDialog->verticalLinesColor() );
|
||
|
mPlotter->setVerticalLinesDistance( mSettingsDialog->verticalLinesDistance() );
|
||
|
mPlotter->setVerticalLinesScroll( mSettingsDialog->verticalLinesScroll() );
|
||
|
|
||
|
mPlotter->setShowHorizontalLines( mSettingsDialog->showHorizontalLines() );
|
||
|
mPlotter->setHorizontalLinesColor( mSettingsDialog->horizontalLinesColor() );
|
||
|
mPlotter->setHorizontalLinesCount( mSettingsDialog->horizontalLinesCount() );
|
||
|
|
||
|
mPlotter->setShowLabels( mSettingsDialog->showLabels() );
|
||
|
mPlotter->setShowTopBar( mSettingsDialog->showTopBar() );
|
||
|
mPlotter->setFontSize( mSettingsDialog->fontSize() );
|
||
|
|
||
|
mPlotter->setBackgroundColor( mSettingsDialog->backgroundColor() );
|
||
|
|
||
|
|
||
15 years ago
|
TQValueList<int> orderOfSensors = mSettingsDialog->order();
|
||
|
TQValueList<int> deletedSensors = mSettingsDialog->deleted();
|
||
15 years ago
|
mSettingsDialog->clearDeleted();
|
||
|
mSettingsDialog->resetOrder();
|
||
15 years ago
|
TQValueList< int >::Iterator itDelete;
|
||
15 years ago
|
for ( itDelete = deletedSensors.begin(); itDelete != deletedSensors.end(); ++itDelete )
|
||
|
removeSensor(*itDelete);
|
||
|
|
||
15 years ago
|
TQValueList< int >::Iterator itOrder;
|
||
15 years ago
|
mPlotter->reorderBeams(orderOfSensors);
|
||
|
reorderSensors(orderOfSensors);
|
||
|
|
||
15 years ago
|
TQValueList< TQStringList > list = mSettingsDialog->sensors();
|
||
|
TQValueList< TQStringList >::Iterator it;
|
||
15 years ago
|
|
||
|
for ( uint i = 0; i < sensors().count(); ++i )
|
||
15 years ago
|
mPlotter->beamColors()[ i ] = TQColor( list[i][ 5 ] );
|
||
15 years ago
|
|
||
14 years ago
|
mPlotter->repaint();
|
||
15 years ago
|
setModified( true );
|
||
|
}
|
||
|
|
||
|
void FancyPlotter::applyStyle()
|
||
|
{
|
||
|
mPlotter->setVerticalLinesColor( KSGRD::Style->firstForegroundColor() );
|
||
|
mPlotter->setHorizontalLinesColor( KSGRD::Style->secondForegroundColor() );
|
||
|
mPlotter->setBackgroundColor( KSGRD::Style->backgroundColor() );
|
||
|
mPlotter->setFontSize( KSGRD::Style->fontSize() );
|
||
|
for ( uint i = 0; i < mPlotter->beamColors().count() &&
|
||
|
i < KSGRD::Style->numSensorColors(); ++i )
|
||
|
mPlotter->beamColors()[ i ] = KSGRD::Style->sensorColor( i );
|
||
|
|
||
|
mPlotter->update();
|
||
|
setModified( true );
|
||
|
}
|
||
|
|
||
15 years ago
|
bool FancyPlotter::addSensor( const TQString &hostName, const TQString &name,
|
||
|
const TQString &type, const TQString &title )
|
||
15 years ago
|
{
|
||
|
return addSensor( hostName, name, type, title,
|
||
|
KSGRD::Style->sensorColor( mBeams ) );
|
||
|
}
|
||
|
|
||
15 years ago
|
bool FancyPlotter::addSensor( const TQString &hostName, const TQString &name,
|
||
|
const TQString &type, const TQString &title,
|
||
|
const TQColor &color )
|
||
15 years ago
|
{
|
||
|
if ( type != "integer" && type != "float" )
|
||
|
return false;
|
||
|
|
||
13 years ago
|
if ( mBeams > 0 && hostName != sensors().at( 0 )->hostName() ) {
|
||
15 years ago
|
KMessageBox::sorry( this, TQString( "All sensors of this display need "
|
||
15 years ago
|
"to be from the host %1!" )
|
||
13 years ago
|
.arg( sensors().at( 0 )->hostName() ) );
|
||
15 years ago
|
|
||
|
/* We have to enforce this since the answers to value requests
|
||
|
* need to be received in order. */
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
if ( !mPlotter->addBeam( color ) )
|
||
|
return false;
|
||
|
|
||
|
registerSensor( new FPSensorProperties( hostName, name, type, title, color ) );
|
||
|
|
||
|
/* To differentiate between answers from value requests and info
|
||
|
* requests we add 100 to the beam index for info requests. */
|
||
|
sendRequest( hostName, name + "?", mBeams + 100 );
|
||
|
|
||
|
++mBeams;
|
||
|
|
||
15 years ago
|
TQString tooltip;
|
||
15 years ago
|
for ( uint i = 0; i < mBeams; ++i ) {
|
||
15 years ago
|
tooltip += TQString( "%1%2:%3" ).arg( i != 0 ? "\n" : "" )
|
||
13 years ago
|
.arg( sensors().at( mBeams - i - 1 )->hostName() )
|
||
|
.arg( sensors().at( mBeams - i - 1 )->name() );
|
||
15 years ago
|
}
|
||
|
|
||
14 years ago
|
TQToolTip::remove( TQT_TQWIDGET(mPlotter) );
|
||
|
TQToolTip::add( TQT_TQWIDGET(mPlotter), tooltip );
|
||
15 years ago
|
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
bool FancyPlotter::removeSensor( uint pos )
|
||
|
{
|
||
|
if ( pos >= mBeams ) {
|
||
|
kdDebug(1215) << "FancyPlotter::removeSensor: idx out of range ("
|
||
|
<< pos << ")" << endl;
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
mPlotter->removeBeam( pos );
|
||
|
mBeams--;
|
||
|
KSGRD::SensorDisplay::removeSensor( pos );
|
||
|
|
||
15 years ago
|
TQString tooltip;
|
||
15 years ago
|
for ( uint i = 0; i < mBeams; ++i ) {
|
||
15 years ago
|
tooltip += TQString( "%1%2:%3" ).arg( i != 0 ? "\n" : "" )
|
||
13 years ago
|
.arg( sensors().at( mBeams - i - 1 )->hostName() )
|
||
|
.arg( sensors().at( mBeams - i - 1 )->name() );
|
||
15 years ago
|
}
|
||
|
|
||
14 years ago
|
TQToolTip::remove( TQT_TQWIDGET(mPlotter) );
|
||
|
TQToolTip::add( TQT_TQWIDGET(mPlotter), tooltip );
|
||
15 years ago
|
|
||
|
return true;
|
||
|
}
|
||
|
|
||
15 years ago
|
void FancyPlotter::resizeEvent( TQResizeEvent* )
|
||
15 years ago
|
{
|
||
|
if ( noFrame() )
|
||
|
mPlotter->setGeometry( 0, 0, width(), height() );
|
||
|
else
|
||
|
frame()->setGeometry( 0, 0, width(), height() );
|
||
|
}
|
||
|
|
||
13 years ago
|
TQSize FancyPlotter::sizeHint()
|
||
15 years ago
|
{
|
||
|
if ( noFrame() )
|
||
13 years ago
|
return mPlotter->sizeHint();
|
||
15 years ago
|
else
|
||
13 years ago
|
return frame()->sizeHint();
|
||
15 years ago
|
}
|
||
|
|
||
15 years ago
|
void FancyPlotter::answerReceived( int id, const TQString &answer )
|
||
15 years ago
|
{
|
||
|
if ( (uint)id < mBeams ) {
|
||
|
if ( id != (int)mSampleBuf.count() ) {
|
||
|
if ( id == 0 )
|
||
|
sensorError( mBeams - 1, true );
|
||
|
else
|
||
|
sensorError( id - 1, true );
|
||
|
}
|
||
|
mSampleBuf.append( answer.toDouble() );
|
||
|
|
||
|
/* We received something, so the sensor is probably ok. */
|
||
|
sensorError( id, false );
|
||
|
|
||
|
if ( id == (int)mBeams - 1 ) {
|
||
|
mPlotter->addSample( mSampleBuf );
|
||
|
mSampleBuf.clear();
|
||
|
}
|
||
|
} else if ( id >= 100 ) {
|
||
|
KSGRD::SensorFloatInfo info( answer );
|
||
|
if ( !mPlotter->useAutoRange() && mPlotter->minValue() == 0.0 &&
|
||
|
mPlotter->maxValue() == 0.0 ) {
|
||
|
/* We only use this information from the sensor when the
|
||
|
* display is still using the default values. If the
|
||
|
* sensor has been restored we don't touch the already set
|
||
|
* values. */
|
||
|
mPlotter->changeRange( id - 100, info.min(), info.max() );
|
||
|
if ( info.min() == 0.0 && info.max() == 0.0 )
|
||
|
mPlotter->setUseAutoRange( true );
|
||
|
}
|
||
13 years ago
|
sensors().at( id - 100 )->setUnit( info.unit() );
|
||
15 years ago
|
}
|
||
|
}
|
||
|
|
||
15 years ago
|
bool FancyPlotter::restoreSettings( TQDomElement &element )
|
||
15 years ago
|
{
|
||
|
/* autoRage was added after KDE 2.x and was brokenly emulated by
|
||
|
* min == 0.0 and max == 0.0. Since we have to be able to read old
|
||
|
* files as well we have to emulate the old behaviour as well. */
|
||
|
double min = element.attribute( "min", "0.0" ).toDouble();
|
||
|
double max = element.attribute( "max", "0.0" ).toDouble();
|
||
|
if ( element.attribute( "autoRange", min == 0.0 && max == 0.0 ? "1" : "0" ).toInt() )
|
||
|
mPlotter->setUseAutoRange( true );
|
||
|
else {
|
||
|
mPlotter->setUseAutoRange( false );
|
||
|
mPlotter->changeRange( 0, element.attribute( "min" ).toDouble(),
|
||
|
element.attribute( "max" ).toDouble() );
|
||
|
}
|
||
|
|
||
|
mPlotter->setShowVerticalLines( element.attribute( "vLines", "1" ).toUInt() );
|
||
|
mPlotter->setVerticalLinesColor( restoreColor( element, "vColor",
|
||
|
KSGRD::Style->firstForegroundColor() ) );
|
||
|
mPlotter->setVerticalLinesDistance( element.attribute( "vDistance", "30" ).toUInt() );
|
||
|
mPlotter->setVerticalLinesScroll( element.attribute( "vScroll", "1" ).toUInt() );
|
||
|
mPlotter->setGraphStyle( element.attribute( "graphStyle", "0" ).toUInt() );
|
||
|
mPlotter->setHorizontalScale( element.attribute( "hScale", "1" ).toUInt() );
|
||
|
|
||
|
mPlotter->setShowHorizontalLines( element.attribute( "hLines", "1" ).toUInt() );
|
||
|
mPlotter->setHorizontalLinesColor( restoreColor( element, "hColor",
|
||
|
KSGRD::Style->secondForegroundColor() ) );
|
||
|
mPlotter->setHorizontalLinesCount( element.attribute( "hCount", "5" ).toUInt() );
|
||
|
|
||
|
mPlotter->setShowLabels( element.attribute( "labels", "1" ).toUInt() );
|
||
|
mPlotter->setShowTopBar( element.attribute( "topBar", "0" ).toUInt() );
|
||
|
mPlotter->setFontSize( element.attribute( "fontSize",
|
||
15 years ago
|
TQString( "%1" ).arg( KSGRD::Style->fontSize() ) ).toUInt() );
|
||
15 years ago
|
|
||
|
mPlotter->setBackgroundColor( restoreColor( element, "bColor",
|
||
|
KSGRD::Style->backgroundColor() ) );
|
||
|
|
||
15 years ago
|
TQDomNodeList dnList = element.elementsByTagName( "beam" );
|
||
15 years ago
|
for ( uint i = 0; i < dnList.count(); ++i ) {
|
||
15 years ago
|
TQDomElement el = dnList.item( i ).toElement();
|
||
15 years ago
|
addSensor( el.attribute( "hostName" ), el.attribute( "sensorName" ),
|
||
|
( el.attribute( "sensorType" ).isEmpty() ? "integer" :
|
||
|
el.attribute( "sensorType" ) ), "", restoreColor( el, "color",
|
||
|
KSGRD::Style->sensorColor( i ) ) );
|
||
|
}
|
||
|
|
||
|
SensorDisplay::restoreSettings( element );
|
||
|
|
||
|
if ( !title().isEmpty() )
|
||
|
mPlotter->setTitle( title() );
|
||
|
|
||
|
setModified( false );
|
||
|
|
||
|
return true;
|
||
|
}
|
||
|
|
||
15 years ago
|
bool FancyPlotter::saveSettings( TQDomDocument &doc, TQDomElement &element,
|
||
15 years ago
|
bool save )
|
||
|
{
|
||
|
element.setAttribute( "min", mPlotter->minValue() );
|
||
|
element.setAttribute( "max", mPlotter->maxValue() );
|
||
|
element.setAttribute( "autoRange", mPlotter->useAutoRange() );
|
||
|
element.setAttribute( "vLines", mPlotter->showVerticalLines() );
|
||
|
saveColor( element, "vColor", mPlotter->verticalLinesColor() );
|
||
|
element.setAttribute( "vDistance", mPlotter->verticalLinesDistance() );
|
||
|
element.setAttribute( "vScroll", mPlotter->verticalLinesScroll() );
|
||
|
|
||
|
element.setAttribute( "graphStyle", mPlotter->graphStyle() );
|
||
|
element.setAttribute( "hScale", mPlotter->horizontalScale() );
|
||
|
|
||
|
element.setAttribute( "hLines", mPlotter->showHorizontalLines() );
|
||
|
saveColor( element, "hColor", mPlotter->horizontalLinesColor() );
|
||
|
element.setAttribute( "hCount", mPlotter->horizontalLinesCount() );
|
||
|
|
||
|
element.setAttribute( "labels", mPlotter->showLabels() );
|
||
|
element.setAttribute( "topBar", mPlotter->showTopBar() );
|
||
|
element.setAttribute( "fontSize", mPlotter->fontSize() );
|
||
|
|
||
|
saveColor( element, "bColor", mPlotter->backgroundColor() );
|
||
|
|
||
|
for ( uint i = 0; i < mBeams; ++i ) {
|
||
15 years ago
|
TQDomElement beam = doc.createElement( "beam" );
|
||
15 years ago
|
element.appendChild( beam );
|
||
13 years ago
|
beam.setAttribute( "hostName", sensors().at( i )->hostName() );
|
||
|
beam.setAttribute( "sensorName", sensors().at( i )->name() );
|
||
|
beam.setAttribute( "sensorType", sensors().at( i )->type() );
|
||
15 years ago
|
saveColor( beam, "color", mPlotter->beamColors()[ i ] );
|
||
|
}
|
||
|
|
||
|
SensorDisplay::saveSettings( doc, element );
|
||
|
|
||
|
if ( save )
|
||
|
setModified( false );
|
||
|
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
bool FancyPlotter::hasSettingsDialog() const
|
||
|
{
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
FPSensorProperties::FPSensorProperties()
|
||
|
{
|
||
|
}
|
||
|
|
||
15 years ago
|
FPSensorProperties::FPSensorProperties( const TQString &hostName,
|
||
|
const TQString &name,
|
||
|
const TQString &type,
|
||
|
const TQString &description,
|
||
|
const TQColor &color )
|
||
15 years ago
|
: KSGRD::SensorProperties( hostName, name, type, description ),
|
||
|
mColor( color )
|
||
|
{
|
||
|
}
|
||
|
|
||
|
FPSensorProperties::~FPSensorProperties()
|
||
|
{
|
||
|
}
|
||
|
|
||
15 years ago
|
void FPSensorProperties::setColor( const TQColor &color )
|
||
15 years ago
|
{
|
||
|
mColor = color;
|
||
|
}
|
||
|
|
||
15 years ago
|
TQColor FPSensorProperties::color() const
|
||
15 years ago
|
{
|
||
|
return mColor;
|
||
|
}
|
||
|
|
||
|
#include "FancyPlotter.moc"
|