Skip to content
Snippets Groups Projects

Skill-Gui Stability and QOL

Merged Peter Albrecht requested to merge feature/skill-gui-stability into master
3 unresolved threads
Files
5
@@ -20,6 +20,7 @@ namespace armarx::skills::gui
{
setArgsFromClipboard = new QPushButton();
copyArgsToClipboard = new QPushButton();
copySkillIdToClipboard = new QPushButton();
resetArgsToProfile = new QPushButton();
profileSelector = new QComboBox();
@@ -32,8 +33,7 @@ namespace armarx::skills::gui
topLayout->addWidget(setArgsFromClipboard);
topLayout->addWidget(copyArgsToClipboard);
// this is not good. We should probably use a QSpacerItem here...
topLayout->addWidget(new QLabel());
topLayout->addWidget(copySkillIdToClipboard);
topLayout->addWidget(resetArgsToProfile);
this->setLayout(mainLayout);
@@ -42,6 +42,8 @@ namespace armarx::skills::gui
setArgsFromClipboard->setText(QString::fromStdString(SET_ARGS_BUTTON_TEXT));
copyArgsToClipboard->setText(QString::fromStdString(COPY_ARGS_BUTTON_TEXT));
copyArgsToClipboard->setIcon(getIcon("edit-copy-4.svg"));
copySkillIdToClipboard->setText(QString::fromStdString(COPY_SKILL_BUTTON_TEXT));
copySkillIdToClipboard->setIcon(getIcon("edit-copy-4.svg"));
resetArgsToProfile->setText(QString::fromStdString(RESET_ARGS_BUTTON_TEXT));
resetArgsToProfile->setIcon(getIcon("refresh-black.svg"));
profileSelector->addItem(QString::fromStdString(DEFAULT_PROFILE_TEXT));
Loading