101 return "Skills.Dashboard";
113 Ui::SkillDashboardWidget
ui;
122 void openConfigWindow(
const std::string& name =
"",
123 const std::string&
id =
"",
124 const std::string& args =
"");
126 void editShortcut(
const std::string& name);
127 void deleteShortcut(
const std::string& name);
128 void executeSkill(
const std::string& name);
129 void exportButtons();
130 void activateButton(
const std::string& name, skills::core::dto::Execution::Status
status);
131 void onShortcutNameChanged();
132 void editMode(
bool edit);
133 void enableBlockedButtons();
134 void importButtons();
135 void addFromClipboard();
137 void saveShortcutOrder();
142 QVBoxLayout* shortcutLayout;
143 const std::string DEFAULT_SETTINGS_PLUGIN_NAME;
144 const std::string DEFAULT_SETTINGS_CUSTOM_TEXT;
145 QPointer<armarx::SimpleConfigDialog> m_config_dialog;
146 std::string skillDashboardProxyName;
147 std::string skillManagerOberserverName =
"SkillManager";
148 SkillDashboardInterfacePrx dashboardPrx;
149 void clearLayout(QLayout* layout);
150 armarx::skills::manager::dti::SkillManagerInterfacePrx managerPrx;
151 std::thread exampleTask;
152 void exampleThreadMethod();
153 void updateShortcutListHeight();
154 std::atomic_bool connected =
false;
155 std::map<std::string, EllipsisPushButton*> shortcutButtons;
156 std::map<std::string, QToolButton*> deleteButtons;
157 std::map<std::string, QToolButton*> configButtons;
158 std::map<std::string, skills::manager::dto::SkillExecutionID> runningSkills;
160 std::string currentShortcutName;
161 QAction* editModeAction;
162 QToolButton* recoverButtons;
163 QPointer<QToolBar> customToolbar;
165 bool editModeSetting;