Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

flexiblespinbox.h

00001 
00002 /***************************************************************************
00003  *   Copyright (C) 2005 by Bjoern Erik Nilsen & Fredrik Berg Kjoelstad     *
00004  *   bjoern_erik_nilsen@hotmail.com & fredrikbk@hotmail.com                *
00005  *                                                                         *
00006  *   This program is free software; you can redistribute it and/or modify  *
00007  *   it under the terms of the GNU General Public License as published by  *
00008  *   the Free Software Foundation; either version 2 of the License, or     *
00009  *   (at your option) any later version.                                   *
00010  *                                                                         *
00011  *   This program 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 General Public License for more details.                          *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU General Public License     *
00017  *   along with this program; if not, write to the                         *
00018  *   Free Software Foundation, Inc.,                                       *
00019  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00020  ***************************************************************************/
00021 #ifndef FLEXIBLESPINBOX_H
00022 #define FLEXIBLESPINBOX_H
00023 
00024 #include <qspinbox.h>
00025 
00026 
00031 class FlexibleSpinBox : public QSpinBox
00032 {
00033         Q_OBJECT
00034 public:
00035         
00040         FlexibleSpinBox(QWidget *parent = 0);
00041         
00047         void keyPressEvent( QKeyEvent * k );
00048         
00049 protected:
00050 
00051         
00052 public slots:
00058         void setMaximumValue(int maxValue);
00059         
00060 signals:
00065         void spinBoxTriggered(int frameNumber);
00066         
00070         void spinBoxCanceled();
00071 };
00072 
00073 #endif

Generated on Thu May 19 01:51:20 2005 for stopmotion.kdevelop by  doxygen 1.4.2