mainwindow.h
Go to the documentation of this file.
1 /*
2  * This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at https://mozilla.org/MPL/2.0/.
5  */
6 
7 #ifndef MAINWINDOW_H
8 #define MAINWINDOW_H
9 
10 #include <set>
11 #include <deque>
12 #include <functional>
13 
14 #include <QCommandLineParser>
15 #include <QElapsedTimer>
16 #include <QMainWindow>
17 #include <QSignalMapper>
18 #include <QShortcut>
19 #include <QMovie>
20 
21 #include "plotwidget.h"
22 #include "plot_docker.h"
23 #include "curvelist_panel.h"
24 #include "tabbedplotwidget.h"
25 #include "realslider.h"
26 #include "utils.h"
34 
35 #include "ui_mainwindow.h"
36 
37 class MainWindow : public QMainWindow
38 {
39  Q_OBJECT
40 
41 public:
42  explicit MainWindow(const QCommandLineParser& commandline_parser,
43  QWidget* parent = nullptr);
44 
45  ~MainWindow();
46 
47  bool loadLayoutFromFile(QString filename);
48  bool loadDataFromFiles(QStringList filenames);
49  std::unordered_set<std::string> loadDataFromFile(const FileLoadInfo& info);
50 
51  void stopStreamingPlugin();
52  void startStreamingPlugin(QString streamer_name);
53  void enableStreamingNotificationsButton(bool enabled);
54 
55  void setStatusBarMessage(QString message);
56 
57 public slots:
58 
59  void resizeEvent(QResizeEvent*);
60  // Undo - Redo
61  void onUndoableChange();
62  void onUndoInvoked();
63  void onRedoInvoked();
64 
65  // Actions in UI
66  void on_streamingToggled();
67 
68  void on_buttonStreamingPause_toggled(bool paused);
70 
71  void on_streamingSpinBox_valueChanged(int value);
72 
73  void on_comboStreaming_currentIndexChanged(const QString& current_text);
74 
75  void on_splitterMoved(int, int);
76 
77  void onTrackerTimeUpdated(double absolute_time, bool do_replot);
78  void onTrackerMovedFromWidget(QPointF pos);
79  void onTimeSlider_valueChanged(double abs_time);
80 
81  void onPlotAdded(PlotWidget* plot);
82 
83  void onPlotTabAdded(PlotDocker* docker);
84 
85  void onPlotZoomChanged(PlotWidget* modified_plot, QRectF new_range);
86 
87  void on_tabbedAreaDestroyed(QObject* object);
88 
89  void updateDataAndReplot(bool replot_hidden_tabs);
90 
92 
93  void onDeleteMultipleCurves(const std::vector<std::string>& curve_names);
94 
95  void onAddCustomPlot(const std::string& plot_name);
96 
97  void onEditCustomPlot(const std::string& plot_name);
98 
99  void onRefreshCustomPlot(const std::string& plot_name);
100 
101  void onCustomPlotCreated(std::vector<CustomPlotPtr> plot);
102 
103  void onPlaybackLoop();
104 
105  void linkedZoomOut();
106 
107 private:
108  Ui::MainWindow* ui;
109 
111 
112  QShortcut _undo_shortcut;
113  QShortcut _redo_shortcut;
116  QShortcut _playback_shotcut;
117 
119 
121 
123 
125 
126  std::map<QString, DataLoaderPtr> _data_loader;
127  std::map<QString, StatePublisherPtr> _state_publisher;
128  std::map<QString, DataStreamerPtr> _data_streamer;
129  std::map<QString, ToolboxPluginPtr> _toolboxes;
130 
132 
134 
135  std::shared_ptr<DataStreamer> _active_streamer_plugin;
136 
137  std::deque<QDomDocument> _undo_states;
138  std::deque<QDomDocument> _redo_states;
139  QElapsedTimer _undo_timer;
141 
143 
145 
147 
148  QStringList _enabled_plugins;
149  QStringList _disabled_plugins;
150 
151  std::vector<FileLoadInfo> _loaded_datafiles_history;
152  std::vector<FileLoadInfo> _loaded_datafiles_previous;
154 
155  std::map<CurveTracker::Parameter, QIcon> _tracker_button_icons;
156 
158 
159  QTimer* _replot_timer;
160  QTimer* _publish_timer;
162 
164 
166 
169 
171  {
175  };
176 
178 
181 
182  QString _skin_path;
183 
184  void initializeActions();
185  QStringList initializePlugins(QString subdir_name);
186 
187  void forEachWidget(std::function<void(PlotWidget*, PlotDocker*, int)> op);
188  void forEachWidget(std::function<void(PlotWidget*)> op);
189 
190  void rearrangeGridLayout();
191 
192  QDomDocument xmlSaveState() const;
193  bool xmlLoadState(QDomDocument state_document);
194 
195  void checkAllCurvesFromLayout(const QDomElement& root);
196 
197  void importPlotDataMap(PlotDataMapRef& new_data, bool remove_old);
198 
199  bool isStreamingActive() const;
200 
201  void closeEvent(QCloseEvent* event);
202 
203  void loadPluginState(const QDomElement& root);
204  QDomElement savePluginState(QDomDocument& doc);
205 
206  std::tuple<double, double, int> calculateVisibleRangeX();
207 
208  void deleteAllData();
209 
210  void updateRecentDataMenu(QStringList new_filenames);
211  void updateRecentLayoutMenu(QStringList new_filenames);
212 
213  void updatedDisplayTime();
214 
215  void updateTimeSlider();
216  void updateTimeOffset();
217 
218  void buildDummyData();
219 
220  void loadStyleSheet(QString file_path);
221 
222  void updateDerivedSeries();
223 
224  void updateReactivePlots();
225 
226  void dragEnterEvent(QDragEnterEvent* event);
227 
228  void dropEvent(QDropEvent* event);
229 
230 signals:
231  void dataSourceRemoved(const std::string& name);
232  void dataSourceUpdated(const std::string& name);
233  void activateTracker(bool active);
234  void stylesheetChanged(QString style_name);
235 
236 public slots:
237 
240 
243 
244  void on_deleteSerieFromGroup(std::string group_name);
245 
246  void on_streamingNotificationsChanged(int active_notifications_count);
247 
249 
253  // TODO ? void on_actionSaveAllPlotTabs_triggered();
254 
257 
258  void on_buttonActivateGrid_toggled(bool checked);
259  void on_buttonRatio_toggled(bool checked);
260  void on_buttonPlay_toggled(bool checked);
261  void on_buttonUseDateTime_toggled(bool checked);
263  void on_buttonRemoveTimeOffset_toggled(bool checked);
264 
266 
267 private slots:
268  void on_stylesheetChanged(QString style_name);
271  void on_playbackStep_valueChanged(double arg1);
275 
280 
286 
288 
290 
292 
293 private:
294  QStringList readAllCurvesFromXML(QDomElement root_node);
295  void loadAllPlugins(QStringList command_line_plugin_folders);
296 };
297 
298 class PopupMenu : public QMenu
299 {
300  Q_OBJECT
301 public:
302  explicit PopupMenu(QWidget* relative_widget, QWidget* parent = nullptr);
303 
304  void showEvent(QShowEvent*) override;
305  void leaveEvent(QEvent*) override;
306  void closeEvent(QCloseEvent*) override;
307 
308 private:
309  QWidget* _w;
310 };
311 
312 #endif // MAINWINDOW_H
MainWindow::on_buttonHideFileFrame_clicked
void on_buttonHideFileFrame_clicked()
Definition: mainwindow.cpp:3455
MainWindow::on_buttonStreamingOptions_clicked
void on_buttonStreamingOptions_clicked()
Definition: mainwindow.cpp:3439
MainWindow::_loaded_datafiles_previous
std::vector< FileLoadInfo > _loaded_datafiles_previous
Definition: mainwindow.h:152
MainWindow::_disable_undo_logging
bool _disable_undo_logging
Definition: mainwindow.h:140
MainWindow::loadAllPlugins
void loadAllPlugins(QStringList command_line_plugin_folders)
Definition: mainwindow.cpp:529
MainWindow::buildDummyData
void buildDummyData()
Definition: mainwindow.cpp:907
MainWindow::enableStreamingNotificationsButton
void enableStreamingNotificationsButton(bool enabled)
Definition: mainwindow.cpp:1770
op
#define op
MainWindow::_loaded_datafiles_history
std::vector< FileLoadInfo > _loaded_datafiles_history
Definition: mainwindow.h:151
delayed_callback.hpp
MainWindow::onCustomPlotCreated
void onCustomPlotCreated(std::vector< CustomPlotPtr > plot)
Definition: mainwindow.cpp:2804
MainWindow::_tracker_button_icons
std::map< CurveTracker::Parameter, QIcon > _tracker_button_icons
Definition: mainwindow.h:155
MainWindow::_tracker_delay
PJ::DelayedCallback _tracker_delay
Definition: mainwindow.h:161
MainWindow::startStreamingPlugin
void startStreamingPlugin(QString streamer_name)
Definition: mainwindow.cpp:1698
MainWindow::on_actionClearRecentLayout_triggered
void on_actionClearRecentLayout_triggered()
Definition: mainwindow.cpp:3260
plotwidget.h
MainWindow::on_buttonStreamingNotifications_clicked
void on_buttonStreamingNotifications_clicked()
Definition: mainwindow.cpp:1610
MainWindow::MainWindow
MainWindow(const QCommandLineParser &commandline_parser, QWidget *parent=nullptr)
Definition: mainwindow.cpp:68
PJ::FileLoadInfo
Definition: dataloader_base.h:18
MainWindow::_labels_status
LabelStatus _labels_status
Definition: mainwindow.h:177
MainWindow::on_streamingSpinBox_valueChanged
void on_streamingSpinBox_valueChanged(int value)
Definition: mainwindow.cpp:2480
MainWindow::initializeActions
void initializeActions()
Definition: mainwindow.cpp:497
MainWindow::stopStreamingPlugin
void stopStreamingPlugin()
Definition: mainwindow.cpp:1663
MainWindow::onTimeSlider_valueChanged
void onTimeSlider_valueChanged(double abs_time)
Definition: mainwindow.cpp:471
MainWindow::on_buttonSaveLayout_clicked
void on_buttonSaveLayout_clicked()
Definition: mainwindow.cpp:3078
MainWindow::setStatusBarMessage
void setStatusBarMessage(QString message)
Definition: mainwindow.cpp:1789
MainWindow::_undo_timer
QElapsedTimer _undo_timer
Definition: mainwindow.h:139
MainWindow::on_buttonRecentData_clicked
void on_buttonRecentData_clicked()
Definition: mainwindow.cpp:3428
MainWindow::_data_loader
std::map< QString, DataLoaderPtr > _data_loader
Definition: mainwindow.h:126
MainWindow::on_actionDeleteAllData_triggered
void on_actionDeleteAllData_triggered()
Definition: mainwindow.cpp:3276
MainWindow::on_buttonRatio_toggled
void on_buttonRatio_toggled(bool checked)
Definition: mainwindow.cpp:2563
MainWindow::readAllCurvesFromXML
QStringList readAllCurvesFromXML(QDomElement root_node)
Definition: mainwindow.cpp:3496
MainWindow::on_tabbedAreaDestroyed
void on_tabbedAreaDestroyed(QObject *object)
Definition: mainwindow.cpp:2340
MainWindow::onPlaybackLoop
void onPlaybackLoop()
Definition: mainwindow.cpp:2767
MainWindow::_recent_data_files
QMenu * _recent_data_files
Definition: mainwindow.h:179
MonitoredValue
Definition: utils.h:15
MainWindow::updateRecentLayoutMenu
void updateRecentLayoutMenu(QStringList new_filenames)
Definition: mainwindow.cpp:1253
MainWindow::_streaming_shortcut
QShortcut _streaming_shortcut
Definition: mainwindow.h:115
MainWindow::on_deleteSerieFromGroup
void on_deleteSerieFromGroup(std::string group_name)
Definition: mainwindow.cpp:2612
MainWindow::loadDataFromFile
std::unordered_set< std::string > loadDataFromFile(const FileLoadInfo &info)
Definition: mainwindow.cpp:1456
MainWindow::onRefreshCustomPlot
void onRefreshCustomPlot(const std::string &plot_name)
Definition: mainwindow.cpp:2744
PopupMenu
Definition: mainwindow.h:298
MainWindow::on_buttonCloseStatus_clicked
void on_buttonCloseStatus_clicked()
Definition: mainwindow.cpp:3543
MainWindow::_redo_shortcut
QShortcut _redo_shortcut
Definition: mainwindow.h:113
MainWindow::dragEnterEvent
void dragEnterEvent(QDragEnterEvent *event)
Definition: mainwindow.cpp:1858
MainWindow::_minimized
bool _minimized
Definition: mainwindow.h:118
MainWindow::onPlotTabAdded
void onPlotTabAdded(PlotDocker *docker)
Definition: mainwindow.cpp:1010
MainWindow::LabelStatus
LabelStatus
Definition: mainwindow.h:170
PJ::TransformsMap
std::unordered_map< std::string, std::shared_ptr< TransformFunction > > TransformsMap
Definition: transform_function.h:85
MainWindow::importPlotDataMap
void importPlotDataMap(PlotDataMapRef &new_data, bool remove_old)
Definition: mainwindow.cpp:1333
MainWindow::~MainWindow
~MainWindow()
Definition: mainwindow.cpp:391
MainWindow::onUndoInvoked
void onUndoInvoked()
Definition: mainwindow.cpp:437
MainWindow::on_actionAbout_triggered
void on_actionAbout_triggered()
Definition: mainwindow.cpp:2872
MainWindow::_playback_shotcut
QShortcut _playback_shotcut
Definition: mainwindow.h:116
MainWindow::onUpdateLeftTableValues
void onUpdateLeftTableValues()
Definition: mainwindow.cpp:455
MainWindow::updateTimeOffset
void updateTimeOffset()
Definition: mainwindow.cpp:2386
statepublisher_base.h
MainWindow::HIDDEN
@ HIDDEN
Definition: mainwindow.h:174
MainWindow::RIGHT
@ RIGHT
Definition: mainwindow.h:173
MainWindow::resizeEvent
void resizeEvent(QResizeEvent *)
Definition: mainwindow.cpp:943
MainWindow::calculateVisibleRangeX
std::tuple< double, double, int > calculateVisibleRangeX()
Definition: mainwindow.cpp:1981
PlotWidget
Definition: plotwidget.h:38
MainWindow::forEachWidget
void forEachWidget(std::function< void(PlotWidget *, PlotDocker *, int)> op)
Definition: mainwindow.cpp:2345
CurveListPanel
Definition: curvelist_panel.h:29
MainWindow::onRedoInvoked
void onRedoInvoked()
Definition: mainwindow.cpp:420
MainWindow::updateReactivePlots
void updateReactivePlots()
Definition: mainwindow.cpp:1822
MainWindow::on_actionReportBug_triggered
void on_actionReportBug_triggered()
Definition: mainwindow.cpp:2861
MainWindow::loadLayoutFromFile
bool loadLayoutFromFile(QString filename)
Definition: mainwindow.cpp:2037
MainWindow::_active_streamer_plugin
std::shared_ptr< DataStreamer > _active_streamer_plugin
Definition: mainwindow.h:135
MainWindow::_skin_path
QString _skin_path
Definition: mainwindow.h:182
MainWindow::onUndoableChange
void onUndoableChange()
Definition: mainwindow.cpp:399
MainWindow::_tracker_param
CurveTracker::Parameter _tracker_param
Definition: mainwindow.h:153
curvelist_panel.h
MainWindow::on_actionCheatsheet_triggered
void on_actionCheatsheet_triggered()
Definition: mainwindow.cpp:2897
utils.h
MainWindow::on_actionColorMap_Editor_triggered
void on_actionColorMap_Editor_triggered()
Definition: mainwindow.cpp:3526
MainWindow::on_buttonStreamingPause_toggled
void on_buttonStreamingPause_toggled(bool paused)
Definition: mainwindow.cpp:1624
MainWindow::dataSourceRemoved
void dataSourceRemoved(const std::string &name)
custom_function.h
MainWindow::_parser_factories
ParserFactories _parser_factories
Definition: mainwindow.h:133
MainWindow::_publish_timer
QTimer * _publish_timer
Definition: mainwindow.h:160
PopupMenu::leaveEvent
void leaveEvent(QEvent *) override
Definition: mainwindow.cpp:3418
MainWindow::onEditCustomPlot
void onEditCustomPlot(const std::string &plot_name)
Definition: mainwindow.cpp:2731
MainWindow::checkAllCurvesFromLayout
void checkAllCurvesFromLayout(const QDomElement &root)
Definition: mainwindow.cpp:1047
MainWindow::on_buttonHideStreamingFrame_clicked
void on_buttonHideStreamingFrame_clicked()
Definition: mainwindow.cpp:3465
MainWindow
Definition: mainwindow.h:37
MainWindow::on_streamingToggled
void on_streamingToggled()
Definition: mainwindow.cpp:1654
MainWindow::_function_editor
FunctionEditorWidget * _function_editor
Definition: mainwindow.h:165
MainWindow::on_comboStreaming_currentIndexChanged
void on_comboStreaming_currentIndexChanged(const QString &current_text)
Definition: mainwindow.cpp:3374
MainWindow::on_splitterMoved
void on_splitterMoved(int, int)
Definition: mainwindow.cpp:914
MainWindow::_data_streamer
std::map< QString, DataStreamerPtr > _data_streamer
Definition: mainwindow.h:128
MainWindow::_enabled_plugins
QStringList _enabled_plugins
Definition: mainwindow.h:148
MainWindow::_undo_shortcut
QShortcut _undo_shortcut
Definition: mainwindow.h:112
MainWindow::rearrangeGridLayout
void rearrangeGridLayout()
PJ::DelayedCallback
Definition: delayed_callback.hpp:17
MainWindow::loadDataFromFiles
bool loadDataFromFiles(QStringList filenames)
Definition: mainwindow.cpp:1372
MainWindow::_fullscreen_shortcut
QShortcut _fullscreen_shortcut
Definition: mainwindow.h:114
MainWindow::updateDerivedSeries
void updateDerivedSeries()
Definition: mainwindow.cpp:1815
MainWindow::_mapped_plot_data
PlotDataMapRef _mapped_plot_data
Definition: mainwindow.h:122
MainWindow::_state_publisher
std::map< QString, StatePublisherPtr > _state_publisher
Definition: mainwindow.h:127
MainWindow::_redo_states
std::deque< QDomDocument > _redo_states
Definition: mainwindow.h:138
MainWindow::on_buttonPlay_toggled
void on_buttonPlay_toggled(bool checked)
Definition: mainwindow.cpp:2571
MainWindow::on_buttonStreamingStart_clicked
void on_buttonStreamingStart_clicked()
Definition: mainwindow.cpp:3392
MainWindow::_animated_streaming_timer
QTimer * _animated_streaming_timer
Definition: mainwindow.h:168
PopupMenu::closeEvent
void closeEvent(QCloseEvent *) override
Definition: mainwindow.cpp:3423
MainWindow::on_buttonReloadData_clicked
void on_buttonReloadData_clicked()
Definition: mainwindow.cpp:3532
MainWindow::on_playbackStep_valueChanged
void on_playbackStep_valueChanged(double arg1)
Definition: mainwindow.cpp:3310
MainWindow::isStreamingActive
bool isStreamingActive() const
Definition: mainwindow.cpp:1367
MainWindow::updateRecentDataMenu
void updateRecentDataMenu(QStringList new_filenames)
Definition: mainwindow.cpp:1214
MainWindow::onTrackerTimeUpdated
void onTrackerTimeUpdated(double absolute_time, bool do_replot)
Definition: mainwindow.cpp:477
MainWindow::_recent_layout_files
QMenu * _recent_layout_files
Definition: mainwindow.h:180
MainWindow::on_buttonLegend_clicked
void on_buttonLegend_clicked()
Definition: mainwindow.cpp:3336
MainWindow::on_buttonLoadLayout_clicked
void on_buttonLoadLayout_clicked()
Definition: mainwindow.cpp:3056
MainWindow::xmlSaveState
QDomDocument xmlSaveState() const
Definition: mainwindow.cpp:1021
MainWindow::on_buttonUseDateTime_toggled
void on_buttonUseDateTime_toggled(bool checked)
Definition: mainwindow.cpp:2652
MainWindow::activateTracker
void activateTracker(bool active)
MainWindow::onPlotZoomChanged
void onPlotZoomChanged(PlotWidget *modified_plot, QRectF new_range)
Definition: mainwindow.cpp:988
MainWindow::updateDataAndReplot
void updateDataAndReplot(bool replot_hidden_tabs)
Definition: mainwindow.cpp:2402
plot_docker.h
MainWindow::on_buttonLoadDatafile_clicked
void on_buttonLoadDatafile_clicked()
Definition: mainwindow.cpp:2998
MainWindow::on_actionClearBuffer_triggered
void on_actionClearBuffer_triggered()
Definition: mainwindow.cpp:2584
PopupMenu::_w
QWidget * _w
Definition: mainwindow.h:309
PlotDocker
Definition: plot_docker.h:45
MainWindow::_replot_timer
QTimer * _replot_timer
Definition: mainwindow.h:159
dataloader_base.h
MainWindow::on_actionSupportPlotJuggler_triggered
void on_actionSupportPlotJuggler_triggered()
Definition: mainwindow.cpp:2908
MainWindow::on_stylesheetChanged
void on_stylesheetChanged(QString style_name)
Definition: mainwindow.cpp:1879
MainWindow::dropEvent
void dropEvent(QDropEvent *event)
Definition: mainwindow.cpp:1866
MainWindow::ui
Ui::MainWindow * ui
Definition: mainwindow.h:108
MainWindow::on_streamingNotificationsChanged
void on_streamingNotificationsChanged(int active_notifications_count)
Definition: mainwindow.cpp:2633
MainWindow::_toolboxes
std::map< QString, ToolboxPluginPtr > _toolboxes
Definition: mainwindow.h:129
FunctionEditorWidget
Definition: function_editor.h:18
PJ::ParserFactories
std::map< QString, std::shared_ptr< ParserFactoryPlugin > > ParserFactories
Definition: messageparser_base.h:157
MainWindow::on_actionClearRecentData_triggered
void on_actionClearRecentData_triggered()
Definition: mainwindow.cpp:3244
MainWindow::updateTimeSlider
void updateTimeSlider()
Definition: mainwindow.cpp:2376
MainWindow::on_actionShare_the_love_triggered
void on_actionShare_the_love_triggered()
Definition: mainwindow.cpp:2866
MainWindow::_default_streamer
QString _default_streamer
Definition: mainwindow.h:131
MainWindow::savePluginState
QDomElement savePluginState(QDomDocument &doc)
Definition: mainwindow.cpp:1954
MainWindow::xmlLoadState
bool xmlLoadState(QDomDocument state_document)
Definition: mainwindow.cpp:1119
MainWindow::loadStyleSheet
void loadStyleSheet(QString file_path)
Definition: mainwindow.cpp:1796
MainWindow::onActionFullscreenTriggered
void onActionFullscreenTriggered()
Definition: mainwindow.cpp:3222
MainWindow::LEFT
@ LEFT
Definition: mainwindow.h:172
MainWindow::on_buttonZoomOut_clicked
void on_buttonZoomOut_clicked()
Definition: mainwindow.cpp:3368
tabbedplotwidget.h
MainWindow::_curvelist_widget
CurveListPanel * _curvelist_widget
Definition: mainwindow.h:120
MainWindow::_main_tabbed_widget
TabbedPlotWidget * _main_tabbed_widget
Definition: mainwindow.h:110
MainWindow::on_actionLoadStyleSheet_triggered
void on_actionLoadStyleSheet_triggered()
Definition: mainwindow.cpp:3316
PopupMenu::PopupMenu
PopupMenu(QWidget *relative_widget, QWidget *parent=nullptr)
Definition: mainwindow.cpp:3406
MainWindow::_test_option
bool _test_option
Definition: mainwindow.h:142
MainWindow::deleteAllData
void deleteAllData()
Definition: mainwindow.cpp:1296
MainWindow::on_buttonTimeTracker_pressed
void on_buttonTimeTracker_pressed()
Definition: mainwindow.cpp:2671
function_editor.h
MainWindow::_time_offset
MonitoredValue _time_offset
Definition: mainwindow.h:157
MainWindow::_autostart_publishers
bool _autostart_publishers
Definition: mainwindow.h:144
MainWindow::_tracker_time
double _tracker_time
Definition: mainwindow.h:146
MainWindow::on_actionExit_triggered
void on_actionExit_triggered()
Definition: mainwindow.cpp:2509
MainWindow::_animated_streaming_movie
QMovie * _animated_streaming_movie
Definition: mainwindow.h:167
MainWindow::linkedZoomOut
void linkedZoomOut()
Definition: mainwindow.cpp:2281
MainWindow::stylesheetChanged
void stylesheetChanged(QString style_name)
MainWindow::_undo_states
std::deque< QDomDocument > _undo_states
Definition: mainwindow.h:137
MainWindow::loadPluginState
void loadPluginState(const QDomElement &root)
Definition: mainwindow.cpp:1913
MainWindow::on_buttonHidePublishersFrame_clicked
void on_buttonHidePublishersFrame_clicked()
Definition: mainwindow.cpp:3475
PJ::PlotDataMapRef
Definition: plotdata.h:34
MainWindow::onAddCustomPlot
void onAddCustomPlot(const std::string &plot_name)
Definition: mainwindow.cpp:2724
MainWindow::on_actionPreferences_triggered
void on_actionPreferences_triggered()
Definition: mainwindow.cpp:3294
MainWindow::_disabled_plugins
QStringList _disabled_plugins
Definition: mainwindow.h:149
MainWindow::on_buttonRemoveTimeOffset_toggled
void on_buttonRemoveTimeOffset_toggled(bool checked)
Definition: mainwindow.cpp:2514
CurveTracker::Parameter
Parameter
Definition: customtracker.h:28
MainWindow::initializePlugins
QStringList initializePlugins(QString subdir_name)
Definition: mainwindow.cpp:593
MainWindow::onTrackerMovedFromWidget
void onTrackerMovedFromWidget(QPointF pos)
Definition: mainwindow.cpp:460
toolbox_base.h
realslider.h
MainWindow::updatedDisplayTime
void updatedDisplayTime()
Definition: mainwindow.cpp:2527
MainWindow::_prev_publish_time
QDateTime _prev_publish_time
Definition: mainwindow.h:163
datastreamer_base.h
MainWindow::on_buttonActivateGrid_toggled
void on_buttonActivateGrid_toggled(bool checked)
Definition: mainwindow.cpp:2555
MainWindow::_transform_functions
TransformsMap _transform_functions
Definition: mainwindow.h:124
MainWindow::closeEvent
void closeEvent(QCloseEvent *event)
Definition: mainwindow.cpp:2693
MainWindow::onPlotAdded
void onPlotAdded(PlotWidget *plot)
Definition: mainwindow.cpp:948
PopupMenu::showEvent
void showEvent(QShowEvent *) override
Definition: mainwindow.cpp:3411
TabbedPlotWidget
Definition: tabbedplotwidget.h:16
MainWindow::on_buttonRecentLayout_clicked
void on_buttonRecentLayout_clicked()
Definition: mainwindow.cpp:3485
MainWindow::dataSourceUpdated
void dataSourceUpdated(const std::string &name)
MainWindow::onDeleteMultipleCurves
void onDeleteMultipleCurves(const std::vector< std::string > &curve_names)
Definition: mainwindow.cpp:1179


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45