GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: src/gepetto-viewer_autogen/include/ui_mainwindow.h Lines: 0 252 0.0 %
Date: 2020-05-14 11:23:33 Branches: 0 800 0.0 %

Line Branch Exec Source
1
/********************************************************************************
2
** Form generated from reading UI file 'mainwindow.ui'
3
**
4
** Created by: Qt User Interface Compiler version 4.8.7
5
**
6
** WARNING! All changes made in this file will be lost when recompiling UI file!
7
********************************************************************************/
8
9
#ifndef UI_MAINWINDOW_H
10
#define UI_MAINWINDOW_H
11
12
#include <QtCore/QVariant>
13
#include <QtGui/QAction>
14
#include <QtGui/QApplication>
15
#include <QtGui/QButtonGroup>
16
#include <QtGui/QDockWidget>
17
#include <QtGui/QHBoxLayout>
18
#include <QtGui/QHeaderView>
19
#include <QtGui/QMainWindow>
20
#include <QtGui/QMenu>
21
#include <QtGui/QMenuBar>
22
#include <QtGui/QPushButton>
23
#include <QtGui/QScrollArea>
24
#include <QtGui/QSpacerItem>
25
#include <QtGui/QSplitter>
26
#include <QtGui/QStatusBar>
27
#include <QtGui/QTextEdit>
28
#include <QtGui/QToolBar>
29
#include <QtGui/QTreeView>
30
#include <QtGui/QVBoxLayout>
31
#include <QtGui/QWidget>
32
#include "gepetto/gui/bodytreewidget.hh"
33
34
QT_BEGIN_NAMESPACE
35
36
class Ui_MainWindow
37
{
38
public:
39
    QAction *actionCreate_view;
40
    QAction *actionLoad_robot_from_file;
41
    QAction *actionQuit;
42
    QAction *actionLoad_environment;
43
    QAction *actionPlugins;
44
    QAction *actionRefresh;
45
    QAction *actionAbout;
46
    QAction *actionReconnect;
47
    QAction *actionFetch_configuration;
48
    QAction *actionSend_configuration;
49
    QAction *actionChange_shortcut;
50
    QAction *actionClose_connections;
51
    QWidget *centralWidget;
52
    QMenuBar *menuBar;
53
    QMenu *menuFile;
54
    QMenu *menuWindow;
55
    QMenu *menuTools;
56
    QMenu *menuHelp;
57
    QToolBar *mainToolBar;
58
    QStatusBar *statusBar;
59
    QDockWidget *dockWidget_bodyTree;
60
    gepetto::gui::BodyTreeWidget *bodyTreeContent;
61
    QVBoxLayout *verticalLayout;
62
    QSplitter *splitter;
63
    QTreeView *bodyTree;
64
    QScrollArea *scrollArea;
65
    QWidget *propertyArea;
66
    QDockWidget *dockWidget_log;
67
    QWidget *dockWidgetContents_4;
68
    QVBoxLayout *verticalLayout_3;
69
    QTextEdit *logText;
70
    QHBoxLayout *horizontalLayout_2;
71
    QSpacerItem *horizontalSpacer;
72
    QPushButton *clearLogs;
73
74
    void setupUi(QMainWindow *MainWindow)
75
    {
76
        if (MainWindow->objectName().isEmpty())
77
            MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
78
        MainWindow->resize(754, 728);
79
        QIcon icon;
80
        QString iconThemeName = QString::fromUtf8("hpp-gui");
81
        if (QIcon::hasThemeIcon(iconThemeName)) {
82
            icon = QIcon::fromTheme(iconThemeName);
83
        } else {
84
            icon.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
85
        }
86
        MainWindow->setWindowIcon(icon);
87
        MainWindow->setAutoFillBackground(false);
88
        actionCreate_view = new QAction(MainWindow);
89
        actionCreate_view->setObjectName(QString::fromUtf8("actionCreate_view"));
90
        QIcon icon1;
91
        iconThemeName = QString::fromUtf8("window-new");
92
        if (QIcon::hasThemeIcon(iconThemeName)) {
93
            icon1 = QIcon::fromTheme(iconThemeName);
94
        } else {
95
            icon1.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
96
        }
97
        actionCreate_view->setIcon(icon1);
98
        actionLoad_robot_from_file = new QAction(MainWindow);
99
        actionLoad_robot_from_file->setObjectName(QString::fromUtf8("actionLoad_robot_from_file"));
100
        QIcon icon2;
101
        iconThemeName = QString::fromUtf8("list-add");
102
        if (QIcon::hasThemeIcon(iconThemeName)) {
103
            icon2 = QIcon::fromTheme(iconThemeName);
104
        } else {
105
            icon2.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
106
        }
107
        actionLoad_robot_from_file->setIcon(icon2);
108
        actionQuit = new QAction(MainWindow);
109
        actionQuit->setObjectName(QString::fromUtf8("actionQuit"));
110
        QIcon icon3;
111
        iconThemeName = QString::fromUtf8("window-close");
112
        if (QIcon::hasThemeIcon(iconThemeName)) {
113
            icon3 = QIcon::fromTheme(iconThemeName);
114
        } else {
115
            icon3.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
116
        }
117
        actionQuit->setIcon(icon3);
118
        actionLoad_environment = new QAction(MainWindow);
119
        actionLoad_environment->setObjectName(QString::fromUtf8("actionLoad_environment"));
120
        actionLoad_environment->setIcon(icon2);
121
        actionPlugins = new QAction(MainWindow);
122
        actionPlugins->setObjectName(QString::fromUtf8("actionPlugins"));
123
        QIcon icon4;
124
        iconThemeName = QString::fromUtf8("preferences-plugin");
125
        if (QIcon::hasThemeIcon(iconThemeName)) {
126
            icon4 = QIcon::fromTheme(iconThemeName);
127
        } else {
128
            icon4.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
129
        }
130
        actionPlugins->setIcon(icon4);
131
        actionRefresh = new QAction(MainWindow);
132
        actionRefresh->setObjectName(QString::fromUtf8("actionRefresh"));
133
        QIcon icon5;
134
        iconThemeName = QString::fromUtf8("view-refresh");
135
        if (QIcon::hasThemeIcon(iconThemeName)) {
136
            icon5 = QIcon::fromTheme(iconThemeName);
137
        } else {
138
            icon5.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
139
        }
140
        actionRefresh->setIcon(icon5);
141
        actionAbout = new QAction(MainWindow);
142
        actionAbout->setObjectName(QString::fromUtf8("actionAbout"));
143
        actionReconnect = new QAction(MainWindow);
144
        actionReconnect->setObjectName(QString::fromUtf8("actionReconnect"));
145
        QIcon icon6;
146
        iconThemeName = QString::fromUtf8("network-connect");
147
        if (QIcon::hasThemeIcon(iconThemeName)) {
148
            icon6 = QIcon::fromTheme(iconThemeName);
149
        } else {
150
            icon6.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
151
        }
152
        actionReconnect->setIcon(icon6);
153
        actionFetch_configuration = new QAction(MainWindow);
154
        actionFetch_configuration->setObjectName(QString::fromUtf8("actionFetch_configuration"));
155
        QIcon icon7;
156
        iconThemeName = QString::fromUtf8("mail-receive");
157
        if (QIcon::hasThemeIcon(iconThemeName)) {
158
            icon7 = QIcon::fromTheme(iconThemeName);
159
        } else {
160
            icon7.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
161
        }
162
        actionFetch_configuration->setIcon(icon7);
163
        actionSend_configuration = new QAction(MainWindow);
164
        actionSend_configuration->setObjectName(QString::fromUtf8("actionSend_configuration"));
165
        QIcon icon8;
166
        iconThemeName = QString::fromUtf8("mail-send");
167
        if (QIcon::hasThemeIcon(iconThemeName)) {
168
            icon8 = QIcon::fromTheme(iconThemeName);
169
        } else {
170
            icon8.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
171
        }
172
        actionSend_configuration->setIcon(icon8);
173
        actionChange_shortcut = new QAction(MainWindow);
174
        actionChange_shortcut->setObjectName(QString::fromUtf8("actionChange_shortcut"));
175
        actionClose_connections = new QAction(MainWindow);
176
        actionClose_connections->setObjectName(QString::fromUtf8("actionClose_connections"));
177
        QIcon icon9;
178
        iconThemeName = QString::fromUtf8("network-disconnect");
179
        if (QIcon::hasThemeIcon(iconThemeName)) {
180
            icon9 = QIcon::fromTheme(iconThemeName);
181
        } else {
182
            icon9.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
183
        }
184
        actionClose_connections->setIcon(icon9);
185
        centralWidget = new QWidget(MainWindow);
186
        centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
187
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
188
        sizePolicy.setHorizontalStretch(0);
189
        sizePolicy.setVerticalStretch(0);
190
        sizePolicy.setHeightForWidth(centralWidget->sizePolicy().hasHeightForWidth());
191
        centralWidget->setSizePolicy(sizePolicy);
192
        centralWidget->setContextMenuPolicy(Qt::NoContextMenu);
193
        centralWidget->setAutoFillBackground(false);
194
        centralWidget->setStyleSheet(QString::fromUtf8("image: url(:/img/gepetto.png);"));
195
        MainWindow->setCentralWidget(centralWidget);
196
        menuBar = new QMenuBar(MainWindow);
197
        menuBar->setObjectName(QString::fromUtf8("menuBar"));
198
        menuBar->setGeometry(QRect(0, 0, 754, 27));
199
        menuFile = new QMenu(menuBar);
200
        menuFile->setObjectName(QString::fromUtf8("menuFile"));
201
        menuWindow = new QMenu(menuBar);
202
        menuWindow->setObjectName(QString::fromUtf8("menuWindow"));
203
        menuTools = new QMenu(menuBar);
204
        menuTools->setObjectName(QString::fromUtf8("menuTools"));
205
        menuHelp = new QMenu(menuBar);
206
        menuHelp->setObjectName(QString::fromUtf8("menuHelp"));
207
        MainWindow->setMenuBar(menuBar);
208
        mainToolBar = new QToolBar(MainWindow);
209
        mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
210
        mainToolBar->setIconSize(QSize(12, 12));
211
        MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
212
        statusBar = new QStatusBar(MainWindow);
213
        statusBar->setObjectName(QString::fromUtf8("statusBar"));
214
        MainWindow->setStatusBar(statusBar);
215
        dockWidget_bodyTree = new QDockWidget(MainWindow);
216
        dockWidget_bodyTree->setObjectName(QString::fromUtf8("dockWidget_bodyTree"));
217
        QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Preferred);
218
        sizePolicy1.setHorizontalStretch(0);
219
        sizePolicy1.setVerticalStretch(0);
220
        sizePolicy1.setHeightForWidth(dockWidget_bodyTree->sizePolicy().hasHeightForWidth());
221
        dockWidget_bodyTree->setSizePolicy(sizePolicy1);
222
        dockWidget_bodyTree->setContextMenuPolicy(Qt::DefaultContextMenu);
223
        dockWidget_bodyTree->setAllowedAreas(Qt::LeftDockWidgetArea|Qt::RightDockWidgetArea);
224
        bodyTreeContent = new gepetto::gui::BodyTreeWidget();
225
        bodyTreeContent->setObjectName(QString::fromUtf8("bodyTreeContent"));
226
        verticalLayout = new QVBoxLayout(bodyTreeContent);
227
        verticalLayout->setSpacing(6);
228
        verticalLayout->setContentsMargins(11, 11, 11, 11);
229
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
230
        splitter = new QSplitter(bodyTreeContent);
231
        splitter->setObjectName(QString::fromUtf8("splitter"));
232
        splitter->setOrientation(Qt::Vertical);
233
        bodyTree = new QTreeView(splitter);
234
        bodyTree->setObjectName(QString::fromUtf8("bodyTree"));
235
        bodyTree->setContextMenuPolicy(Qt::CustomContextMenu);
236
        bodyTree->setHeaderHidden(true);
237
        splitter->addWidget(bodyTree);
238
        scrollArea = new QScrollArea(splitter);
239
        scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
240
        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Minimum);
