00001 /* 00002 * 00003 * This file is part of QMapControl, 00004 * an open-source cross-platform map widget 00005 * 00006 * Copyright (C) 2007 - 2008 Kai Winter 00007 * 00008 * This program is free software: you can redistribute it and/or modify 00009 * it under the terms of the GNU Lesser General Public License as published by 00010 * the Free Software Foundation, either version 3 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public License 00019 * along with QMapControl. If not, see <http://www.gnu.org/licenses/>. 00020 * 00021 * Contact e-mail: kaiwinter@gmx.de 00022 * Program URL : http://qmapcontrol.sourceforge.net/ 00023 * 00024 */ 00025 00026 #ifndef CIRCLEPOINT_H 00027 #define CIRCLEPOINT_H 00028 00029 #include "point.h" 00030 00031 namespace qmapcontrol 00032 { 00034 00040 class CirclePoint : public Point 00041 { 00042 public: 00044 00052 CirclePoint(qreal x, qreal y, QString name = QString(), Alignment alignment = Middle, QPen* pen=0); 00053 00055 00064 CirclePoint(qreal x, qreal y, int radius = 10, QString name = QString(), Alignment alignment = Middle, QPen* pen=0); 00065 virtual ~CirclePoint(); 00066 00068 00073 virtual void setPen(QPen* pen); 00074 00075 }; 00076 } 00077 #endif