EditDatumDialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *                                                                         *
00003  *   This file is part of the FreeCAD CAx development system.              *
00004  *                                                                         *
00005  *   This library is free software; you can redistribute it and/or         *
00006  *   modify it under the terms of the GNU Library General Public           *
00007  *   License as published by the Free Software Foundation; either          *
00008  *   version 2 of the License, or (at your option) any later version.      *
00009  *                                                                         *
00010  *   This library  is distributed in the hope that it will be useful,      *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU Library General Public License for more details.                  *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU Library General Public     *
00016  *   License along with this library; see the file COPYING.LIB. If not,    *
00017  *   write to the Free Software Foundation, Inc., 59 Temple Place,         *
00018  *   Suite 330, Boston, MA  02111-1307, USA                                *
00019  *                                                                         *
00020  ***************************************************************************/
00021 
00022 #ifndef SKETCHERGUI_EditDatumDialog_H
00023 #define SKETCHERGUI_EditDatumDialog_H
00024 
00025 class SoSensor;
00026 
00027 namespace Sketcher {
00028 class Constraint;
00029 }
00030 
00031 namespace SketcherGui {
00032 class ViewProviderSketch;
00033 
00034 class EditDatumDialog {
00035 public:
00036     EditDatumDialog(ViewProviderSketch* vp, int ConstrNbr);
00037     ~EditDatumDialog();
00038 
00039     static void run(void * data, SoSensor * sensor);   
00040     void exec(bool atCursor=true);
00041 
00042 private:
00043     ViewProviderSketch* vp;
00044     Sketcher::Constraint* Constr;
00045     int ConstrNbr;
00046 };
00047 
00048 }
00049 #endif // SKETCHERGUI_DrawSketchHandler_H

Generated on Wed Nov 23 19:00:10 2011 for FreeCAD by  doxygen 1.6.1