241
        sizePolicy2.setHorizontalStretch(0);
242
        sizePolicy2.setVerticalStretch(0);
243
        sizePolicy2.setHeightForWidth(scrollArea->sizePolicy().hasHeightForWidth());
244
        scrollArea->setSizePolicy(sizePolicy2);
245
        scrollArea->setWidgetResizable(true);
246
        propertyArea = new QWidget();
247
        propertyArea->setObjectName(QString::fromUtf8("propertyArea"));
248
        propertyArea->setGeometry(QRect(0, 0, 252, 133));
249
        scrollArea->setWidget(propertyArea);
250
        splitter->addWidget(scrollArea);
251
252
        verticalLayout->addWidget(splitter);
253
254
        dockWidget_bodyTree->setWidget(bodyTreeContent);
255
        MainWindow->addDockWidget(static_cast<Qt::DockWidgetArea>(1), dockWidget_bodyTree);
256
        dockWidget_log = new QDockWidget(MainWindow);
257
        dockWidget_log->setObjectName(QString::fromUtf8("dockWidget_log"));
258
        sizePolicy1.setHeightForWidth(dockWidget_log->sizePolicy().hasHeightForWidth());
259
        dockWidget_log->setSizePolicy(sizePolicy1);
260
        QIcon icon10;
261
        iconThemeName = QString::fromUtf8("dialog-information");
