blob: a491f521f8c439e6c237e8b265d40beacc468bf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
#ifndef _SCOREWIDGET_H
#define _SCOREWIDGET_H
#include <tqframe.h>
class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQGroupBox;
class TQLabel;
class ScoreWidget : public TQFrame
{
TQ_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
|