#include <PlotWidget.h>

Public Types | |
| enum | State { Normal, Maximized } |
Signals | |
| void | cleared () |
| void | currentScaleChanged (const BoundingRectangle &bounds) |
| void | pausedChanged (bool paused) |
| void | preferredScaleChanged (const BoundingRectangle &bounds) |
| void | stateChanged (int state) |
Public Member Functions | |
| bool | canChangeState () const |
| void | clear () |
| void | forceReplot () |
| MessageBroker * | getBroker () const |
| PlotConfig * | getConfig () const |
| const BoundingRectangle & | getCurrentScale () const |
| PlotCursor * | getCursor () const |
| BoundingRectangle | getPreferredScale () const |
| State | getState () const |
| bool | isPaused () const |
| bool | isReplotRequested () const |
| void | pause () |
| PlotWidget (QWidget *parent=0) | |
| void | renderToPixmap (QPixmap &pixmap, const QRectF &bounds=QRectF()) |
| void | requestReplot () |
| void | run () |
| void | saveToImageFile (const QString &fileName) |
| void | saveToTextFile (const QString &fileName) |
| void | setBroker (MessageBroker *broker) |
| void | setCanChangeState (bool can) |
| void | setConfig (PlotConfig *config) |
| void | setCurrentScale (const BoundingRectangle &bounds) |
| void | setState (State state) |
| void | writeFormattedCurveAxisTitles (QStringList &formattedAxisTitles) |
| void | writeFormattedCurveData (QList< QStringList > &formattedData) |
| virtual | ~PlotWidget () |
Protected Member Functions | |
| void | dragEnterEvent (QDragEnterEvent *event) |
| void | dropEvent (QDropEvent *event) |
| bool | eventFilter (QObject *object, QEvent *event) |
Private Slots | |
| void | configCurveAdded (size_t index) |
| void | configCurveConfigChanged (size_t index) |
| void | configCurveRemoved (size_t index) |
| void | configCurvesCleared () |
| void | configLegendConfigChanged () |
| void | configPlotRateChanged (double rate) |
| void | configTitleChanged (const QString &title) |
| void | configXAxisConfigChanged () |
| void | configYAxisConfigChanged () |
| void | curveReplotRequested () |
| void | lineEditTitleEditingFinished () |
| void | lineEditTitleTextChanged (const QString &text) |
| void | menuExportImageFileTriggered () |
| void | menuExportTextFileTriggered () |
| void | plotXBottomScaleDivChanged () |
| void | plotYLeftScaleDivChanged () |
| void | pushButtonClearClicked () |
| void | pushButtonImportExportClicked () |
| void | pushButtonRunPauseClicked () |
| void | pushButtonSetupClicked () |
| void | pushButtonStateClicked () |
| void | timerTimeout () |
Private Member Functions | |
| void | updateAxisTitle (PlotAxesConfig::Axis axis) |
Private Attributes | |
| MessageBroker * | broker_ |
| PlotConfig * | config_ |
| BoundingRectangle | currentBounds_ |
| PlotCursor * | cursor_ |
| QVector< PlotCurve * > | curves_ |
| PlotLegend * | legend_ |
| PlotMagnifier * | magnifier_ |
| QIcon | maximizedIcon_ |
| QMenu * | menuImportExport_ |
| QIcon | normalIcon_ |
| PlotPanner * | panner_ |
| bool | paused_ |
| QIcon | pauseIcon_ |
| bool | replot_ |
| bool | rescale_ |
| QIcon | runIcon_ |
| State | state_ |
| QTimer * | timer_ |
| Ui::PlotWidget * | ui_ |
| PlotZoomer * | zoomer_ |
Definition at line 47 of file PlotWidget.h.
| Enumerator | |
|---|---|
| Normal | |
| Maximized | |
Definition at line 51 of file PlotWidget.h.
| rqt_multiplot::PlotWidget::PlotWidget | ( | QWidget * | parent = 0 | ) |
Definition at line 57 of file PlotWidget.cpp.
|
virtual |
Definition at line 181 of file PlotWidget.cpp.
| bool rqt_multiplot::PlotWidget::canChangeState | ( | ) | const |
Definition at line 332 of file PlotWidget.cpp.
| void rqt_multiplot::PlotWidget::clear | ( | ) |
Definition at line 366 of file PlotWidget.cpp.
|
signal |
|
privateslot |
Definition at line 605 of file PlotWidget.cpp.
|
privateslot |
Definition at line 651 of file PlotWidget.cpp.
|
privateslot |
Definition at line 623 of file PlotWidget.cpp.
|
privateslot |
Definition at line 636 of file PlotWidget.cpp.
|
privateslot |
Definition at line 664 of file PlotWidget.cpp.
|
privateslot |
Definition at line 675 of file PlotWidget.cpp.
|
privateslot |
Definition at line 601 of file PlotWidget.cpp.
|
privateslot |
Definition at line 656 of file PlotWidget.cpp.
|
privateslot |
Definition at line 660 of file PlotWidget.cpp.
|
signal |
|
privateslot |
Definition at line 679 of file PlotWidget.cpp.
|
protected |
Definition at line 512 of file PlotWidget.cpp.
|
protected |
Definition at line 520 of file PlotWidget.cpp.
|
protected |
Definition at line 538 of file PlotWidget.cpp.
| void rqt_multiplot::PlotWidget::forceReplot | ( | ) |
Definition at line 379 of file PlotWidget.cpp.
| MessageBroker * rqt_multiplot::PlotWidget::getBroker | ( | ) | const |
Definition at line 261 of file PlotWidget.cpp.
| PlotConfig * rqt_multiplot::PlotWidget::getConfig | ( | ) | const |
Definition at line 248 of file PlotWidget.cpp.
| const BoundingRectangle & rqt_multiplot::PlotWidget::getCurrentScale | ( | ) | const |
Definition at line 299 of file PlotWidget.cpp.
| PlotCursor * rqt_multiplot::PlotWidget::getCursor | ( | ) | const |
Definition at line 265 of file PlotWidget.cpp.
| BoundingRectangle rqt_multiplot::PlotWidget::getPreferredScale | ( | ) | const |
Definition at line 269 of file PlotWidget.cpp.
| PlotWidget::State rqt_multiplot::PlotWidget::getState | ( | ) | const |
Definition at line 324 of file PlotWidget.cpp.
| bool rqt_multiplot::PlotWidget::isPaused | ( | ) | const |
Definition at line 303 of file PlotWidget.cpp.
| bool rqt_multiplot::PlotWidget::isReplotRequested | ( | ) | const |
Definition at line 307 of file PlotWidget.cpp.
|
privateslot |
Definition at line 692 of file PlotWidget.cpp.
|
privateslot |
Definition at line 685 of file PlotWidget.cpp.
|
privateslot |
Definition at line 733 of file PlotWidget.cpp.
|
privateslot |
Definition at line 745 of file PlotWidget.cpp.
| void rqt_multiplot::PlotWidget::pause | ( | ) |
Definition at line 353 of file PlotWidget.cpp.
|
signal |
|
privateslot |
Definition at line 757 of file PlotWidget.cpp.
|
privateslot |
Definition at line 772 of file PlotWidget.cpp.
|
signal |
|
privateslot |
Definition at line 704 of file PlotWidget.cpp.
|
privateslot |
Definition at line 722 of file PlotWidget.cpp.
|
privateslot |
Definition at line 697 of file PlotWidget.cpp.
|
privateslot |
Definition at line 708 of file PlotWidget.cpp.
|
privateslot |
Definition at line 726 of file PlotWidget.cpp.
| void rqt_multiplot::PlotWidget::renderToPixmap | ( | QPixmap & | pixmap, |
| const QRectF & | bounds = QRectF() |
||
| ) |
Definition at line 395 of file PlotWidget.cpp.
| void rqt_multiplot::PlotWidget::requestReplot | ( | ) |
Definition at line 375 of file PlotWidget.cpp.
| void rqt_multiplot::PlotWidget::run | ( | ) |
Definition at line 340 of file PlotWidget.cpp.
| void rqt_multiplot::PlotWidget::saveToImageFile | ( | const QString & | fileName | ) |
Definition at line 464 of file PlotWidget.cpp.
| void rqt_multiplot::PlotWidget::saveToTextFile | ( | const QString & | fileName | ) |
Definition at line 473 of file PlotWidget.cpp.
| void rqt_multiplot::PlotWidget::setBroker | ( | MessageBroker * | broker | ) |
Definition at line 252 of file PlotWidget.cpp.
| void rqt_multiplot::PlotWidget::setCanChangeState | ( | bool | can | ) |
Definition at line 328 of file PlotWidget.cpp.
| void rqt_multiplot::PlotWidget::setConfig | ( | PlotConfig * | config | ) |
Definition at line 189 of file PlotWidget.cpp.
| void rqt_multiplot::PlotWidget::setCurrentScale | ( | const BoundingRectangle & | bounds | ) |
Definition at line 278 of file PlotWidget.cpp.
| void rqt_multiplot::PlotWidget::setState | ( | State | state | ) |
Definition at line 311 of file PlotWidget.cpp.
|
signal |
|
privateslot |
Definition at line 596 of file PlotWidget.cpp.
|
private |
Definition at line 555 of file PlotWidget.cpp.
| void rqt_multiplot::PlotWidget::writeFormattedCurveAxisTitles | ( | QStringList & | formattedAxisTitles | ) |
Definition at line 436 of file PlotWidget.cpp.
| void rqt_multiplot::PlotWidget::writeFormattedCurveData | ( | QList< QStringList > & | formattedData | ) |
Definition at line 423 of file PlotWidget.cpp.
|
private |
Definition at line 113 of file PlotWidget.h.
|
private |
Definition at line 111 of file PlotWidget.h.
|
private |
Definition at line 128 of file PlotWidget.h.
|
private |
Definition at line 118 of file PlotWidget.h.
|
private |
Definition at line 115 of file PlotWidget.h.
|
private |
Definition at line 117 of file PlotWidget.h.
|
private |
Definition at line 120 of file PlotWidget.h.
|
private |
Definition at line 107 of file PlotWidget.h.
|
private |
Definition at line 109 of file PlotWidget.h.
|
private |
Definition at line 106 of file PlotWidget.h.
|
private |
Definition at line 119 of file PlotWidget.h.
|
private |
Definition at line 123 of file PlotWidget.h.
|
private |
Definition at line 105 of file PlotWidget.h.
|
private |
Definition at line 125 of file PlotWidget.h.
|
private |
Definition at line 124 of file PlotWidget.h.
|
private |
Definition at line 104 of file PlotWidget.h.
|
private |
Definition at line 126 of file PlotWidget.h.
|
private |
Definition at line 108 of file PlotWidget.h.
|
private |
Definition at line 102 of file PlotWidget.h.
|
private |
Definition at line 121 of file PlotWidget.h.