AURobotServers
4
|
#include <qserver.h>
Public Slots | |
void | killServer () |
void | sendCmdToServer (QString cmd) |
void | updateImg (int value) |
void | updateVar (UVarPool *varStruct) |
void | updVarEvent (UVariable *var) |
Signals | |
void | imgUpdated (int newValue) |
void | messageEvent (QString message) |
void | varUpdated (UVarPool *varStruct) |
void | varUpdEvent (UVariable *var) |
Public Member Functions | |
virtual void | consoleReply (const char *s) |
Reimplementation of function "vitual void consoleReply(const char *s)". More... | |
virtual void | imgUpdatedEvent (int updatdImgNr) |
void | makeTopViewMenu () |
virtual void | postedCommand (const char *s) |
Reimplementation of function "vitual void postedCommand(const char * s)". More... | |
UQtgui () | |
virtual void | varEvent (UVarPool *varStruct) |
virtual void | varUpdatedEvent (UVariable *var) |
virtual | ~UQtgui () |
Public Attributes | |
UCmdExe * | cmdexe |
Private Slots | |
void | imgPanEvent (int imgnr, int dx, int dy) |
void | topPanLeft (bool left) |
void | topRobotField () |
void | topRobotGuidebot () |
void | topRobotHako () |
void | topRobotIrobot () |
void | topRobotMmr () |
void | topRobotSmr () |
void | topViewBold () |
void | topViewZoomIn () |
void | topViewZoomOut () |
void | updateTime () |
time to do some regular update services - like test status of buttons More... | |
Private Member Functions | |
UQStandardItem * | getGlobalItem (QStandardItem *root, const char *group, const char *name) |
UVariable * | getGlobalVar (const char *group, const char *name) |
QStandardItem * | getQTItem (const char *name, QStandardItem *troot) |
void | initTreeStruct (QTreeView *treeView) |
errors detected in slot end More... | |
void | setStruct (UVarPool *varStruct, QStandardItem *troot) |
void | setVar (UVariable *varStruct) |
Private Attributes | |
QDockWidget * | dock1 |
QDockWidget * | dock2 |
QMenu * | fileMenu |
QAction * | fquit |
UQimage * | qimgs [100] |
UTermEmulator * | terminalGui |
QAction * | topBoldAct |
QAction * | topPanLeftAct |
QAction * | topPanRightAct |
QAction * | topRobotFieldAct |
QActionGroup * | topRobotGroup |
QAction * | topRobotGuidebotAct |
QAction * | topRobotHakoAct |
QAction * | topRobotIrobotAct |
QMenu * | topRobotMenu |
QAction * | topRobotMmrAct |
QAction * | topRobotSmrAct |
QMenu * | topviewMenu |
QAction * | topZoomInAct |
QAction * | topZoomOutAct |
QStandardItemModel * | treeModel |
QStandardItem * | treeRoot |
QTreeView * | treeView |
QTimer | updateTimer |
int | varEmitCnt |
int | varEmitErrCnt |
received in slot end More... | |
UTime | varEmitUpdTime |
int | varSlotCnt |
emitted More... | |
int | varSlotErrCnt |
errors detected in emit end More... | |
UTime | varUpdTime |
QMenu * | viewMenu |
Main q-client window class, that has reference to the basic cmdexe class from mobotware server (auclient)
UQtgui::UQtgui | ( | ) |
get tree view item with reference to global variable at level 2 relative to this item
group | is name of the structure at root level |
name | is the name of a variable or structure at that level |
|
virtual |
|
virtual |
Reimplementation of function "vitual void consoleReply(const char *s)".
Reimplemented from UQevent.
|
private |
get tree view item with reference to global variable at level 2
root | is the structure to search into |
group | is name of the structure at root level |
name | is the name of a variable or structure at that level |
|
private |
get variable reference from global variable tree view structure
group | is name of structure at root level |
name | is the name of a variable at that level |
References UQStandardItem::var.
|
private |
find an entry at this level with this name.
name | is name to be found |
troot | is the branch to search |
|
privateslot |
References UVariable::add(), UVariable::getDouble(), UQimage::h, and img.
|
signal |
|
virtual |
Constructor Destructor
Reimplemented from UQevent.
|
private |
errors detected in slot end
initialize tree view with headlines etc.
|
slot |
void UQtgui::makeTopViewMenu | ( | ) |
make menu actions for top view window
|
signal |
|
virtual |
Reimplementation of function "vitual void postedCommand(const char * s)".
Reimplemented from UQevent.
|
slot |
|
private |
|
private |
|
privateslot |
References UVariable::add(), and UVariable::getDouble().
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
References UVariable::getDouble(), and UQStandardItem::var.
|
privateslot |
References UVariable::getDouble(), and UQStandardItem::var.
|
slot |
References UImage::getConvertBuffer(), UImage::getData(), UImagePool::getImage(), UResBase::getStaticResource(), UQimage::h, UImage::height(), UQimage::idx, UImage::imageNumber, img, UImage::isRGB(), UImage::name, UQimage::qlblimg, UImage::toRGB(), ULock::tryLock(), ULock::unlock(), UQimage::w, and UImage::width().
|
privateslot |
time to do some regular update services - like test status of buttons
|
slot |
References UResBase::getStaticResource(), and UResVarPool::getVarPool().
|
slot |
|
virtual |
Referenced by runServer().
|
signal |
|
virtual |
Reimplemented from UQevent.
References UVariable::name.
|
signal |
UCmdExe* UQtgui::cmdexe |
Referenced by runServer().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
debug for var update queue - values shown in tree as value to "var"
|
private |
received in slot end
|
private |
|
private |
emitted
|
private |
errors detected in emit end
|
private |
|
private |