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

 

         

guielement2d.h

00001 #ifndef HYDRO_GUIELEMENT2D_H
00002 #define HYDRO_GUIELEMENT2D_H
00003 
00004 #include <hydroqguielementutil/guielement.h>
00005 
00006 class QPainter;
00007 
00008 namespace hydroqguielementutil 
00009 {
00010 
00014 class GuiElement2d : public GuiElement 
00015 {
00016 
00017 public: 
00018 
00019     GuiElement2d( const GuiElementInfo &guiElementInfo )
00020         : GuiElement(guiElementInfo)
00021         {}
00022 
00023     virtual ~GuiElement2d() {};
00024 
00026     virtual void paint( QPainter *p, int z ) {};
00027 
00030     virtual void paint( QPainter *p, int z, const QRectF& rect ) {};
00031 
00033     virtual bool paintThisLayer( int z ) const=0;
00034     
00036     virtual QPointF pos() const { return QPointF(-9999.9999, -9999.9999); };
00037 };
00038 
00039 }
00040 
00041 #endif
 

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


Generated for Orca Robotics by  doxygen 1.4.5