262
        if (QIcon::hasThemeIcon(iconThemeName)) {
263
            icon10 = QIcon::fromTheme(iconThemeName);
264
        } else {
265
            icon10.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
266
        }
267
        dockWidget_log->setWindowIcon(icon10);
268
        dockWidgetContents_4 = new QWidget();
269
        dockWidgetContents_4->setObjectName(QString::fromUtf8("dockWidgetContents_4"));
270
        verticalLayout_3 = new QVBoxLayout(dockWidgetContents_4);
271
        verticalLayout_3->setSpacing(6);
272
        verticalLayout_3->setContentsMargins(11, 11, 11, 11);
273
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
274
        verticalLayout_3->setContentsMargins(0, 0, 0, 0);
275
        logText = new QTextEdit(dockWidgetContents_4);
276
        logText->setObjectName(QString::fromUtf8("logText"));
277
        logText->setReadOnly(true);
278
279
        verticalLayout_3->addWidget(logText);
280
281
        horizontalLayout_2 = new QHBoxLayout();
282
        horizontalLayout_2->setSpacing(6);
283
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
284
        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
285
286
        horizontalLayout_2->addItem(horizontalSpacer);
287
288
        clearLogs = new QPushButton(dockWidgetContents_4);
289
        clearLogs->setObjectName(QString::fromUtf8("clearLogs"));
