Serves the Qt events of the main GUI window. Inherits from QObject.
More...
#include <stdr_gui_connector.h>
Serves the Qt events of the main GUI window. Inherits from QObject.
Definition at line 39 of file stdr_gui_connector.h.
stdr_gui::CGuiConnector::CGuiConnector |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Default contructor.
- Parameters
-
argc | [int] Number of input arguments |
argv | [char **] Input arguments |
- Returns
- void
Definition at line 33 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::actionAboutTriggered |
( |
void |
| ) |
|
|
slot |
Qt slot that is called when the About tool button is pressed.
- Returns
- void
Definition at line 176 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::actionAddRobotTriggered |
( |
void |
| ) |
|
|
slot |
Qt slot that is called when the AddRobot tool button is pressed.
- Returns
- void
< Not a valid filename
Definition at line 202 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::actionAdjustedTriggered |
( |
void |
| ) |
|
|
slot |
Qt slot that is called when the adjusted map visualization tool button is pressed.
- Returns
- void
Definition at line 323 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::actionExitTriggered |
( |
void |
| ) |
|
|
slot |
void stdr_gui::CGuiConnector::actionGridTriggered |
( |
void |
| ) |
|
|
slot |
void stdr_gui::CGuiConnector::actionLoadMapTriggered |
( |
void |
| ) |
|
|
slot |
Qt slot that is called when the LoadMap tool button is pressed.
- Returns
- void
Definition at line 127 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::actionNewCo2Triggered |
( |
void |
| ) |
|
|
slot |
Qt slot that is called when the NewCO2 tool button is pressed.
- Returns
- void
Definition at line 267 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::actionNewRfidTriggered |
( |
void |
| ) |
|
|
slot |
Qt slot that is called when the NewRfid tool button is pressed.
- Returns
- void
Definition at line 241 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::actionNewRobotTriggered |
( |
void |
| ) |
|
|
slot |
Qt slot that is called when the NewRobot tool button is pressed.
- Returns
- void
Definition at line 193 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::actionNewSoundTriggered |
( |
void |
| ) |
|
|
slot |
Qt slot that is called when the NewSound tool button is pressed.
- Returns
- void
Definition at line 280 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::actionNewThermalTriggered |
( |
void |
| ) |
|
|
slot |
Qt slot that is called when the NewThermal tool button is pressed.
- Returns
- void
Definition at line 254 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::actionPropertiesTriggered |
( |
void |
| ) |
|
|
slot |
Qt slot that is called when the Properties tool button is pressed.
- Returns
- void
Definition at line 116 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::actionZoomInTriggered |
( |
void |
| ) |
|
|
slot |
Qt slot that is called when the zoom in tool button is pressed.
- Returns
- void
Definition at line 293 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::actionZoomOutTriggered |
( |
void |
| ) |
|
|
slot |
Qt slot that is called when the zoom out tool button is pressed.
- Returns
- void
Definition at line 308 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::addToGrid |
( |
QWidget * |
w, |
|
|
int |
row, |
|
|
int |
column |
|
) |
| |
Adds a widget to the main window Qt grid.
- Parameters
-
w | [QWidget*] The widget to be placed |
row | [int] The row of the grid |
column | [int] The column of the grid |
- Returns
- void
Definition at line 363 of file stdr_gui_connector.cpp.
bool stdr_gui::CGuiConnector::closeTriggered |
( |
void |
| ) |
|
Returns the exit triggered status.
- Returns
- bool True if exit has been triggered
Definition at line 412 of file stdr_gui_connector.cpp.
QEvent * stdr_gui::CGuiConnector::getCloseEvent |
( |
void |
| ) |
|
void stdr_gui::CGuiConnector::guiExitEvent |
( |
void |
| ) |
|
|
signal |
Signal emmited on exit pressed.
- Returns
- void
bool stdr_gui::CGuiConnector::isGridEnabled |
( |
void |
| ) |
|
void stdr_gui::CGuiConnector::loadCo2Pressed |
( |
void |
| ) |
|
|
signal |
Signal emmited on load CO2 source pressed.
- Returns
- void
void stdr_gui::CGuiConnector::loadRfidPressed |
( |
void |
| ) |
|
|
signal |
Signal emmited on load RFID tag pressed.
- Returns
- void
void stdr_gui::CGuiConnector::loadSoundPressed |
( |
void |
| ) |
|
|
signal |
Signal emmited on load sound source pressed.
- Returns
- void
void stdr_gui::CGuiConnector::loadThermalPressed |
( |
void |
| ) |
|
|
signal |
Signal emmited on load thermal source pressed.
- Returns
- void
void stdr_gui::CGuiConnector::raiseMessage |
( |
QString |
title, |
|
|
QString |
s |
|
) |
| |
Raises a message box with a specific message.
- Parameters
-
title | [QString] The message box title |
s | [QString] The message |
- Returns
- void
Definition at line 452 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::robotFromFile |
( |
stdr_msgs::RobotMsg |
msg | ) |
|
|
signal |
Signal emmited on load robot from file pressed.
- Parameters
-
msg | [stdr_msgs::RobotMsg] The robot to be placed in the map |
- Returns
- void
void stdr_gui::CGuiConnector::setAdjustedCursor |
( |
bool |
state | ) |
|
|
signal |
Qt signal that is emmited when the Adjust map button is pressed.
- Parameters
-
- Returns
- void
void stdr_gui::CGuiConnector::setGridColumnStretch |
( |
int |
cell, |
|
|
int |
stretch |
|
) |
| |
Wraps the Qt gridColumnStretch function.
- Parameters
-
cell | [int] The specific column |
stretch | [int] The relative stretch coefficient |
- Returns
- void
Definition at line 374 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::setMapInitialized |
( |
bool |
mi | ) |
|
void stdr_gui::CGuiConnector::setStatusBarMessage |
( |
QString |
s | ) |
|
Displays a message in the QMainWindow status bar.
- Parameters
-
- Returns
- void
Definition at line 394 of file stdr_gui_connector.cpp.
void stdr_gui::CGuiConnector::setZoomInCursor |
( |
bool |
state | ) |
|
|
signal |
Qt signal that is emmited in GuiConnector::actionZoomInTriggered and connects to MapLoader::setCursorZoomIn.
- Parameters
-
- Returns
- void
void stdr_gui::CGuiConnector::setZoomOutCursor |
( |
bool |
state | ) |
|
|
signal |
Qt signal that is emmited in GuiConnector::actionZoomOutTriggered and connects to MapLoader::setCursorZoomOut.
- Parameters
-
- Returns
- void
void stdr_gui::CGuiConnector::show |
( |
void |
| ) |
|
void stdr_gui::CGuiConnector::shutdown |
( |
void |
| ) |
|
void stdr_gui::CGuiConnector::uncheckZoomButtons |
( |
void |
| ) |
|
Unchecks the zoom in & out buttons when right click in map is pushed.
- Returns
- void
Definition at line 440 of file stdr_gui_connector.cpp.
int stdr_gui::CGuiConnector::argc_ |
|
private |
char** stdr_gui::CGuiConnector::argv_ |
|
private |
bool stdr_gui::CGuiConnector::grid_enabled_ |
|
private |
bool stdr_gui::CGuiConnector::map_initialized_ |
|
private |
The documentation for this class was generated from the following files: