MainWindow.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015, C. Dornhege, University of Freiburg
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions are met:
7  *
8  * * Redistributions of source code must retain the above copyright notice, this
9  * list of conditions and the following disclaimer.
10  * * Redistributions in binary form must reproduce the above copyright notice,
11  * this list of conditions and the following disclaimer in the documentation
12  * and/or other materials provided with the distribution.
13  * * Neither the name of the University of Freiburg nor the names
14  * of its contributors may be used to endorse or promote products derived from
15  * this software without specific prior written permission.
16  *
17  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27  */
28 
29 #include <QMainWindow>
30 #include "ui_MainWindow.h"
32 #include <QAbstractItemModel>
34 
35 class MainWindow : public QMainWindow, protected Ui::mainWindow
36 {
37  Q_OBJECT
38 
39  public:
40  MainWindow(XmlRpc::XmlRpcValue & initParams, const std::string & paramRoot, ros::NodeHandle* nh);
41 
42  void setModel(QAbstractItemModel * model);
43 
44  protected Q_SLOTS:
47 
48  protected:
50  std::string _paramRoot;
52 
54 
56 };
57 
XmlRpc::XmlRpcValue _xmlrpc
Definition: MainWindow.h:49
std::string _paramRoot
Definition: MainWindow.h:50
XmlRpcItemDelegate * _delegate
Definition: MainWindow.h:53
MainWindow(XmlRpc::XmlRpcValue &initParams, const std::string &paramRoot, ros::NodeHandle *nh)
Definition: MainWindow.cpp:33
XmlRpcModel * _model
Definition: MainWindow.h:55
void on_actionReload_triggered()
Definition: MainWindow.cpp:53
QAbstractItemModel for XmlRpcValues.
Definition: xmlRpcModel.h:43
void setModel(QAbstractItemModel *model)
Definition: MainWindow.cpp:47
ros::NodeHandle * _nh
Definition: MainWindow.h:51
void on_actionSettings_triggered()
Definition: MainWindow.cpp:73


qt_paramedit
Author(s): Christian Dornhege
autogenerated on Mon Feb 28 2022 23:37:51