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. | |
CInfoLoader (int argc, char **argv) | |
Default contructor. | |
void | deleteTree (void) |
Deletes the information tree. | |
void | deleteTreeNode (QTreeWidgetItem *item) |
Deletes a specific tree node. Recursive function. | |
void | updateMapInfo (float width, float height, float ocgd) |
Updates the information tree according to the specific map. | |
void | updateRobots (const stdr_msgs::RobotIndexedVectorMsg &msg) |
Updates the information tree according to the ensemble of robots. | |
~CInfoLoader (void) | |
Default destructor. | |
Public Attributes | |
QTreeWidgetItem | generalInfo |
Tree item : Robot root. | |
QTreeWidgetItem | mapHeight |
Tree item : Map width. | |
QTreeWidgetItem | mapOcgd |
QTreeWidgetItem | mapWidth |
Tree item : Map resolution. | |
QTreeWidgetItem | robotsInfo |
Tree item : Map height. | |
QIcon | visible_icon_off_ |
Icon of visibility medium (orange) | |
QIcon | visible_icon_on_ |
< Icon of visibility on (green) | |
QIcon | visible_icon_trans_ |
Tree item : Root. | |
Private Attributes | |
int | argc_ |
< Number of input arguments | |
char ** | argv_ |
Icon of visualization actions. | |
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.
int stdr_gui::CInfoLoader::argc_ [private] |
char** stdr_gui::CInfoLoader::argv_ [private] |
Icon of visualization actions.
Definition at line 50 of file stdr_info_loader.h.
QTreeWidgetItem stdr_gui::CInfoLoader::generalInfo |
Tree item : Robot root.
Definition at line 67 of file stdr_info_loader.h.
QTreeWidgetItem stdr_gui::CInfoLoader::mapHeight |
Tree item : Map width.
Definition at line 71 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 73 of file stdr_info_loader.h.
QTreeWidgetItem stdr_gui::CInfoLoader::robotsInfo |
Tree item : Map height.
Definition at line 69 of file stdr_info_loader.h.
QIcon stdr_gui::CInfoLoader::visible_icon_ [private] |
Definition at line 51 of file stdr_info_loader.h.
Icon of visibility medium (orange)
Definition at line 62 of file stdr_info_loader.h.
< Icon of visibility on (green)
Icon of visibility off (red)
Definition at line 59 of file stdr_info_loader.h.
Tree item : Root.
Definition at line 65 of file stdr_info_loader.h.