2014-11-13 01:04:59 +02:00
|
|
|
/*
|
|
|
|
* Tests the KNumInput Widget class
|
|
|
|
*
|
|
|
|
* Copyright 1999 by Dirk A. Mueller <dmuell@gmx.net>
|
|
|
|
*
|
|
|
|
* Licensed under the GNU General Public License version 2 or later
|
|
|
|
*/
|
2015-07-11 18:42:46 +03:00
|
|
|
#ifndef KNUMINPUTTEST_H
|
|
|
|
#define KNUMINPUTTEST_H
|
2014-11-13 01:04:59 +02:00
|
|
|
|
|
|
|
#include <QtGui/QWidget>
|
|
|
|
|
|
|
|
class KIntNumInput;
|
|
|
|
class KDoubleNumInput;
|
|
|
|
|
|
|
|
class TopLevel : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
|
|
|
|
TopLevel( QWidget *parent=0 );
|
|
|
|
protected:
|
|
|
|
KIntNumInput* i1, *i2, *i3, *i4, *i5, *i6, *i7, *i8;
|
|
|
|
KDoubleNumInput* d1, *d2, *d3, *d4, *d5, *d6, *d7;
|
|
|
|
protected Q_SLOTS:
|
|
|
|
void slotPrint( int );
|
|
|
|
void slotPrint( double );
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|