SkillDetailsTreeWidget Class Reference

#include <RobotAPI/libraries/skills_gui/skill_details/SkillDetailsTreeWidget.h>

+ Inheritance diagram for SkillDetailsTreeWidget:

Public Slots

void copyCurrentConfig ()
 
void copyShortcutToClipboard ()
 
void disconnectGui ()
 
void reloadLastExecutionParameters ()
 
void reloadLastParameters ()
 
void resetCurrentConfig ()
 
void resizeContents ()
 Problem: columns 0 and 1 have arbitrary size; so we want to limit their size, to make sure everything is visible without scrolling.
 
void updateGui (SkillManagerWrapper::Snapshot update)
 

Signals

void updated (const skills::SkillID shownSkill)
 

Public Member Functions

aron::data::DictPtr getConfigAsAron ()
 
std::optional< skills::SkillIDgetShownId ()
 
void pasteCurrentConfig ()
 
void resetWidget ()
 
 SkillDetailsTreeWidget (std::shared_ptr< SkillManagerWrapper > _memory, QWidget *parent=nullptr)
 
void updateContents (skills::SkillID const &skillId, skills::SkillDescription const &descr)
 

Additional Inherited Members

- Protected Member Functions inherited from MemoryCommunicatorBase
 MemoryCommunicatorBase (std::shared_ptr< SkillManagerWrapper > _memory)
 
- Protected Attributes inherited from MemoryCommunicatorBase
std::shared_ptr< SkillManagerWrappermemory
 

Detailed Description

Definition at line 16 of file SkillDetailsTreeWidget.h.

Constructor & Destructor Documentation

◆ SkillDetailsTreeWidget()

SkillDetailsTreeWidget ( std::shared_ptr< SkillManagerWrapper > _memory,
QWidget * parent = nullptr )

Definition at line 25 of file SkillDetailsTreeWidget.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ copyCurrentConfig

void copyCurrentConfig ( )
slot

Definition at line 314 of file SkillDetailsTreeWidget.cpp.

+ Here is the call graph for this function:

◆ copyShortcutToClipboard

void copyShortcutToClipboard ( )
slot

Definition at line 328 of file SkillDetailsTreeWidget.cpp.

+ Here is the call graph for this function:

◆ disconnectGui

void disconnectGui ( )
slot

Definition at line 91 of file SkillDetailsTreeWidget.cpp.

◆ getConfigAsAron()

aron::data::DictPtr getConfigAsAron ( )

Definition at line 303 of file SkillDetailsTreeWidget.cpp.

+ Here is the caller graph for this function:

◆ getShownId()

std::optional< SkillID > getShownId ( )

Definition at line 33 of file SkillDetailsTreeWidget.cpp.

+ Here is the caller graph for this function:

◆ pasteCurrentConfig()

void pasteCurrentConfig ( )

Definition at line 364 of file SkillDetailsTreeWidget.cpp.

+ Here is the call graph for this function:

◆ reloadLastExecutionParameters

void reloadLastExecutionParameters ( )
slot

Definition at line 257 of file SkillDetailsTreeWidget.cpp.

◆ reloadLastParameters

void reloadLastParameters ( )
slot

Definition at line 238 of file SkillDetailsTreeWidget.cpp.

◆ resetCurrentConfig

void resetCurrentConfig ( )
slot

Definition at line 381 of file SkillDetailsTreeWidget.cpp.

+ Here is the call graph for this function:

◆ resetWidget()

void resetWidget ( )

Definition at line 405 of file SkillDetailsTreeWidget.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resizeContents

void resizeContents ( )
slot

Problem: columns 0 and 1 have arbitrary size; so we want to limit their size, to make sure everything is visible without scrolling.

Column 2 is limited by design, as it only contains type information.

Definition at line 222 of file SkillDetailsTreeWidget.cpp.

+ Here is the caller graph for this function:

◆ updateContents()

void updateContents ( skills::SkillID const & skillId,
skills::SkillDescription const & descr )

Definition at line 46 of file SkillDetailsTreeWidget.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updated

void updated ( const skills::SkillID shownSkill)
signal
+ Here is the caller graph for this function:

◆ updateGui

void updateGui ( SkillManagerWrapper::Snapshot update)
slot

Definition at line 97 of file SkillDetailsTreeWidget.cpp.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: