COPASI API
4.16.103
Main Page
Namespaces
Classes
Files
File List
File Members
copasi
plotUI
CQPlotColors.cpp
Go to the documentation of this file.
1
// Begin CVS Header
2
// $Source: /fs/turing/cvs/copasi_dev/cvs_admin/addHeader,v $
3
// $Revision: 1.18 $
4
// $Name: HEAD $
5
// $Author: shoops $
6
// $Date: 2012/03/07 20:49:51 $
7
// End CVS Header
8
9
// Copyright (C) 2012 by Pedro Mendes, Virginia Tech Intellectual
10
// Properties, Inc., University of Heidelberg, and The University
11
// of Manchester.
12
// All rights reserved.
13
14
#include "
copasi.h
"
15
#include "
CQPlotColors.h
"
16
17
//static
18
QColor
CQPlotColors::getColor
(std::string colorstr,
size_t
colorindex)
19
{
20
if
(colorstr ==
"auto"
)
21
{
22
return
QColor(
getCopasiColorStr
(colorindex).c_str());
23
}
24
else
25
{
26
return
QColor(colorstr.c_str());
27
}
28
}
CQPlotColors::getColor
static QColor getColor(std::string colorstr, size_t colorindex)
Definition:
CQPlotColors.cpp:18
CPlotColors::getCopasiColorStr
static std::string getCopasiColorStr(size_t index)
Definition:
CPlotColors.cpp:17
CQPlotColors.h
copasi.h
Generated on Thu Jul 2 2015 14:50:32 for COPASI API by
1.8.6