|
COPASI API
4.40.278
|
#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 () |
| void | setData (double **data, int columns, int rows, double valueZone) |
| 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) |
| void | showEvent (QShowEvent *event) |
| virtual void | sliderMoved (int column, int row) |
| virtual | ~CQBarChart () |
Public Member Functions inherited from CQBaseWidget | |
| CQBaseWidget (QWidget *parent=0, const char *name=0, Qt::WindowFlags fl=Qt::WindowFlags()) | |
| 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 | |
Protected Slots inherited from CQBaseWidget | |
| void | setSlider () |
Protected Attributes inherited from CQBaseWidget | |
| int | mScaleFactor |
| bool | mSliderActive |
| CQBarChart::CQBarChart | ( | QWidget * | parent = 0, |
| const char * | name = 0 |
||
| ) |
References CQBarChart::Data::maxValue, mColorLegend, mData, CQBarChart::Data::minValue, and mTitle.
|
virtual |
|
private |
References hotKeysMessage(), mColorLegend, saveDataToFile(), and showLegend().
| void CQBarChart::emptyPlot | ( | ) |
References data, mTitle, plotData(), setData(), and setScale().
| int CQBarChart::getColSliderPos | ( | ) |
References CQBarChart::Data::columns, mData, and CQBaseWidget::mSliderActive.
Referenced by setAxes().
| int CQBarChart::getRowSliderPos | ( | ) |
References mData, CQBaseWidget::mSliderActive, and CQBarChart::Data::rows.
Referenced by setAxes().
|
slot |
Referenced by contextMenuEvent().
| void CQBarChart::plotData | ( | ) |
References CQBarChart::Data::faktor, mColorLegend, mData, mpBar, resizeCoordSys(), setAxes(), setLegend(), setPlotTitle(), and setZoom().
Referenced by emptyPlot(), and setData().
| void CQBarChart::resizeCoordSys | ( | ) |
Referenced by plotData().
|
slot |
References C_INT32.
Referenced by contextMenuEvent().
| void CQBarChart::setAxes | ( | ) |
| void CQBarChart::setColors | ( | std::vector< QColor > | mColors, |
| double | min, | ||
| double | max | ||
| ) |
References max, CQBarChart::Data::maxValue, mData, min, CQBarChart::Data::minValue, and BarColor::setColorVector().
| void CQBarChart::setData | ( | ) |
Referenced by emptyPlot().
| void CQBarChart::setData | ( | double ** | data, |
| int | columns, | ||
| int | rows, | ||
| double | valueZone | ||
| ) |
| 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.
References setScale().
| void CQBarChart::setLegend | ( | ) |
Referenced by plotData().
| void CQBarChart::setPlotTitle | ( | ) |
< Set caption position
< Set caption font
< Set caption color
< Set caption text (one row only)
References mTitle.
Referenced by plotData().
| void CQBarChart::setPlotTitle | ( | QString | title | ) |
If necessary set the title in the middle over the bar graph.
References mTitle.
| void CQBarChart::setScale | ( | const std::vector< std::string > * | columnsDescript, |
| const std::vector< std::string > * | rowsDescript | ||
| ) |
References mpColumnScale, and mpRowScale.
Referenced by emptyPlot(), and setDescriptions().
| void CQBarChart::setSlider | ( | ) |
References CQBarChart::Data::columns, mData, CQBaseWidget::mSliderActive, CQBarChart::Data::rows, sliderMoved(), and CQBarChart::Data::valueZone.
Referenced by setData().
| void CQBarChart::setZoom | ( | ) |
References CQBarChart::Data::maxItems, and mData.
Referenced by plotData().
| void CQBarChart::showColorLegend | ( | bool | CLegend | ) |
Option to show or to hide the color legend.
References mColorLegend.
| void CQBarChart::showEvent | ( | QShowEvent * | event | ) |
|
slot |
References mColorLegend.
Referenced by contextMenuEvent().
|
virtual |
Implements CQBaseWidget.
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 |
Referenced by emptyPlot(), and setData().
| bool CQBarChart::mColorLegend |
Referenced by contextMenuEvent(), CQBarChart(), plotData(), showColorLegend(), and showLegend().
| Data CQBarChart::mData |
Referenced by CQBarChart(), getColSliderPos(), getRowSliderPos(), plotData(), setAxes(), setColors(), setData(), setSlider(), setZoom(), and sliderMoved().
| Bar* CQBarChart::mpBar |
Referenced by plotData(), and sliderMoved().
| const std::vector<std::string>* CQBarChart::mpColumnScale |
Referenced by setAxes(), setScale(), and sliderMoved().
| const std::vector<std::string>* CQBarChart::mpRowScale |
Referenced by setAxes(), setScale(), and sliderMoved().
| QString CQBarChart::mTitle |
Referenced by CQBarChart(), emptyPlot(), and setPlotTitle().