SkillDetailsTreeWidget Class Reference

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

+ Inheritance diagram for SkillDetailsTreeWidget:

Public Slots

void disconnectGui ()
 
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 ()
 

Public Member Functions

void copyCurrentConfig ()
 
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 12 of file SkillDetailsTreeWidget.h.

Constructor & Destructor Documentation

◆ SkillDetailsTreeWidget()

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

Definition at line 13 of file SkillDetailsTreeWidget.cpp.

Member Function Documentation

◆ copyCurrentConfig()

void copyCurrentConfig ( )

Definition at line 157 of file SkillDetailsTreeWidget.cpp.

+ Here is the call graph for this function:

◆ disconnectGui

void disconnectGui ( )
slot

Definition at line 77 of file SkillDetailsTreeWidget.cpp.

◆ getConfigAsAron()

aron::data::DictPtr getConfigAsAron ( )

Definition at line 146 of file SkillDetailsTreeWidget.cpp.

+ Here is the caller graph for this function:

◆ getShownId()

std::optional< SkillID > getShownId ( )

Definition at line 21 of file SkillDetailsTreeWidget.cpp.

◆ pasteCurrentConfig()

void pasteCurrentConfig ( )

Definition at line 171 of file SkillDetailsTreeWidget.cpp.

+ Here is the call graph for this function:

◆ resetCurrentConfig

void resetCurrentConfig ( )
slot

Definition at line 188 of file SkillDetailsTreeWidget.cpp.

+ Here is the call graph for this function:

◆ resetWidget()

void resetWidget ( )

Definition at line 212 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 130 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 34 of file SkillDetailsTreeWidget.cpp.

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

◆ updateGui

void updateGui ( )
slot

Definition at line 83 of file SkillDetailsTreeWidget.cpp.

+ Here is the call graph for this function:

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