Implements the low level Qt functionalities of the information tree. Inherits from Ui_information (generated from an ui file) and QWidget. More...
#include <stdr_info_loader.h>
Public Member Functions | |
void | autoResizeColumns (void) |
Autoresizes the columns according to the visible contents. More... | |
CInfoLoader (int argc, char **argv) | |
Default contructor. More... | |
void | deleteTree (void) |
Deletes the information tree. More... | |
void | deleteTreeNode (QTreeWidgetItem *item) |
Deletes a specific tree node. Recursive function. More... | |
void | updateMapInfo (float width, float height, float ocgd) |
Updates the information tree according to the specific map. More... | |
void | updateRobots (const stdr_msgs::RobotIndexedVectorMsg &msg) |
Updates the information tree according to the ensemble of robots. More... | |
~CInfoLoader (void) | |
Default destructor. More... | |
Public Attributes | |
QTreeWidgetItem | generalInfo |
Tree item : Robot root. More... | |
QTreeWidgetItem | mapHeight |
Tree item : Map width. More... | |
QTreeWidgetItem | mapOcgd |
QTreeWidgetItem | mapWidth |
Tree item : Map resolution. More... | |
QTreeWidgetItem | robotsInfo |
Tree item : Map height. More... | |
QIcon | visible_icon_off_ |
Icon of visibility medium (orange) More... | |
QIcon | visible_icon_on_ |
< Icon of visibility on (green) More... | |
QIcon | visible_icon_trans_ |
Tree item : Root. More... | |
Private Attributes | |
int | argc_ |
< Number of input arguments More... | |
char ** | argv_ |
Icon of visualization actions. More... | |
QIcon | visible_icon_ |
Implements the low level Qt functionalities of the information tree. Inherits from Ui_information (generated from an ui file) and QWidget.
Definition at line 38 of file stdr_info_loader.h.
stdr_gui::CInfoLoader::CInfoLoader | ( | int | argc, |
char ** | argv | ||
) |
Default contructor.
argc | [int] Number of input arguments |
argv | [char **] Input arguments |
Definition at line 32 of file stdr_info_loader.cpp.
stdr_gui::CInfoLoader::~CInfoLoader | ( | void | ) |
void stdr_gui::CInfoLoader::autoResizeColumns | ( | void | ) |
Autoresizes the columns according to the visible contents.
void stdr_gui::CInfoLoader::deleteTree | ( | void | ) |
void stdr_gui::CInfoLoader::deleteTreeNode | ( | QTreeWidgetItem * | item | ) |
Deletes a specific tree node. Recursive function.
item | [QTreeWidgetItem*] The item to be deleted |
Definition at line 100 of file stdr_info_loader.cpp.
void stdr_gui::CInfoLoader::updateMapInfo | ( | float | width, |
float | height, | ||
float | ocgd | ||
) |
Updates the information tree according to the specific map.
width | [float] The map width |
height | [float] The map height |
ocgd | [float] The map resolution (m/pixel) |
Definition at line 135 of file stdr_info_loader.cpp.
void stdr_gui::CInfoLoader::updateRobots | ( | const stdr_msgs::RobotIndexedVectorMsg & | msg | ) |
Updates the information tree according to the ensemble of robots.
msg | [const stdr_msgs::RobotIndexedVectorMsg&] The existent robots |
Definition at line 147 of file stdr_info_loader.cpp.
|
private |
|
private |
Icon of visualization actions.
Definition at line 48 of file stdr_info_loader.h.
QTreeWidgetItem stdr_gui::CInfoLoader::generalInfo |
Tree item : Robot root.
Definition at line 66 of file stdr_info_loader.h.
QTreeWidgetItem stdr_gui::CInfoLoader::mapHeight |
Tree item : Map width.
Definition at line 70 of file stdr_info_loader.h.
QTreeWidgetItem stdr_gui::CInfoLoader::mapOcgd |
Definition at line 74 of file stdr_info_loader.h.
QTreeWidgetItem stdr_gui::CInfoLoader::mapWidth |
Tree item : Map resolution.
Definition at line 72 of file stdr_info_loader.h.
QTreeWidgetItem stdr_gui::CInfoLoader::robotsInfo |
Tree item : Map height.
Definition at line 68 of file stdr_info_loader.h.
|
private |
Definition at line 51 of file stdr_info_loader.h.
QIcon stdr_gui::CInfoLoader::visible_icon_off_ |
Icon of visibility medium (orange)
Definition at line 60 of file stdr_info_loader.h.
QIcon stdr_gui::CInfoLoader::visible_icon_on_ |
< Icon of visibility on (green)
Icon of visibility off (red)
Definition at line 57 of file stdr_info_loader.h.
QIcon stdr_gui::CInfoLoader::visible_icon_trans_ |
Tree item : Root.
Definition at line 63 of file stdr_info_loader.h.