00001 /************************************************************************************ 00002 ** 00003 ** This file is part of the QtOPENCASCADE Toolkit. 00004 ** 00005 ** Copyright (C) 2006, 2007, 2008 QtOCC Team Members 00006 ** Peter Dolbey, Marc Britten, Stephane Routelous 00007 ** Stefan Boeykens, Pawel Dobrolowski, Walter Steffe 00008 ** Álvaro Castro Castilla, Dirk Burski, Fotis Sioutis 00009 ** 00010 ** This library is free software; you can redistribute it and/or 00011 ** modify it under the terms of the GNU Lesser General Public 00012 ** License as published by the Free Software Foundation; either 00013 ** version 2.1 of the License, or (at your option) any later version. 00014 ** 00015 ** This library is distributed in the hope that it will be useful, 00016 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 ** Lesser General Public License for more details. 00019 ** 00020 ** You should have received a copy of the GNU Lesser General Public 00021 ** License along with this library; if not, write to the Free Software 00022 ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00023 ** 00024 ***********************************************************************************/ 00025 #ifndef QOCCMAKEPOINT_H 00026 #define QOCCMAKEPOINT_H 00027 00028 #include <QtCore/QObject> 00029 #include "qocc.h" 00030 #include "qoccapplication.h" 00031 #include "qocccommand.h" 00032 00033 class QOCC_DECLSPEC QoccDlgPoint : public QObject 00034 { 00035 Q_OBJECT 00036 00037 public: 00038 00039 QoccDlgPoint( ); 00040 ~QoccDlgPoint( ); 00041 00042 private: 00043 00044 00045 }; 00046 00047 class QOCC_DECLSPEC QoccCmdPoint : public QoccCommand 00048 { 00049 Q_OBJECT 00050 00051 public: 00052 00053 QoccCmdPoint( QAction* startingAction = NULL, QWidget* parent = NULL ); 00054 ~QoccCmdPoint( ); 00055 00056 virtual void clickEvent(Qocc3dWidget* widget, QMouseEvent* e); 00057 virtual void moveEvent(Qocc3dWidget* widget, QMouseEvent* e); 00058 00059 }; 00060 00061 #endif // QOCCMAKEPOINT_H