Subversion Repositories public

Rev

Rev 276 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
274 andreas 1
//
2
// C++ Interface:
3
//
4
// Description:
5
//
6
//
7
// Author: Andreas Theofilu <andreas@theosys.at>, (C) 2009
8
//
9
// Copyright: See COPYING file that comes with this distribution
10
//
11
//
12
 
13
#ifndef SHAPEWIDGET_H
14
#define SHAPEWIDGET_H
15
 
16
#include <QDialog>
17
#include "ui_shapewidgetbase.h"
18
 
19
class shapeWidget : public QDialog, private Ui::shapeWidgetBase
20
{
276 andreas 21
	public:
22
		enum maptype
23
		{
24
		   MAP_SHAPE,
25
		   MAP_GIS,
26
		   MAP_OSM,
27
		   maptype_MAX
28
		};
29
 
274 andreas 30
		Q_OBJECT
31
 
32
	public:
33
		shapeWidget (QWidget* parent = 0, Qt::WFlags fl = 0);
34
		~shapeWidget();
35
		/*$PUBLIC_FUNCTIONS$*/
276 andreas 36
		void setMapType (maptype mt);
274 andreas 37
 
38
	public slots:
39
		/*$PUBLIC_SLOTS$*/
40
		virtual void accept();
278 andreas 41
		virtual void slotForwarded(bool);
42
		virtual void slotInversed(bool);
276 andreas 43
 
44
	private:
45
	   maptype __maptype;
274 andreas 46
};
47
 
48
#endif
49