glc_turntablemover.h

Go to the documentation of this file.
00001 /****************************************************************************
00002 
00003  This file is part of the GLC-lib library.
00004  Copyright (C) 2005-2008 Laurent Ribon (laumaya@users.sourceforge.net)
00005  Copyright (C) 2009 Laurent Bauer
00006  Version 2.0.0, packaged on July 2010.
00007 
00008  http://glc-lib.sourceforge.net
00009 
00010  GLC-lib is free software; you can redistribute it and/or modify
00011  it under the terms of the GNU Lesser General Public License as published by
00012  the Free Software Foundation; either version 3 of the License, or
00013  (at your option) any later version.
00014 
00015  GLC-lib 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
00018  GNU Lesser General Public License for more details.
00019 
00020  You should have received a copy of the GNU Lesser General Public License
00021  along with GLC-lib; if not, write to the Free Software
00022  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00023 
00024  *****************************************************************************/
00025 
00026 #ifndef GLC_TURNTABLEMOVER_H_
00027 #define GLC_TURNTABLEMOVER_H_
00028 
00029 #include "glc_mover.h"
00030 
00031 #include "../glc_config.h"
00032 
00035 
00036 
00037 class GLC_LIB_EXPORT GLC_TurnTableMover : public GLC_Mover
00038 {
00039 public:
00041         GLC_TurnTableMover(GLC_Viewport*, const QList<GLC_RepMover*>& repsList= QList<GLC_RepMover*>());
00042 
00044         GLC_TurnTableMover(const GLC_TurnTableMover&);
00045 
00047         virtual ~GLC_TurnTableMover();
00048 
00050 
00052 
00053 public:
00055         virtual GLC_Mover* clone() const;
00057 
00059 
00061 
00062 public:
00064         virtual void init(QMouseEvent * e);
00065 
00067         virtual bool move(QMouseEvent * e);
00068 
00070 
00072 // Private services Functions
00074 private:
00075 
00077 // Private Members
00080         double m_Sign;
00081 };
00082 
00083 #endif /* GLC_TURNTABLEMOVER_H_ */

SourceForge.net Logo

©2005-2010 Laurent Ribon