290
291
        horizontalLayout_2->addWidget(clearLogs);
292
293
294
        verticalLayout_3->addLayout(horizontalLayout_2);
295
296
        dockWidget_log->setWidget(dockWidgetContents_4);
297
        MainWindow->addDockWidget(static_cast<Qt::DockWidgetArea>(1), dockWidget_log);
298
299
        menuBar->addAction(menuFile->menuAction());
300
        menuBar->addAction(menuTools->menuAction());
301
        menuBar->addAction(menuWindow->menuAction());
302
        menuBar->addAction(menuHelp->menuAction());
303
        menuFile->addAction(actionCreate_view);
304
        menuFile->addAction(actionLoad_robot_from_file);
305
        menuFile->addAction(actionLoad_environment);
306
        menuFile->addSeparator();
307
        menuFile->addAction(actionChange_shortcut);
308
        menuFile->addAction(actionQuit);
309
        menuTools->addAction(actionRefresh);
310
        menuTools->addAction(actionPlugins);
311
        menuTools->addSeparator();
312
        menuTools->addAction(actionClose_connections);
313
        menuTools->addAction(actionReconnect);
314
        menuHelp->addAction(actionAbout);
315
        mainToolBar->addAction(actionPlugins);
316
        mainToolBar->addAction(actionClose_connections);
317
        mainToolBar->addAction(actionReconnect);
318
        mainToolBar->addAction(actionRefresh);
319
        mainToolBar->addAction(actionFetch_configuration);
320
        mainToolBar->addAction(actionSend_configuration);
321
322
        retranslateUi(MainWindow);
323
        QObject::connect(actionCreate_view, SIGNAL(triggered()), MainWindow, SLOT(createDefaultView()));
324
        QObject::connect(actionLoad_robot_from_file, SIGNAL(triggered()), MainWindow, SLOT(openLoadRobotDialog()));
325
        QObject::connect(actionQuit, SIGNAL(triggered()), MainWindow, SLOT(close()));
326
        QObject::connect(actionLoad_environment, SIGNAL(triggered()), MainWindow, SLOT(openLoadEnvironmentDialog()));
327
        QObject::connect(actionPlugins, SIGNAL(triggered()), MainWindow, SLOT(onOpenPluginManager()));
328
        QObject::connect(clearLogs, SIGNAL(clicked(bool)), logText, SLOT(clear()));
329
330
        QMetaObject::connectSlotsByName(MainWindow);
331
    } // setupUi
332
333
    void retranslateUi(QMainWindow *MainWindow)
334
    {
335
        MainWindow->setWindowTitle(QApplication::translate("MainWindow", "Gepetto GUI", 0, QApplication::UnicodeUTF8));
336
        actionCreate_view->setText(QApplication::translate("MainWindow", "Create &view", 0, QApplication::UnicodeUTF8));
337
        actionLoad_robot_from_file->setText(QApplication::translate("MainWindow", "Load &robot from file", 0, QApplication::UnicodeUTF8));
338
        actionLoad_robot_from_file->setShortcut(QApplication::translate("MainWindow", "Ctrl+R", 0, QApplication::UnicodeUTF8));
339
        actionQuit->setText(QApplication::translate("MainWindow", "&Quit", 0, QApplication::UnicodeUTF8));
340
        actionQuit->setShortcut(QApplication::translate("MainWindow", "Ctrl+Q", 0, QApplication::UnicodeUTF8));
341
        actionLoad_environment->setText(QApplication::translate("MainWindow", "Load &environment", 0, QApplication::UnicodeUTF8));
342
        actionLoad_environment->setShortcut(QApplication::translate("MainWindow", "Ctrl+E", 0, QApplication::UnicodeUTF8));
343
        actionPlugins->setText(QApplication::translate("MainWindow", "&Plugins", 0, QApplication::UnicodeUTF8));
344
        actionPlugins->setShortcut(QApplication::translate("MainWindow", "Ctrl+P", 0, QApplication::UnicodeUTF8));
345
        actionRefresh->setText(QApplication::translate("MainWindow", "Refresh", 0, QApplication::UnicodeUTF8));
346
#ifndef QT_NO_TOOLTIP
347
        actionRefresh->setToolTip(QApplication::translate("MainWindow", "Refresh the interface (required if you are also using the python interface)", 0, QApplication::UnicodeUTF8));
348
#endif // QT_NO_TOOLTIP
349
        actionRefresh->setShortcut(QApplication::translate("MainWindow", "F5", 0, QApplication::UnicodeUTF8));
350
        actionAbout->setText(QApplication::translate("MainWindow", "&About...", 0, QApplication::UnicodeUTF8));
351
        actionReconnect->setText(QApplication::translate("MainWindow", "Reset connections", 0, QApplication::UnicodeUTF8));
352
        actionReconnect->setShortcut(QApplication::translate("MainWindow", "Shift+F5", 0, QApplication::UnicodeUTF8));
353
        actionFetch_configuration->setText(QApplication::translate("MainWindow", "Fetch configuration", 0, QApplication::UnicodeUTF8));
354
        actionSend_configuration->setText(QApplication::translate("MainWindow", "Send configuration", 0, QApplication::UnicodeUTF8));
355
        actionChange_shortcut->setText(QApplication::translate("MainWindow", "Change &shortcut", 0, QApplication::UnicodeUTF8));
356
        actionClose_connections->setText(QApplication::translate("MainWindow", "Close connections", 0, QApplication::UnicodeUTF8));
357
        menuFile->setTitle(QApplication::translate("MainWindow", "&File", 0, QApplication::UnicodeUTF8));
358
        menuWindow->setTitle(QApplication::translate("MainWindow", "&Window", 0, QApplication::UnicodeUTF8));
359
        menuTools->setTitle(QApplication::translate("MainWindow", "&Tools", 0, QApplication::UnicodeUTF8));
360
        menuHelp->setTitle(QApplication::translate("MainWindow", "&Help", 0, QApplication::UnicodeUTF8));
361
        mainToolBar->setWindowTitle(QApplication::translate("MainWindow", "Main", 0, QApplication::UnicodeUTF8));
362
        dockWidget_bodyTree->setWindowTitle(QApplication::translate("MainWindow", "&Body tree", 0, QApplication::UnicodeUTF8));
363
        dockWidget_log->setWindowTitle(QApplication::translate("MainWindow", "&Log", 0, QApplication::UnicodeUTF8));
364
        clearLogs->setText(QApplication::translate("MainWindow", "Clear logs", 0, QApplication::UnicodeUTF8));
365
    } // retranslateUi
366
367
};
368
369
namespace Ui {
370
    class MainWindow: public Ui_MainWindow {};
371
} // namespace Ui
372
373
QT_END_NAMESPACE
374
375
#endif // UI_MAINWINDOW_H