#include <MultiplotConfigWidget.h>
Signals | |
void | currentConfigModifiedChanged (bool modified) |
void | currentConfigUrlChanged (const QString &url) |
Public Member Functions | |
void | addConfigUrlToHistory (const QString &url) |
void | clearConfigUrlHistory () |
bool | confirmSave (bool canCancel=true) |
MultiplotConfig * | getConfig () const |
QStringList | getConfigUrlHistory () const |
QString | getCurrentConfigUrl () const |
size_t | getMaxConfigUrlHistoryLength () const |
bool | isCurrentConfigModified () const |
bool | isFile (const QString &url) const |
bool | loadConfig (const QString &url) |
MultiplotConfigWidget (QWidget *parent=0, size_t maxHistoryLength=10) | |
void | resetConfig () |
bool | saveConfig (const QString &url) |
bool | saveCurrentConfig () |
void | setConfig (MultiplotConfig *config) |
void | setConfigUrlHistory (const QStringList &history) |
bool | setCurrentConfigModified (bool modified) |
void | setCurrentConfigUrl (const QString &url, bool updateHistory=true) |
void | setMaxConfigUrlHistoryLength (size_t length) |
virtual | ~MultiplotConfigWidget () |
Private Slots | |
void | configChanged () |
void | configComboBoxCurrentUrlChanged (const QString &url) |
void | configComboBoxEditTextChanged (const QString &text) |
void | pushButtonClearHistoryClicked () |
void | pushButtonNewClicked () |
void | pushButtonOpenClicked () |
void | pushButtonSaveAsClicked () |
void | pushButtonSaveClicked () |
Private Attributes | |
MultiplotConfig * | config_ |
bool | currentConfigModified_ |
QString | currentConfigUrl_ |
size_t | maxHistoryLength_ |
Ui::MultiplotConfigWidget * | ui_ |
Definition at line 32 of file MultiplotConfigWidget.h.
rqt_multiplot::MultiplotConfigWidget::MultiplotConfigWidget | ( | QWidget * | parent = 0 , |
size_t | maxHistoryLength = 10 |
||
) |
Definition at line 39 of file MultiplotConfigWidget.cpp.
Definition at line 84 of file MultiplotConfigWidget.cpp.
void rqt_multiplot::MultiplotConfigWidget::addConfigUrlToHistory | ( | const QString & | url | ) |
Definition at line 319 of file MultiplotConfigWidget.cpp.
Definition at line 340 of file MultiplotConfigWidget.cpp.
void rqt_multiplot::MultiplotConfigWidget::configChanged | ( | ) | [private, slot] |
Definition at line 360 of file MultiplotConfigWidget.cpp.
void rqt_multiplot::MultiplotConfigWidget::configComboBoxCurrentUrlChanged | ( | const QString & | url | ) | [private, slot] |
Definition at line 376 of file MultiplotConfigWidget.cpp.
void rqt_multiplot::MultiplotConfigWidget::configComboBoxEditTextChanged | ( | const QString & | text | ) | [private, slot] |
Definition at line 364 of file MultiplotConfigWidget.cpp.
bool rqt_multiplot::MultiplotConfigWidget::confirmSave | ( | bool | canCancel = true | ) |
Definition at line 276 of file MultiplotConfigWidget.cpp.
void rqt_multiplot::MultiplotConfigWidget::currentConfigModifiedChanged | ( | bool | modified | ) | [signal] |
void rqt_multiplot::MultiplotConfigWidget::currentConfigUrlChanged | ( | const QString & | url | ) | [signal] |
Definition at line 104 of file MultiplotConfigWidget.cpp.
QStringList rqt_multiplot::MultiplotConfigWidget::getConfigUrlHistory | ( | ) | const |
Definition at line 162 of file MultiplotConfigWidget.cpp.
QString rqt_multiplot::MultiplotConfigWidget::getCurrentConfigUrl | ( | ) | const |
Definition at line 122 of file MultiplotConfigWidget.cpp.
size_t rqt_multiplot::MultiplotConfigWidget::getMaxConfigUrlHistoryLength | ( | ) | const |
Definition at line 151 of file MultiplotConfigWidget.cpp.
Definition at line 138 of file MultiplotConfigWidget.cpp.
bool rqt_multiplot::MultiplotConfigWidget::isFile | ( | const QString & | url | ) | const |
Definition at line 171 of file MultiplotConfigWidget.cpp.
bool rqt_multiplot::MultiplotConfigWidget::loadConfig | ( | const QString & | url | ) |
Definition at line 190 of file MultiplotConfigWidget.cpp.
void rqt_multiplot::MultiplotConfigWidget::pushButtonClearHistoryClicked | ( | ) | [private, slot] |
Definition at line 396 of file MultiplotConfigWidget.cpp.
void rqt_multiplot::MultiplotConfigWidget::pushButtonNewClicked | ( | ) | [private, slot] |
Definition at line 408 of file MultiplotConfigWidget.cpp.
void rqt_multiplot::MultiplotConfigWidget::pushButtonOpenClicked | ( | ) | [private, slot] |
Definition at line 413 of file MultiplotConfigWidget.cpp.
void rqt_multiplot::MultiplotConfigWidget::pushButtonSaveAsClicked | ( | ) | [private, slot] |
Definition at line 433 of file MultiplotConfigWidget.cpp.
void rqt_multiplot::MultiplotConfigWidget::pushButtonSaveClicked | ( | ) | [private, slot] |
Definition at line 426 of file MultiplotConfigWidget.cpp.
Definition at line 267 of file MultiplotConfigWidget.cpp.
bool rqt_multiplot::MultiplotConfigWidget::saveConfig | ( | const QString & | url | ) |
Definition at line 231 of file MultiplotConfigWidget.cpp.
Definition at line 224 of file MultiplotConfigWidget.cpp.
void rqt_multiplot::MultiplotConfigWidget::setConfig | ( | MultiplotConfig * | config | ) |
Definition at line 92 of file MultiplotConfigWidget.cpp.
void rqt_multiplot::MultiplotConfigWidget::setConfigUrlHistory | ( | const QStringList & | history | ) |
Definition at line 155 of file MultiplotConfigWidget.cpp.
bool rqt_multiplot::MultiplotConfigWidget::setCurrentConfigModified | ( | bool | modified | ) |
Definition at line 126 of file MultiplotConfigWidget.cpp.
void rqt_multiplot::MultiplotConfigWidget::setCurrentConfigUrl | ( | const QString & | url, |
bool | updateHistory = true |
||
) |
Definition at line 108 of file MultiplotConfigWidget.cpp.
void rqt_multiplot::MultiplotConfigWidget::setMaxConfigUrlHistoryLength | ( | size_t | length | ) |
Definition at line 142 of file MultiplotConfigWidget.cpp.
Definition at line 68 of file MultiplotConfigWidget.h.
bool rqt_multiplot::MultiplotConfigWidget::currentConfigModified_ [private] |
Definition at line 71 of file MultiplotConfigWidget.h.
QString rqt_multiplot::MultiplotConfigWidget::currentConfigUrl_ [private] |
Definition at line 70 of file MultiplotConfigWidget.h.
size_t rqt_multiplot::MultiplotConfigWidget::maxHistoryLength_ [private] |
Definition at line 72 of file MultiplotConfigWidget.h.
Ui::MultiplotConfigWidget* rqt_multiplot::MultiplotConfigWidget::ui_ [private] |
Definition at line 66 of file MultiplotConfigWidget.h.