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 IMAGEPOINT_H 00027 #define IMAGEPOINT_H 00028 00029 #include "point.h" 00030 00031 namespace qmapcontrol 00032 { 00033 00035 00041 class ImagePoint : public Point 00042 { 00043 public: 00045 00054 ImagePoint(qreal x, qreal y, QString filename, QString name = QString(), Alignment alignment = Middle); 00055 00057 00066 ImagePoint(qreal x, qreal y, QPixmap* pixmap, QString name = QString(), Alignment alignment = Middle); 00067 virtual ~ImagePoint(); 00068 }; 00069 } 00070 #endif