orca-robotics


INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

REPOSITORY
Interfaces
Components
Libraries
Utilities
Software Map

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard
Wiki
login/pass: orca/orca

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

wifipainter.h

00001 /*
00002  * Orca-Robotics Project: Components for robotics 
00003  *               http://orca-robotics.sf.net/
00004  * Copyright (c) 2004-2008 Alex Brooks, Alexei Makarenko, Tobias Kaupp
00005  *
00006  * This copy of Orca is licensed to you under the terms described in
00007  * the LICENSE file included in this distribution.
00008  *
00009  */
00010  
00011 #ifndef ORCAGUI_WIFI_PAINTER_H
00012 #define ORCAGUI_WIFI_PAINTER_H
00013 
00014 #include <orca/wifi.h>
00015 #include <hydroqguielementutil/definitions2d.h>
00016 
00017 // forward declarations
00018 class QPainter;
00019 
00020 namespace orcaqgui2d {
00021 
00022 // Not painting anything into the view at the moment
00023 class WifiPainter
00024 {
00025   
00026   public:
00027     WifiPainter();
00028     ~WifiPainter();
00029 
00030     void setData( const orca::WifiData& wifiData );
00031     void setColor( QColor color ) { color_ = color; };
00032     void paint( QPainter *p, int z1 );
00033     bool paintThisLayer(int z) const { return z==hydroqguielementutil::Z_FOREGROUND; }
00034     void setUseTransparency( bool useTransparency ) { useTransparency_= useTransparency; };
00035     void clear();
00036     
00037   private:
00038     QColor color_;
00039     bool useTransparency_;
00040 };
00041 
00042 }
00043 
00044 #endif
 

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


Generated for Orca Robotics by  doxygen 1.4.5