INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

NONFRAMEWORK CODE
Driver Interfaces
Drivers
Libraries
Utilities

FRAMEWORK CODE
Interfaces
Components
Libraries
Utilities

Full Software Listings

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

orcaqgui2d::GridElement Class Reference

Paints a rectangular grid in the display. More...

#include <gridelement.h>

Inherits hydroqguielementutil::GuiElement2d.

List of all members.

Public Member Functions

virtual bool isInGlobalCS ()
virtual void paint (QPainter *p, int z)
 Paint is called periodically to paint the internal state of the guielement.
virtual bool paintThisLayer (int z) const
 Would anything be painted to this layer?
virtual QStringList contextMenu ()
virtual void execute (int action)

Protected Member Functions

virtual bool isPermanentElement () const
 If FALSE (default), the user can remove this GUI element from the set.

Detailed Description

Paints a rectangular grid in the display.

Author:
Tobias Kaupp, Alex Brooks, Ben Upcroft

Member Function Documentation

QStringList orcaqgui2d::GridElement::contextMenu (  )  [virtual]

Optional function to populate the menu list on right-click. Default implementation does nothing.

Reimplemented from hydroqguielementutil::GuiElement.

void orcaqgui2d::GridElement::execute ( int  action  )  [virtual]

Optional callback function which will be called when one of the context menu items is selected. Default implementation does nothing.

Reimplemented from hydroqguielementutil::GuiElement.

virtual bool orcaqgui2d::GridElement::isInGlobalCS (  )  [inline, virtual]

Determines whether the element should be painted in the global coordinate system. If returns FALSE (default), we will search for a localization element on the same platform.

Reimplemented from hydroqguielementutil::GuiElement.


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

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5