You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdegames/twin4/twin4/scorewidget.h

47 lines
952 B

#ifndef _SCOREWIDGET_H
#define _SCOREWIDGET_H
#include <tqframe.h>
class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQGroupBox;
class TQLabel;
class ScoreWidget : public TQFrame
{
Q_OBJECT
public:
ScoreWidget( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
void setMove(int i);
void setLevel(int i);
void setChance(int i);
void setPlayer(TQString s,int no);
void setTurn(int i);
protected:
TQGroupBox* GroupBox1;
TQLabel* TextLabel4;
TQLabel* TextLabel5;
TQLabel* TextLabel6;
TQLabel* TextLabel1;
TQLabel* TextLabel2;
TQLabel* TextLabel3;
TQLabel* TextLabel7;
TQLabel* TextLabel8;
TQLabel* TextLabel9;
protected:
void paintEvent( TQPaintEvent * );
void Paint(TQPainter *p,TQRect rect);
void drawBorder(TQPainter *p,TQRect rect,int offset,int width,int mode);
protected:
TQGridLayout* LayoutB;
};
#endif // _SCOREWIDGET_H