TreeWidget Class Reference

#include <RobotAPI/libraries/armem_gui/memory/TreeWidget.h>

+ Inheritance diagram for TreeWidget:

Signals

void actionsMenuRequested (const MemoryID &memoryID, QWidget *parent, const QPoint &pos, QMenu *menu)
 
void coreSegmentSelected (const MemoryID &id)
 
void entitySelected (const MemoryID &id)
 
void instanceSelected (const MemoryID &id)
 
void itemSelected (const MemoryID &id)
 
void memorySelected (const MemoryID &id)
 
void providerSegmentSelected (const MemoryID &id)
 
void selectedItemChanged (const MemoryID &id)
 The selected item or its contents have changed. More...
 
void snapshotSelected (const MemoryID &id)
 
void updated ()
 Tree contents have changed. More...
 

Public Member Functions

std::optional< MemoryIDselectedID () const
 
 TreeWidget ()
 
void update (const armem::wm::Memory &memory)
 
void update (const std::map< std::string, const armem::wm::Memory * > &memories)
 

Detailed Description

Definition at line 15 of file TreeWidget.h.

Constructor & Destructor Documentation

◆ TreeWidget()

Definition at line 17 of file TreeWidget.cpp.

Member Function Documentation

◆ actionsMenuRequested

void actionsMenuRequested ( const MemoryID memoryID,
QWidget *  parent,
const QPoint &  pos,
QMenu *  menu 
)
signal
+ Here is the caller graph for this function:

◆ coreSegmentSelected

void coreSegmentSelected ( const MemoryID id)
signal

◆ entitySelected

void entitySelected ( const MemoryID id)
signal

◆ instanceSelected

void instanceSelected ( const MemoryID id)
signal

◆ itemSelected

void itemSelected ( const MemoryID id)
signal

◆ memorySelected

void memorySelected ( const MemoryID id)
signal

◆ providerSegmentSelected

void providerSegmentSelected ( const MemoryID id)
signal

◆ selectedID()

std::optional< MemoryID > selectedID ( ) const

Definition at line 170 of file TreeWidget.cpp.

◆ selectedItemChanged

void selectedItemChanged ( const MemoryID id)
signal

The selected item or its contents have changed.

+ Here is the caller graph for this function:

◆ snapshotSelected

void snapshotSelected ( const MemoryID id)
signal

◆ update() [1/2]

void update ( const armem::wm::Memory memory)

Definition at line 153 of file TreeWidget.cpp.

◆ update() [2/2]

void update ( const std::map< std::string, const armem::wm::Memory * > &  memories)

Definition at line 162 of file TreeWidget.cpp.

◆ updated

void updated ( )
signal

Tree contents have changed.

+ Here is the caller graph for this function:

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