COPASI API
4.16.103
|
#include <qwt3dPlot.h>
Classes | |
struct | Data |
Public Slots | |
void | hotKeysMessage () |
void | saveDataToFile () |
void | showLegend () |
Public Member Functions | |
CQBarChart (QWidget *parent=0, const char *name=0) | |
void | emptyPlot () |
int | getColSliderPos () |
int | getRowSliderPos () |
void | plotData () |
void | resizeCoordSys () |
void | setAxes () |
void | setColors (std::vector< QColor > mColors, double min, double max) |
void | setData (double **data, int columns, int rows, double valueZone) |
void | setData () |
void | setDescriptions (const std::vector< std::string > *columnsDes, const std::vector< std::string > *rowsDes) |
void | setLegend () |
void | setPlotTitle () |
void | setPlotTitle (QString title) |
void | setScale (const std::vector< std::string > *columnsDescript, const std::vector< std::string > *rowsDescript) |
void | setSlider () |
void | setZoom () |
void | showColorLegend (bool CLegend) |
virtual void | sliderMoved (int column, int row) |
virtual | ~CQBarChart () |
![]() | |
CQBaseWidget (QWidget *parent=0, const char *name=0, Qt::WFlags fl=0) | |
bool | isSliderActive () const |
int | scaleFactor () |
void | setSliderActive (const bool &active) |
virtual | ~CQBaseWidget () |
Public Attributes | |
double ** | data |
bool | mColorLegend |
Data | mData |
Bar * | mpBar |
const std::vector< std::string > * | mpColumnScale |
const std::vector< std::string > * | mpRowScale |
QString | mTitle |
Private Member Functions | |
void | contextMenuEvent (QContextMenuEvent *) |
Additional Inherited Members | |
![]() | |
void | setSlider () |
![]() | |
int | mScaleFactor |
bool | mSliderActive |
Definition at line 26 of file qwt3dPlot.h.
CQBarChart::CQBarChart | ( | QWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
Definition at line 35 of file qwt3dPlot.cpp.
References CQBarChart::Data::maxValue, mColorLegend, mData, CQBarChart::Data::minValue, and mTitle.
|
virtual |
Definition at line 60 of file qwt3dPlot.cpp.
|
private |
Definition at line 519 of file qwt3dPlot.cpp.
References hotKeysMessage(), mColorLegend, saveDataToFile(), and showLegend().
void CQBarChart::emptyPlot | ( | ) |
Definition at line 502 of file qwt3dPlot.cpp.
References data, mTitle, plotData(), setData(), and setScale().
int CQBarChart::getColSliderPos | ( | ) |
Definition at line 435 of file qwt3dPlot.cpp.
References CQBarChart::Data::columns, mData, and CQBaseWidget::mSliderActive.
Referenced by setAxes().
int CQBarChart::getRowSliderPos | ( | ) |
Definition at line 449 of file qwt3dPlot.cpp.
References mData, CQBaseWidget::mSliderActive, and CQBarChart::Data::rows.
Referenced by setAxes().
|
slot |
Definition at line 605 of file qwt3dPlot.cpp.
References CQMessageBox::information().
Referenced by contextMenuEvent().
void CQBarChart::plotData | ( | ) |
Definition at line 84 of file qwt3dPlot.cpp.
References CQBarChart::Data::faktor, mColorLegend, mData, mpBar, resizeCoordSys(), setAxes(), setLegend(), setPlotTitle(), and setZoom().
Referenced by emptyPlot(), and setData().
void CQBarChart::resizeCoordSys | ( | ) |
Definition at line 396 of file qwt3dPlot.cpp.
Referenced by plotData().
|
slot |
Definition at line 539 of file qwt3dPlot.cpp.
References C_INT32, checkSelection(), CQMessageBox::critical(), FROM_UTF8, CopasiFileDialog::getSaveFileName(), and TO_UTF8.
Referenced by contextMenuEvent().
void CQBarChart::setAxes | ( | ) |
Definition at line 105 of file qwt3dPlot.cpp.
References CQBarChart::Data::columns, getColSliderPos(), getRowSliderPos(), CQBarChart::Data::maxItems, CQBarChart::Data::maxValue, mData, CQBarChart::Data::minValue, mpColumnScale, mpRowScale, CQBarChart::Data::rows, and CQBarChart::Data::valueZone.
Referenced by plotData().
void CQBarChart::setColors | ( | std::vector< QColor > | mColors, |
double | min, | ||
double | max | ||
) |
Definition at line 299 of file qwt3dPlot.cpp.
References max, CQBarChart::Data::maxValue, mData, min, CQBarChart::Data::minValue, and BarColor::setColorVector().
void CQBarChart::setData | ( | double ** | data, |
int | columns, | ||
int | rows, | ||
double | valueZone | ||
) |
Definition at line 325 of file qwt3dPlot.cpp.
References CQBarChart::Data::columnAxeLength, CQBarChart::Data::columns, CQBarChart::Data::faktor, CQBarChart::Data::maxItems, mData, plotData(), CQBarChart::Data::rowAxeLength, CQBarChart::Data::rows, setSlider(), and CQBarChart::Data::valueZone.
void CQBarChart::setData | ( | ) |
Referenced by emptyPlot().
void CQBarChart::setDescriptions | ( | const std::vector< std::string > * | columnsDes, |
const std::vector< std::string > * | rowsDes | ||
) |
This method sets the user specified descriptions for the rows and columns. All axes in bar graph will be marked with this description labels automatically.
Definition at line 616 of file qwt3dPlot.cpp.
References setScale().
void CQBarChart::setLegend | ( | ) |
void CQBarChart::setPlotTitle | ( | ) |
< Set caption position
< Set caption font
< Set caption color
< Set caption text (one row only)
Definition at line 278 of file qwt3dPlot.cpp.
References mTitle.
Referenced by plotData().
void CQBarChart::setPlotTitle | ( | QString | title | ) |
If necessary set the title in the middle over the bar graph.
Definition at line 626 of file qwt3dPlot.cpp.
References mTitle.
void CQBarChart::setScale | ( | const std::vector< std::string > * | columnsDescript, |
const std::vector< std::string > * | rowsDescript | ||
) |
Definition at line 290 of file qwt3dPlot.cpp.
References mpColumnScale, and mpRowScale.
Referenced by emptyPlot(), and setDescriptions().
void CQBarChart::setSlider | ( | ) |
Definition at line 369 of file qwt3dPlot.cpp.
References CQBarChart::Data::columns, mData, CQBaseWidget::mSliderActive, CQBarChart::Data::rows, sliderMoved(), and CQBarChart::Data::valueZone.
Referenced by setData().
void CQBarChart::setZoom | ( | ) |
Definition at line 66 of file qwt3dPlot.cpp.
References CQBarChart::Data::maxItems, and mData.
Referenced by plotData().
void CQBarChart::showColorLegend | ( | bool | CLegend | ) |
Option to show or to hide the color legend.
Definition at line 621 of file qwt3dPlot.cpp.
References mColorLegend.
|
slot |
Definition at line 591 of file qwt3dPlot.cpp.
References mColorLegend.
Referenced by contextMenuEvent().
|
virtual |
Implements CQBaseWidget.
Definition at line 463 of file qwt3dPlot.cpp.
References CQBarChart::Data::columnAxeLength, CQBarChart::Data::columns, CQBarChart::Data::faktor, mData, mpBar, mpColumnScale, mpRowScale, CQBaseWidget::mSliderActive, CQBarChart::Data::rowAxeLength, and CQBarChart::Data::rows.
Referenced by setSlider().
double** CQBarChart::data |
Definition at line 51 of file qwt3dPlot.h.
Referenced by emptyPlot().
bool CQBarChart::mColorLegend |
Definition at line 54 of file qwt3dPlot.h.
Referenced by contextMenuEvent(), CQBarChart(), plotData(), showColorLegend(), and showLegend().
Data CQBarChart::mData |
Definition at line 45 of file qwt3dPlot.h.
Referenced by CQBarChart(), getColSliderPos(), getRowSliderPos(), plotData(), setAxes(), setColors(), setData(), setSlider(), setZoom(), and sliderMoved().
Bar* CQBarChart::mpBar |
Definition at line 49 of file qwt3dPlot.h.
Referenced by plotData(), and sliderMoved().
const std::vector<std::string>* CQBarChart::mpColumnScale |
Definition at line 52 of file qwt3dPlot.h.
Referenced by setAxes(), setScale(), and sliderMoved().
const std::vector<std::string>* CQBarChart::mpRowScale |
Definition at line 53 of file qwt3dPlot.h.
Referenced by setAxes(), setScale(), and sliderMoved().
QString CQBarChart::mTitle |
Definition at line 50 of file qwt3dPlot.h.
Referenced by CQBarChart(), emptyPlot(), and setPlotTitle().