Added NumberDisplay class

This commit is contained in:
Tobias Rundstrom 2006-02-15 21:09:38 -03:00
parent 95d76f9a44
commit 45fd11151f
8 changed files with 110 additions and 41 deletions

30
NumberDisplay.h Normal file
View file

@ -0,0 +1,30 @@
#ifndef __NUMBERDISPLAY_H__
#define __NUMBERDISPLAY_H__
#include <iostream>
#include <QPixmap>
#include <QPainter>
#include <QWidget>
#include "PixWidget.h"
class NumberDisplay : public PixWidget
{
Q_OBJECT
public:
NumberDisplay (QWidget *parent, uint, uint);
~NumberDisplay ();
void setNumber (uint, uint);
protected:
int m_w;
int m_startpx;
uint m_n1;
uint m_n2;
};
#endif