SkillDetailsTreeWidget Class Reference

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

+ Inheritance diagram for SkillDetailsTreeWidget:

Public Slots

void copyCurrentConfig ()
 
void copyCurrentSkillID ()
 
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. More...
 
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 15 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.

Member Function Documentation

◆ copyCurrentConfig

void copyCurrentConfig ( )
slot

Definition at line 296 of file SkillDetailsTreeWidget.cpp.

+ Here is the call graph for this function:

◆ copyCurrentSkillID

void copyCurrentSkillID ( )
slot

Definition at line 309 of file SkillDetailsTreeWidget.cpp.

◆ disconnectGui

void disconnectGui ( )
slot

Definition at line 91 of file SkillDetailsTreeWidget.cpp.

◆ getConfigAsAron()

aron::data::DictPtr getConfigAsAron ( )

Definition at line 285 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.

◆ pasteCurrentConfig()

void pasteCurrentConfig ( )

Definition at line 321 of file SkillDetailsTreeWidget.cpp.

+ Here is the call graph for this function:

◆ reloadLastExecutionParameters

void reloadLastExecutionParameters ( )
slot

Definition at line 241 of file SkillDetailsTreeWidget.cpp.

◆ reloadLastParameters

void reloadLastParameters ( )
slot

Definition at line 223 of file SkillDetailsTreeWidget.cpp.

◆ resetCurrentConfig

void resetCurrentConfig ( )
slot

Definition at line 338 of file SkillDetailsTreeWidget.cpp.

+ Here is the call graph for this function:

◆ resetWidget()

void resetWidget ( )

Definition at line 362 of file SkillDetailsTreeWidget.cpp.

+ 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 208 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: