| Line |
Branch |
Exec |
Source |
| 1 |
|
|
/******************************************************************************** |
| 2 |
|
|
** Form generated from reading UI file 'mainwindow.ui' |
| 3 |
|
|
** |
| 4 |
|
|
** Created by: Qt User Interface Compiler version 5.15.3 |
| 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/QIcon> |
| 14 |
|
|
#include <QtWidgets/QAction> |
| 15 |
|
|
#include <QtWidgets/QApplication> |
| 16 |
|
|
#include <QtWidgets/QDockWidget> |
| 17 |
|
|
#include <QtWidgets/QHBoxLayout> |
| 18 |
|
|
#include <QtWidgets/QHeaderView> |
| 19 |
|
|
#include <QtWidgets/QMainWindow> |
| 20 |
|
|
#include <QtWidgets/QMenu> |
| 21 |
|
|
#include <QtWidgets/QMenuBar> |
| 22 |
|
|
#include <QtWidgets/QPushButton> |
| 23 |
|
|
#include <QtWidgets/QScrollArea> |
| 24 |
|
|
#include <QtWidgets/QSpacerItem> |
| 25 |
|
|
#include <QtWidgets/QSplitter> |
| 26 |
|
|
#include <QtWidgets/QStatusBar> |
| 27 |
|
|
#include <QtWidgets/QTextEdit> |
| 28 |
|
|
#include <QtWidgets/QToolBar> |
| 29 |
|
|
#include <QtWidgets/QTreeView> |
| 30 |
|
|
#include <QtWidgets/QVBoxLayout> |
| 31 |
|
|
#include <QtWidgets/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(Qt::LeftDockWidgetArea, 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(Qt::LeftDockWidgetArea, 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(QCoreApplication::translate("MainWindow", "Gepetto GUI", nullptr)); |
| 336 |
|
✗ |
actionCreate_view->setText(QCoreApplication::translate("MainWindow", "Create &view", nullptr)); |
| 337 |
|
✗ |
actionLoad_robot_from_file->setText(QCoreApplication::translate("MainWindow", "Load &robot from file", nullptr)); |
| 338 |
|
|
#if QT_CONFIG(shortcut) |
| 339 |
|
✗ |
actionLoad_robot_from_file->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+R", nullptr)); |
| 340 |
|
|
#endif // QT_CONFIG(shortcut) |
| 341 |
|
✗ |
actionQuit->setText(QCoreApplication::translate("MainWindow", "&Quit", nullptr)); |
| 342 |
|
|
#if QT_CONFIG(shortcut) |
| 343 |
|
✗ |
actionQuit->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+Q", nullptr)); |
| 344 |
|
|
#endif // QT_CONFIG(shortcut) |
| 345 |
|
✗ |
actionLoad_environment->setText(QCoreApplication::translate("MainWindow", "Load &environment", nullptr)); |
| 346 |
|
|
#if QT_CONFIG(shortcut) |
| 347 |
|
✗ |
actionLoad_environment->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+E", nullptr)); |
| 348 |
|
|
#endif // QT_CONFIG(shortcut) |
| 349 |
|
✗ |
actionPlugins->setText(QCoreApplication::translate("MainWindow", "&Plugins", nullptr)); |
| 350 |
|
|
#if QT_CONFIG(shortcut) |
| 351 |
|
✗ |
actionPlugins->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+P", nullptr)); |
| 352 |
|
|
#endif // QT_CONFIG(shortcut) |
| 353 |
|
✗ |
actionRefresh->setText(QCoreApplication::translate("MainWindow", "Refresh", nullptr)); |
| 354 |
|
|
#if QT_CONFIG(tooltip) |
| 355 |
|
✗ |
actionRefresh->setToolTip(QCoreApplication::translate("MainWindow", "Refresh the interface (required if you are also using the python interface)", nullptr)); |
| 356 |
|
|
#endif // QT_CONFIG(tooltip) |
| 357 |
|
|
#if QT_CONFIG(shortcut) |
| 358 |
|
✗ |
actionRefresh->setShortcut(QCoreApplication::translate("MainWindow", "F5", nullptr)); |
| 359 |
|
|
#endif // QT_CONFIG(shortcut) |
| 360 |
|
✗ |
actionAbout->setText(QCoreApplication::translate("MainWindow", "&About...", nullptr)); |
| 361 |
|
✗ |
actionReconnect->setText(QCoreApplication::translate("MainWindow", "Reset connections", nullptr)); |
| 362 |
|
|
#if QT_CONFIG(shortcut) |
| 363 |
|
✗ |
actionReconnect->setShortcut(QCoreApplication::translate("MainWindow", "Shift+F5", nullptr)); |
| 364 |
|
|
#endif // QT_CONFIG(shortcut) |
| 365 |
|
✗ |
actionFetch_configuration->setText(QCoreApplication::translate("MainWindow", "Fetch configuration", nullptr)); |
| 366 |
|
✗ |
actionSend_configuration->setText(QCoreApplication::translate("MainWindow", "Send configuration", nullptr)); |
| 367 |
|
✗ |
actionChange_shortcut->setText(QCoreApplication::translate("MainWindow", "Change &shortcut", nullptr)); |
| 368 |
|
✗ |
actionClose_connections->setText(QCoreApplication::translate("MainWindow", "Close connections", nullptr)); |
| 369 |
|
✗ |
menuFile->setTitle(QCoreApplication::translate("MainWindow", "&File", nullptr)); |
| 370 |
|
✗ |
menuWindow->setTitle(QCoreApplication::translate("MainWindow", "&Window", nullptr)); |
| 371 |
|
✗ |
menuTools->setTitle(QCoreApplication::translate("MainWindow", "&Tools", nullptr)); |
| 372 |
|
✗ |
menuHelp->setTitle(QCoreApplication::translate("MainWindow", "&Help", nullptr)); |
| 373 |
|
✗ |
mainToolBar->setWindowTitle(QCoreApplication::translate("MainWindow", "Main", nullptr)); |
| 374 |
|
✗ |
dockWidget_bodyTree->setWindowTitle(QCoreApplication::translate("MainWindow", "&Body tree", nullptr)); |
| 375 |
|
✗ |
dockWidget_log->setWindowTitle(QCoreApplication::translate("MainWindow", "&Log", nullptr)); |
| 376 |
|
✗ |
clearLogs->setText(QCoreApplication::translate("MainWindow", "Clear logs", nullptr)); |
| 377 |
|
✗ |
} // retranslateUi |
| 378 |
|
|
|
| 379 |
|
|
}; |
| 380 |
|
|
|
| 381 |
|
|
namespace Ui { |
| 382 |
|
|
class MainWindow: public Ui_MainWindow {}; |
| 383 |
|
|
} // namespace Ui |
| 384 |
|
|
|
| 385 |
|
|
QT_END_NAMESPACE |
| 386 |
|
|
|
| 387 |
|
|
#endif // UI_MAINWINDOW_H |
| 388 |
|
|
|