MultiplotWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (C) 2015 by Ralf Kaestner *
3  * ralf.kaestner@gmail.com *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the Lesser GNU General Public License as published by*
7  * the Free Software Foundation; either version 3 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * Lesser GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the Lesser GNU General Public License *
16  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
17  ******************************************************************************/
18 
19 #ifndef RQT_MULTIPLOT_MULTIPLOT_WIDGET_H
20 #define RQT_MULTIPLOT_MULTIPLOT_WIDGET_H
21 
22 #include <QDockWidget>
23 #include <QStringList>
24 #include <QWidget>
25 
29 
30 namespace Ui {
31  class MultiplotWidget;
32 };
33 
34 namespace rqt_multiplot {
36  public QWidget {
37  Q_OBJECT
38  public:
39  MultiplotWidget(QWidget* parent = 0);
40  virtual ~MultiplotWidget();
41 
42  MultiplotConfig* getConfig() const;
43  QDockWidget* getDockWidget() const;
44 
45  void setMaxConfigHistoryLength(size_t length);
46  size_t getMaxConfigHistoryLength() const;
47  void setConfigHistory(const QStringList& history);
48  QStringList getConfigHistory() const;
49  void runPlots();
50 
51  void loadConfig(const QString& url);
52  void readBag(const QString& url);
53 
54  bool confirmClose();
55 
56  private:
57  Ui::MultiplotWidget* ui_;
58 
60 
63 
64  private slots:
65  void configWidgetCurrentConfigModifiedChanged(bool modified);
66  void configWidgetCurrentConfigUrlChanged(const QString& url);
67  };
68 };
69 
70 #endif
MessageTypeRegistry * messageTypeRegistry_
PackageRegistry * packageRegistry_
Ui::MultiplotWidget * ui_


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Wed Jul 10 2019 03:49:44