00001 #ifndef PSQT_DRAGCIRCLE_H
00002 #define PSQT_DRAGCIRCLE_H
00003
00004
00005 #include "PSQt/DragBase.h"
00006
00007
00008 #include <iostream>
00009 #include <fstream>
00010 #include <sstream>
00011
00012 namespace PSQt {
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051 class DragCircle : public DragBase
00052 {
00053 public:
00054
00055
00056
00057
00058
00059
00060
00061 DragCircle(WdgImage* wimg=0, const QPointF* points=0);
00062 virtual ~DragCircle(){};
00063
00064 virtual void draw(const DRAGMODE& mode=DRAW);
00065 virtual bool contains(const QPointF& p);
00066 virtual void move(const QPointF& p);
00067 virtual void moveIsCompleted(const QPointF& p);
00068 virtual void create();
00069
00070 virtual const QPointF& getCenter();
00071 virtual void print();
00072
00073 protected:
00074
00075 private:
00076 virtual const char* _name_(){return "DragCircle";}
00077 QPointF m_rad_raw;
00078 };
00079
00080
00081
00082 }
00083
00084 #endif // PSQT_DRAGCIRCLE_H
00085
00086
00087
00088