moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kig / objects / editanglesize.h
blobd2655180e7705b7d511e06ee5f9034e0297eb46f
1 /**
2 This file is part of Kig, a KDE program for Interactive Geometry...
3 Copyright (C) 2004 Dominique Devriese <devriese@kde.org>
4 Copyright (C) 2004 Pino Toscano <toscano.pino@tiscali.it>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19 USA
20 **/
22 #ifndef KIG_OBJECTS_EDITANGLESIZE_H
23 #define KIG_OBJECTS_EDITANGLESIZE_H
25 #include "editanglesizebase.h"
27 #include "../misc/goniometry.h"
29 #include <kiconloader.h>
31 class EditAngleSize : public EditAngleSizeBase
33 Q_OBJECT
35 Goniometry mang;
36 Goniometry mang_orig;
37 bool isnum;
38 const KIconLoader* il;
39 public:
40 EditAngleSize( QWidget* parent, double angle = 0, Goniometry::System system = Goniometry::Rad );
41 ~EditAngleSize();
42 const double angle() const;
43 const Goniometry::System system() const;
45 public slots:
46 void okSlot();
47 void cancelSlot();
49 protected slots:
50 void activatedSlot( int index );
51 void textChangedSlot( const QString& txt );
54 #endif