main.cpp
Go to the documentation of this file.
1 /*******************************************************************************
2 * Copyright 2018 ROBOTIS CO., LTD.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *******************************************************************************/
16 
17 /*****************************************************************************
18 ** Includes
19 *****************************************************************************/
20 
21 #include <QtGui>
22 #include <QApplication>
23 #include "../include/rh_p12_rn_gui/main_window.hpp"
24 
25 /*****************************************************************************
26 ** Main
27 *****************************************************************************/
28 
29 int main(int argc, char **argv) {
30 
31  /*********************
32  ** Qt
33  **********************/
34  QApplication app(argc, argv);
35  rh_p12_rn_gui::MainWindow w(argc,argv);
36  w.show();
37  app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
38  int result = app.exec();
39 
40  return result;
41 }
int main(int argc, char **argv)
Definition: main.cpp:29
Qt central, all operations relating to the view part here.
Definition: main_window.hpp:45


rh_p12_rn_gui
Author(s): Zerom
autogenerated on Mon Jun 10 2019 14:42:12