Source: scribus/mspinbox.h
|
|
|
|
/***************************************************************************
mspinbox.h - description
-------------------
begin : Sat Jun 16 2001
copyright : (C) 2001 by Franz Schmid
email : Franz.Schmid@altmuehlnet.de
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef MSPINBOX_H
#define MSPINBOX_H
#include
/**
*@author Franz Schmid
*/
class MSpinBox : public QSpinBox {
public:
MSpinBox(QWidget *pa, int s);
~MSpinBox() {};
QString mapValueToText(int value);
int mapTextToValue(bool *ok);
int Decimals;
int Width;
void setDecimals( int deci );
protected:
bool eventFilter( QObject* ob, QEvent* ev );
};
#endif
Generated by: paul on T6.linux on Tue Mar 18 23:32:13 2003, using kdoc 2.0a54. |