| Line |
Branch |
Exec |
Source |
| 1 |
|
|
/******************************************************************************** |
| 2 |
|
|
** Form generated from reading UI file 'configurationlistwidget.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_CONFIGURATIONLISTWIDGET_H |
| 10 |
|
|
#define UI_CONFIGURATIONLISTWIDGET_H |
| 11 |
|
|
|
| 12 |
|
|
#include <QtCore/QVariant> |
| 13 |
|
|
#include <QtGui/QIcon> |
| 14 |
|
|
#include <QtWidgets/QApplication> |
| 15 |
|
|
#include <QtWidgets/QHBoxLayout> |
| 16 |
|
|
#include <QtWidgets/QLabel> |
| 17 |
|
|
#include <QtWidgets/QLineEdit> |
| 18 |
|
|
#include <QtWidgets/QPushButton> |
| 19 |
|
|
#include <QtWidgets/QVBoxLayout> |
| 20 |
|
|
#include <QtWidgets/QWidget> |
| 21 |
|
|
#include "configurationlist.hh" |
| 22 |
|
|
|
| 23 |
|
|
QT_BEGIN_NAMESPACE |
| 24 |
|
|
|
| 25 |
|
|
class Ui_ConfigurationListWidget |
| 26 |
|
|
{ |
| 27 |
|
|
public: |
| 28 |
|
|
QVBoxLayout *verticalLayout; |
| 29 |
|
|
QHBoxLayout *horizontalLayout; |
| 30 |
|
|
QLineEdit *lineEdit_configName; |
| 31 |
|
|
QPushButton *button_SaveConfig; |
| 32 |
|
|
QVBoxLayout *verticalLayout_2; |
| 33 |
|
|
QLabel *label; |
| 34 |
|
|
hpp::gui::ConfigurationList *listConfigurations; |
| 35 |
|
|
QLabel *label_2; |
| 36 |
|
|
hpp::gui::ConfigurationList *listInit; |
| 37 |
|
|
QLabel *label_3; |
| 38 |
|
|
hpp::gui::ConfigurationList *listGoals; |
| 39 |
|
|
QHBoxLayout *horizontalLayout_2; |
| 40 |
|
|
QPushButton *button_ResetGoalConfig; |
| 41 |
|
|
|
| 42 |
|
✗ |
void setupUi(QWidget *ConfigurationListWidget) |
| 43 |
|
|
{ |
| 44 |
|
✗ |
if (ConfigurationListWidget->objectName().isEmpty()) |
| 45 |
|
✗ |
ConfigurationListWidget->setObjectName(QString::fromUtf8("ConfigurationListWidget")); |
| 46 |
|
✗ |
ConfigurationListWidget->resize(400, 601); |
| 47 |
|
✗ |
verticalLayout = new QVBoxLayout(ConfigurationListWidget); |
| 48 |
|
✗ |
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); |
| 49 |
|
✗ |
horizontalLayout = new QHBoxLayout(); |
| 50 |
|
✗ |
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); |
| 51 |
|
✗ |
lineEdit_configName = new QLineEdit(ConfigurationListWidget); |
| 52 |
|
✗ |
lineEdit_configName->setObjectName(QString::fromUtf8("lineEdit_configName")); |
| 53 |
|
|
|
| 54 |
|
✗ |
horizontalLayout->addWidget(lineEdit_configName); |
| 55 |
|
|
|
| 56 |
|
✗ |
button_SaveConfig = new QPushButton(ConfigurationListWidget); |
| 57 |
|
✗ |
button_SaveConfig->setObjectName(QString::fromUtf8("button_SaveConfig")); |
| 58 |
|
✗ |
QIcon icon; |
| 59 |
|
✗ |
QString iconThemeName = QString::fromUtf8("list-add"); |
| 60 |
|
✗ |
if (QIcon::hasThemeIcon(iconThemeName)) { |
| 61 |
|
✗ |
icon = QIcon::fromTheme(iconThemeName); |
| 62 |
|
|
} else { |
| 63 |
|
✗ |
icon.addFile(QString::fromUtf8("../../include/hpp/gui/ui"), QSize(), QIcon::Normal, QIcon::Off); |
| 64 |
|
|
} |
| 65 |
|
✗ |
button_SaveConfig->setIcon(icon); |
| 66 |
|
✗ |
button_SaveConfig->setIconSize(QSize(16, 16)); |
| 67 |
|
|
|
| 68 |
|
✗ |
horizontalLayout->addWidget(button_SaveConfig); |
| 69 |
|
|
|
| 70 |
|
|
|
| 71 |
|
✗ |
verticalLayout->addLayout(horizontalLayout); |
| 72 |
|
|
|
| 73 |
|
✗ |
verticalLayout_2 = new QVBoxLayout(); |
| 74 |
|
✗ |
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); |
| 75 |
|
✗ |
label = new QLabel(ConfigurationListWidget); |
| 76 |
|
✗ |
label->setObjectName(QString::fromUtf8("label")); |
| 77 |
|
|
|
| 78 |
|
✗ |
verticalLayout_2->addWidget(label); |
| 79 |
|
|
|
| 80 |
|
✗ |
listConfigurations = new hpp::gui::ConfigurationList(ConfigurationListWidget); |
| 81 |
|
✗ |
listConfigurations->setObjectName(QString::fromUtf8("listConfigurations")); |
| 82 |
|
✗ |
listConfigurations->setDragEnabled(true); |
| 83 |
|
✗ |
listConfigurations->setDragDropMode(QAbstractItemView::DragDrop); |
| 84 |
|
✗ |
listConfigurations->setSelectionMode(QAbstractItemView::ExtendedSelection); |
| 85 |
|
✗ |
listConfigurations->setLayoutMode(QListView::SinglePass); |
| 86 |
|
✗ |
listConfigurations->setUniformItemSizes(false); |
| 87 |
|
✗ |
listConfigurations->setBatchSize(100); |
| 88 |
|
|
|
| 89 |
|
✗ |
verticalLayout_2->addWidget(listConfigurations); |
| 90 |
|
|
|
| 91 |
|
✗ |
label_2 = new QLabel(ConfigurationListWidget); |
| 92 |
|
✗ |
label_2->setObjectName(QString::fromUtf8("label_2")); |
| 93 |
|
|
|
| 94 |
|
✗ |
verticalLayout_2->addWidget(label_2); |
| 95 |
|
|
|
| 96 |
|
✗ |
listInit = new hpp::gui::ConfigurationList(ConfigurationListWidget); |
| 97 |
|
✗ |
listInit->setObjectName(QString::fromUtf8("listInit")); |
| 98 |
|
✗ |
QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); |
| 99 |
|
✗ |
sizePolicy.setHorizontalStretch(0); |
| 100 |
|
✗ |
sizePolicy.setVerticalStretch(0); |
| 101 |
|
✗ |
sizePolicy.setHeightForWidth(listInit->sizePolicy().hasHeightForWidth()); |
| 102 |
|
✗ |
listInit->setSizePolicy(sizePolicy); |
| 103 |
|
✗ |
listInit->setMinimumSize(QSize(0, 0)); |
| 104 |
|
✗ |
listInit->setMaximumSize(QSize(16777215, 16777215)); |
| 105 |
|
✗ |
listInit->setBaseSize(QSize(0, 0)); |
| 106 |
|
✗ |
listInit->setDragEnabled(true); |
| 107 |
|
✗ |
listInit->setDragDropMode(QAbstractItemView::DragDrop); |
| 108 |
|
✗ |
listInit->setResizeMode(QListView::Fixed); |
| 109 |
|
|
|
| 110 |
|
✗ |
verticalLayout_2->addWidget(listInit); |
| 111 |
|
|
|
| 112 |
|
✗ |
label_3 = new QLabel(ConfigurationListWidget); |
| 113 |
|
✗ |
label_3->setObjectName(QString::fromUtf8("label_3")); |
| 114 |
|
|
|
| 115 |
|
✗ |
verticalLayout_2->addWidget(label_3); |
| 116 |
|
|
|
| 117 |
|
✗ |
listGoals = new hpp::gui::ConfigurationList(ConfigurationListWidget); |
| 118 |
|
✗ |
listGoals->setObjectName(QString::fromUtf8("listGoals")); |
| 119 |
|
✗ |
sizePolicy.setHeightForWidth(listGoals->sizePolicy().hasHeightForWidth()); |
| 120 |
|
✗ |
listGoals->setSizePolicy(sizePolicy); |
| 121 |
|
✗ |
listGoals->setDragEnabled(true); |
| 122 |
|
✗ |
listGoals->setDragDropMode(QAbstractItemView::DragDrop); |
| 123 |
|
|
|
| 124 |
|
✗ |
verticalLayout_2->addWidget(listGoals); |
| 125 |
|
|
|
| 126 |
|
|
|
| 127 |
|
✗ |
verticalLayout->addLayout(verticalLayout_2); |
| 128 |
|
|
|
| 129 |
|
✗ |
horizontalLayout_2 = new QHBoxLayout(); |
| 130 |
|
✗ |
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); |
| 131 |
|
✗ |
button_ResetGoalConfig = new QPushButton(ConfigurationListWidget); |
| 132 |
|
✗ |
button_ResetGoalConfig->setObjectName(QString::fromUtf8("button_ResetGoalConfig")); |
| 133 |
|
|
|
| 134 |
|
✗ |
horizontalLayout_2->addWidget(button_ResetGoalConfig); |
| 135 |
|
|
|
| 136 |
|
|
|
| 137 |
|
✗ |
verticalLayout->addLayout(horizontalLayout_2); |
| 138 |
|
|
|
| 139 |
|
|
|
| 140 |
|
✗ |
retranslateUi(ConfigurationListWidget); |
| 141 |
|
|
|
| 142 |
|
✗ |
QMetaObject::connectSlotsByName(ConfigurationListWidget); |
| 143 |
|
✗ |
} // setupUi |
| 144 |
|
|
|
| 145 |
|
✗ |
void retranslateUi(QWidget *ConfigurationListWidget) |
| 146 |
|
|
{ |
| 147 |
|
✗ |
ConfigurationListWidget->setWindowTitle(QCoreApplication::translate("ConfigurationListWidget", "Form", nullptr)); |
| 148 |
|
✗ |
lineEdit_configName->setText(QCoreApplication::translate("ConfigurationListWidget", "config", nullptr)); |
| 149 |
|
✗ |
button_SaveConfig->setText(QCoreApplication::translate("ConfigurationListWidget", "&Save", nullptr)); |
| 150 |
|
✗ |
label->setText(QCoreApplication::translate("ConfigurationListWidget", "Configurations saved", nullptr)); |
| 151 |
|
✗ |
label_2->setText(QCoreApplication::translate("ConfigurationListWidget", "Initial configuration", nullptr)); |
| 152 |
|
✗ |
label_3->setText(QCoreApplication::translate("ConfigurationListWidget", "Goal configurations", nullptr)); |
| 153 |
|
✗ |
button_ResetGoalConfig->setText(QCoreApplication::translate("ConfigurationListWidget", "Reset goal", nullptr)); |
| 154 |
|
✗ |
} // retranslateUi |
| 155 |
|
|
|
| 156 |
|
|
}; |
| 157 |
|
|
|
| 158 |
|
|
namespace Ui { |
| 159 |
|
|
class ConfigurationListWidget: public Ui_ConfigurationListWidget {}; |
| 160 |
|
|
} // namespace Ui |
| 161 |
|
|
|
| 162 |
|
|
QT_END_NAMESPACE |
| 163 |
|
|
|
| 164 |
|
|
#endif // UI_CONFIGURATIONLISTWIDGET_H |
| 165 |
|
|
|