PropertyUnits.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (c) Jürgen Riegel          (juergen.riegel@web.de) 2010     *
00003  *                                                                         *
00004  *   This file is part of the FreeCAD CAx development system.              *
00005  *                                                                         *
00006  *   This library is free software; you can redistribute it and/or         *
00007  *   modify it under the terms of the GNU Library General Public           *
00008  *   License as published by the Free Software Foundation; either          *
00009  *   version 2 of the License, or (at your option) any later version.      *
00010  *                                                                         *
00011  *   This library  is distributed in the hope that it will be useful,      *
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00014  *   GNU Library General Public License for more details.                  *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU Library General Public     *
00017  *   License along with this library; see the file COPYING.LIB. If not,    *
00018  *   write to the Free Software Foundation, Inc., 59 Temple Place,         *
00019  *   Suite 330, Boston, MA  02111-1307, USA                                *
00020  *                                                                         *
00021  ***************************************************************************/
00022 
00023 
00024 #ifndef APP_PROPERTYUNITS_H
00025 #define APP_PROPERTYUNITS_H
00026 
00027 // Std. configurations
00028 
00029 
00030 #include <string>
00031 #include <list>
00032 #include <vector>
00033 #include <boost/filesystem/path.hpp>
00034 
00035 #include "PropertyStandard.h"
00036 
00037 namespace Base {
00038 class Writer;
00039 }
00040 
00041 
00042 namespace App
00043 {
00044 
00045 
00050 class AppExport PropertyDistance: public App::PropertyFloat
00051 {
00052     TYPESYSTEM_HEADER();
00053 public:
00054     PropertyDistance(void){}
00055     virtual ~PropertyDistance(){}
00056     virtual const char* getEditorName(void) const
00057     { return "Gui::PropertyEditor::PropertyFloatItem"; }
00058 };
00059 
00064 class AppExport PropertyLength : public PropertyFloat
00065 {
00066     TYPESYSTEM_HEADER();
00067 public:
00068     PropertyLength(void){}
00069     virtual ~PropertyLength(){}
00070     virtual const char* getEditorName(void) const;
00071 
00072     virtual void setPyObject(PyObject *);
00073 };
00074 
00079 class AppExport PropertyAngle: public PropertyFloatConstraint
00080 {
00081     TYPESYSTEM_HEADER();
00082 public:
00083     PropertyAngle(void){}
00084     virtual ~PropertyAngle(){}
00085     virtual const char* getEditorName(void) const { return "Gui::PropertyEditor::PropertyAngleItem"; }
00086 };
00087 
00092 class AppExport PropertySpeed: public PropertyFloat
00093 {
00094     TYPESYSTEM_HEADER();
00095 public:
00096     PropertySpeed(void){}
00097     virtual ~PropertySpeed(){}
00098     virtual const char* getEditorName(void) const { return "Gui::PropertyEditor::PropertyFloatItem"; }
00099 };
00100 
00105 class AppExport PropertyAcceleration: public PropertyFloat
00106 {
00107     TYPESYSTEM_HEADER();
00108 public:
00109     PropertyAcceleration(void){}
00110     virtual ~PropertyAcceleration(){}
00111     virtual const char* getEditorName(void) const { return "Gui::PropertyEditor::PropertyFloatItem"; }
00112 };
00113 
00114 
00115 } // namespace App
00116 
00117 #endif // APP_PROPERTYUNITS_H

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