#include <tabbedplotwidget.h>
Classes | |
| struct | MainWindowArea |
Public Slots | |
| void | setStreamingMode (bool streaming_mode) |
Signals | |
| void | created () |
| void | matrixAdded (PlotMatrix *) |
| void | sendTabToNewWindow (PlotMatrix *) |
| void | undoableChangeHappened () |
Public Member Functions | |
| void | addTab (PlotMatrix *tab=NULL) |
| PlotMatrix * | currentTab () |
| QString | name () const |
| void | setControlsVisible (bool visible) |
| TabbedPlotWidget (QString name, QMainWindow *main_window, PlotMatrix *first_tab, PlotDataMap &mapped_data, QMainWindow *parent) | |
| QTabWidget * | tabWidget () |
| bool | xmlLoadState (QDomElement &tabbed_area) |
| QDomElement | xmlSaveState (QDomDocument &doc) const |
| ~TabbedPlotWidget () | |
Static Public Member Functions | |
| static TabbedPlotWidget * | instance (const QString &key) |
| static const std::map< QString, TabbedPlotWidget * > & | instances () |
Protected Member Functions | |
| virtual bool | eventFilter (QObject *obj, QEvent *event) |
Static Protected Attributes | |
| static std::map< QString, TabbedPlotWidget * > | _instances |
Private Slots | |
| void | on_addTabButton_pressed () |
| void | on_buttonLinkHorizontalScale_toggled (bool checked) |
| void | on_moveTabIntoNewWindow () |
| void | on_pushAddColumn_pressed () |
| void | on_pushAddRow_pressed () |
| void | on_pushButtonShowLabel_toggled (bool checked) |
| void | on_pushHorizontalResize_pressed () |
| void | on_pushRemoveEmpty_pressed () |
| void | on_pushVerticalResize_pressed () |
| void | on_renameCurrentTab () |
| void | on_requestTabMovement (const QString &destination_name) |
| void | on_savePlotsToFile () |
| void | on_tabWidget_currentChanged (int index) |
| void | on_tabWidget_tabCloseRequested (int index) |
Private Member Functions | |
| virtual void | closeEvent (QCloseEvent *event) override |
Private Attributes | |
| QAction * | _action_renameTab |
| QAction * | _action_savePlots |
| bool | _horizontal_link |
| PlotDataMap & | _mapped_data |
| const QString | _name |
| QString | _parent_type |
| QMenu * | _tab_menu |
| Ui::TabbedPlotWidget * | ui |
Definition at line 14 of file tabbedplotwidget.h.
| TabbedPlotWidget::TabbedPlotWidget | ( | QString | name, |
| QMainWindow * | main_window, | ||
| PlotMatrix * | first_tab, | ||
| PlotDataMap & | mapped_data, | ||
| QMainWindow * | parent | ||
| ) | [explicit] |
Definition at line 13 of file tabbedplotwidget.cpp.
Definition at line 187 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::addTab | ( | PlotMatrix * | tab = NULL | ) |
Definition at line 83 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::closeEvent | ( | QCloseEvent * | event | ) | [override, private, virtual] |
Definition at line 475 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::created | ( | ) | [signal] |
Definition at line 73 of file tabbedplotwidget.cpp.
| bool TabbedPlotWidget::eventFilter | ( | QObject * | obj, |
| QEvent * | event | ||
| ) | [protected, virtual] |
Definition at line 400 of file tabbedplotwidget.cpp.
| TabbedPlotWidget * TabbedPlotWidget::instance | ( | const QString & | key | ) | [static] |
Definition at line 485 of file tabbedplotwidget.cpp.
| const std::map< QString, TabbedPlotWidget * > & TabbedPlotWidget::instances | ( | ) | [static] |
Definition at line 480 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::matrixAdded | ( | PlotMatrix * | ) | [signal] |
| QString TabbedPlotWidget::name | ( | ) | const [inline] |
Definition at line 38 of file tabbedplotwidget.h.
| void TabbedPlotWidget::on_addTabButton_pressed | ( | ) | [private, slot] |
Definition at line 278 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::on_buttonLinkHorizontalScale_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 367 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::on_moveTabIntoNewWindow | ( | ) | [private, slot] |
Definition at line 394 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::on_pushAddColumn_pressed | ( | ) | [private, slot] |
Definition at line 254 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::on_pushAddRow_pressed | ( | ) | [private, slot] |
Definition at line 272 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::on_pushButtonShowLabel_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 460 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::on_pushHorizontalResize_pressed | ( | ) | [private, slot] |
Definition at line 266 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::on_pushRemoveEmpty_pressed | ( | ) | [private, slot] |
Definition at line 284 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::on_pushVerticalResize_pressed | ( | ) | [private, slot] |
Definition at line 260 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::on_renameCurrentTab | ( | ) | [private, slot] |
Definition at line 192 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::on_requestTabMovement | ( | const QString & | destination_name | ) | [private, slot] |
Definition at line 378 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::on_savePlotsToFile | ( | ) | [private, slot] |
Definition at line 210 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::on_tabWidget_currentChanged | ( | int | index | ) | [private, slot] |
Definition at line 311 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::on_tabWidget_tabCloseRequested | ( | int | index | ) | [private, slot] |
Definition at line 331 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::sendTabToNewWindow | ( | PlotMatrix * | ) | [signal] |
| void TabbedPlotWidget::setControlsVisible | ( | bool | visible | ) |
Definition at line 497 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::setStreamingMode | ( | bool | streaming_mode | ) | [slot] |
Definition at line 179 of file tabbedplotwidget.cpp.
| QTabWidget * TabbedPlotWidget::tabWidget | ( | ) |
Definition at line 78 of file tabbedplotwidget.cpp.
| void TabbedPlotWidget::undoableChangeHappened | ( | ) | [signal] |
| bool TabbedPlotWidget::xmlLoadState | ( | QDomElement & | tabbed_area | ) |
Definition at line 126 of file tabbedplotwidget.cpp.
| QDomElement TabbedPlotWidget::xmlSaveState | ( | QDomDocument & | doc | ) | const |
Definition at line 103 of file tabbedplotwidget.cpp.
QAction* TabbedPlotWidget::_action_renameTab [private] |
Definition at line 83 of file tabbedplotwidget.h.
QAction* TabbedPlotWidget::_action_savePlots [private] |
Definition at line 84 of file tabbedplotwidget.h.
bool TabbedPlotWidget::_horizontal_link [private] |
Definition at line 92 of file tabbedplotwidget.h.
std::map< QString, TabbedPlotWidget * > TabbedPlotWidget::_instances [static, protected] |
Definition at line 102 of file tabbedplotwidget.h.
PlotDataMap& TabbedPlotWidget::_mapped_data [private] |
Definition at line 90 of file tabbedplotwidget.h.
const QString TabbedPlotWidget::_name [private] |
Definition at line 88 of file tabbedplotwidget.h.
QString TabbedPlotWidget::_parent_type [private] |
Definition at line 94 of file tabbedplotwidget.h.
QMenu* TabbedPlotWidget::_tab_menu [private] |
Definition at line 86 of file tabbedplotwidget.h.
Ui::TabbedPlotWidget* TabbedPlotWidget::ui [private] |
Definition at line 81 of file tabbedplotwidget.h.