Public Types | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes
rqt_multiplot::PlotWidget Class Reference

#include <PlotWidget.h>

List of all members.

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 ()
MessageBrokergetBroker () const
PlotConfiggetConfig () const
const BoundingRectanglegetCurrentScale () const
PlotCursorgetCursor () 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

MessageBrokerbroker_
PlotConfigconfig_
BoundingRectangle currentBounds_
PlotCursorcursor_
QVector< PlotCurve * > curves_
PlotLegendlegend_
PlotMagnifiermagnifier_
QIcon maximizedIcon_
QMenu * menuImportExport_
QIcon normalIcon_
PlotPannerpanner_
bool paused_
QIcon pauseIcon_
bool replot_
bool rescale_
QIcon runIcon_
State state_
QTimer * timer_
Ui::PlotWidget * ui_
PlotZoomerzoomer_

Detailed Description

Definition at line 47 of file PlotWidget.h.


Member Enumeration Documentation

Enumerator:
Normal 
Maximized 

Definition at line 51 of file PlotWidget.h.


Constructor & Destructor Documentation

rqt_multiplot::PlotWidget::PlotWidget ( QWidget *  parent = 0)

Definition at line 57 of file PlotWidget.cpp.

Definition at line 181 of file PlotWidget.cpp.


Member Function Documentation

Definition at line 332 of file PlotWidget.cpp.

Definition at line 366 of file PlotWidget.cpp.

void rqt_multiplot::PlotWidget::configCurveAdded ( size_t  index) [private, slot]

Definition at line 605 of file PlotWidget.cpp.

void rqt_multiplot::PlotWidget::configCurveConfigChanged ( size_t  index) [private, slot]

Definition at line 651 of file PlotWidget.cpp.

void rqt_multiplot::PlotWidget::configCurveRemoved ( size_t  index) [private, slot]

Definition at line 623 of file PlotWidget.cpp.

Definition at line 636 of file PlotWidget.cpp.

Definition at line 664 of file PlotWidget.cpp.

void rqt_multiplot::PlotWidget::configPlotRateChanged ( double  rate) [private, slot]

Definition at line 675 of file PlotWidget.cpp.

void rqt_multiplot::PlotWidget::configTitleChanged ( const QString &  title) [private, slot]

Definition at line 601 of file PlotWidget.cpp.

Definition at line 656 of file PlotWidget.cpp.

Definition at line 660 of file PlotWidget.cpp.

Definition at line 679 of file PlotWidget.cpp.

void rqt_multiplot::PlotWidget::dragEnterEvent ( QDragEnterEvent *  event) [protected]

Definition at line 512 of file PlotWidget.cpp.

void rqt_multiplot::PlotWidget::dropEvent ( QDropEvent *  event) [protected]

Definition at line 520 of file PlotWidget.cpp.

bool rqt_multiplot::PlotWidget::eventFilter ( QObject *  object,
QEvent *  event 
) [protected]

Definition at line 538 of file PlotWidget.cpp.

Definition at line 379 of file PlotWidget.cpp.

Definition at line 261 of file PlotWidget.cpp.

Definition at line 248 of file PlotWidget.cpp.

Definition at line 299 of file PlotWidget.cpp.

Definition at line 265 of file PlotWidget.cpp.

Definition at line 269 of file PlotWidget.cpp.

Definition at line 324 of file PlotWidget.cpp.

Definition at line 303 of file PlotWidget.cpp.

Definition at line 307 of file PlotWidget.cpp.

Definition at line 692 of file PlotWidget.cpp.

void rqt_multiplot::PlotWidget::lineEditTitleTextChanged ( const QString &  text) [private, slot]

Definition at line 685 of file PlotWidget.cpp.

Definition at line 733 of file PlotWidget.cpp.

Definition at line 745 of file PlotWidget.cpp.

Definition at line 353 of file PlotWidget.cpp.

void rqt_multiplot::PlotWidget::pausedChanged ( bool  paused) [signal]

Definition at line 757 of file PlotWidget.cpp.

Definition at line 772 of file PlotWidget.cpp.

Definition at line 704 of file PlotWidget.cpp.

Definition at line 722 of file PlotWidget.cpp.

Definition at line 697 of file PlotWidget.cpp.

Definition at line 708 of file PlotWidget.cpp.

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.

Definition at line 375 of file PlotWidget.cpp.

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.

Definition at line 252 of file PlotWidget.cpp.

Definition at line 328 of file PlotWidget.cpp.

Definition at line 189 of file PlotWidget.cpp.

Definition at line 278 of file PlotWidget.cpp.

Definition at line 311 of file PlotWidget.cpp.

void rqt_multiplot::PlotWidget::stateChanged ( int  state) [signal]
void rqt_multiplot::PlotWidget::timerTimeout ( ) [private, slot]

Definition at line 596 of file PlotWidget.cpp.

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.


Member Data Documentation

Definition at line 113 of file PlotWidget.h.

Definition at line 111 of file PlotWidget.h.

Definition at line 128 of file PlotWidget.h.

Definition at line 118 of file PlotWidget.h.

Definition at line 115 of file PlotWidget.h.

Definition at line 117 of file PlotWidget.h.

Definition at line 120 of file PlotWidget.h.

Definition at line 107 of file PlotWidget.h.

Definition at line 109 of file PlotWidget.h.

Definition at line 106 of file PlotWidget.h.

Definition at line 119 of file PlotWidget.h.

Definition at line 123 of file PlotWidget.h.

Definition at line 105 of file PlotWidget.h.

Definition at line 125 of file PlotWidget.h.

Definition at line 124 of file PlotWidget.h.

Definition at line 104 of file PlotWidget.h.

Definition at line 126 of file PlotWidget.h.

Definition at line 108 of file PlotWidget.h.

Ui::PlotWidget* rqt_multiplot::PlotWidget::ui_ [private]

Definition at line 102 of file PlotWidget.h.

Definition at line 121 of file PlotWidget.h.


The documentation for this class was generated from the following files:


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Tue May 9 2017 02:16:02