Class to draw pie charts.Just add one data set per piece (with one x-value). The x-Values should be the values used to calculate the pie or call addPie(). If the x-values are already percents, call also setPercents(true). Otherwise EChartPie calculates the percentages automatically.
More...
|
void | exportChart () |
|
void | exportChart (QPainter *painter, QRect boundingRect) |
|
void | clear () |
|
virtual EngSaS::AvailableActions | enableActions () |
| Will be called by EMainWindow::setCentralWidget() to enable and disable standard actions. More...
|
|
virtual QString | fileFilters (EngSaS::FileFilter reason) |
|
virtual bool | load (QFile *file, QString &error) |
|
virtual bool | save (QFile *file, QString &error) |
|
virtual bool | fileNew (QString &error) |
|
virtual bool | print (QString &error) |
|
virtual bool | undo (QString &error) |
|
virtual bool | redo (QString &error) |
|
virtual bool | cut (QString &error) |
|
virtual bool | copy (QString &error) |
|
virtual bool | paste (QString &error) |
|
virtual bool | reload (QString &error) |
|
virtual void | reloadSettings () |
| Used to reload settings the settings. More...
|
|
void | error (const QString &message) |
|
void | warning (const QString &message) |
|
void | information (const QString &message) |
|
void | reloadEnableActions () |
| Request reloading of enabled actions in EMainWindow. More...
|
|
void | addMenu (QMenu *newMenu, const QString &parent, QString before=QString()) |
|
void | addAction (QAction *newAction, const QString &parent, QString before=QString()) |
|
void | addToolBar (QToolBar *newToolBar, Qt::ToolBarArea area=Qt::TopToolBarArea) |
|
void | addNewDockWidget (QDockWidget *widget, const Qt::DockWidgetArea &area) |
| To add managed dock widgets, use addManagedDockWidget() instead. More...
|
|
void | setCentralWidget (QWidget *centralWidget) |
|
void | showSettings () |
|
void | showHelp (const QString &page) |
|
void | showStatusWidget (QWidget *widget) |
|
void | reloadSettingsRequest () |
| Indicates, that a reload of the settings is needed. More...
|
|
void | doReloadSettings () |
| Emitted to bring the reload request back to the farest child. More...
|
|
virtual void | contextMenu (QPoint pos) const |
| This slot is called, if the context menu of this chart should be shown. More...
|
|
virtual void | errorByPass (const QString &message) |
|
virtual void | warningByPass (const QString &message) |
|
virtual void | informationByPass (const QString &message) |
|
virtual void | reloadEnableActionsByPass () |
|
virtual void | addMenuByPass (QMenu *newMenu, const QString &parent, QString before=QString()) |
|
virtual void | addActionByPass (QAction *newAction, const QString &parent, QString before=QString()) |
|
virtual void | addToolBarByPass (QToolBar *newToolBar, Qt::ToolBarArea area=Qt::TopToolBarArea) |
|
virtual void | addNewDockWidgetByPass (QDockWidget *widget, const Qt::DockWidgetArea &area) |
|
virtual void | setCentralWidgetByPass (QWidget *centralWidget) |
|
virtual void | showSettingsByPass () |
|
virtual void | showHelpByPass (const QString &page) |
|
virtual void | showStatusWidgetByPass (QWidget *widget) |
|
virtual void | reloadSettingsRequestByPass () |
|
int | marginHorizontal |
|
int | marginVertical |
|
QRect | viewPort |
|
QStringList | colorNames |
|
QList< void(*)(QPainter *, QPoint)> | markers |
|
QMap< QString, EChartValues > | dataSets |
|
QMap< QString, QColor > | dataSetsColors |
|
QMap< QString, void(*)(QPainter
*, QPoint)> | dataSetsMarkers |
|
Class to draw pie charts.
Just add one data set per piece (with one x-value). The x-Values should be the values used to calculate the pie or call addPie(). If the x-values are already percents, call also setPercents(true). Otherwise EChartPie calculates the percentages automatically.
To set the number format and precision, use setNumberFormat() and setNumberPrecision().