main.cpp
Go to the documentation of this file.
1 #include "rosbag_editor.h"
2 #include <QApplication>
3 #include <QCommandLineParser>
4 #include <QSettings>
5 
6 int main(int argc, char *argv[])
7 {
8  QApplication app(argc, argv);
9 
10  app.setOrganizationName("IcarusTechnology");
11  app.setApplicationName("RosbagEditor");
12 
13  QCommandLineParser parser;
14  parser.setApplicationDescription("RosbagEditor: because command line sucks");
15  parser.addVersionOption();
16  parser.addHelpOption();
17 
18  QCommandLineOption loadfile_option(QStringList() << "f" << "filename",
19  "Load the rosbag",
20  "file" );
21  parser.addOption(loadfile_option);
22  parser.process( *qApp );
23 
24  RosbagEditor main_win;
25  main_win.show();
26  return app.exec();
27 }
app
parser
int main(int argc, char *argv[])
Definition: main.cpp:6


rosbag_editor
Author(s):
autogenerated on Fri Jan 22 2021 03:48:10