Subversion Repositories svn1-original

Rev

Rev 312 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 312 Rev 314
Line 1... Line 1...
1
#ifndef QMFULLDATA_H
1
#ifndef QMFULLDATA_H
2
#define QMFULLDATA_H
2
#define QMFULLDATA_H
3
 
3
 
4
#include <QWidget>
4
#include <QWidget>
5
#include <QTableWidget>
-
 
6
#include <QPushButton>
5
#include <QPushButton>
-
 
6
#include <QShowEvent>
7
#include <QTableWidgetItem>
7
#include <QTableWidget>
8
 
8
 
9
 
9
 
10
/*----------------------------------------------------------------------------
10
/*----------------------------------------------------------------------------
11
** CLASS              : qmFullData  
11
** CLASS              : qmFullData  
12
**
12
**
Line 31... Line 31...
31
public slots:
31
public slots:
32
    void loadData(void);
32
    void loadData(void);
33
    void selectTeam( int row, int col);
33
    void selectTeam( int row, int col);
34
};
34
};
35
 
35
 
36
/*----------------------------------------------------------------------------
-
 
37
** CLASS              : qmTwi...
-
 
38
**
-
 
39
** DESCRIPTION        : A collection of helper classes derived from QTableWidgetItem
-
 
40
**                      Used to assist in rendering items in tables
-
 
41
**
-
 
42
----------------------------------------------------------------------------*/
-
 
43
 
-
 
44
class qmTwiNumber : public QTableWidgetItem
-
 
45
{
-
 
46
public:
-
 
47
    qmTwiNumber ( int value  );
-
 
48
    bool operator< ( const QTableWidgetItem & other ) const;
-
 
49
    int number;
-
 
50
};
-
 
51
 
-
 
52
class qmTwiTime : public QTableWidgetItem
-
 
53
{
-
 
54
public:
-
 
55
    qmTwiTime ( int value  );
-
 
56
    bool operator< ( const QTableWidgetItem & other ) const;
-
 
57
 
-
 
58
private:
-
 
59
    int number;
-
 
60
};
-
 
61
class qmTwiString : public QTableWidgetItem
-
 
62
{
-
 
63
public:
-
 
64
    qmTwiString ( QString value  );
-
 
65
};
-
 
66
 
-
 
67
class qmTwiFlag : public QTableWidgetItem
-
 
68
{
-
 
69
public:
-
 
70
    qmTwiFlag ( const QString txt, int value  );
-
 
71
    bool operator< ( const QTableWidgetItem & other ) const;
-
 
72
 
-
 
73
private:
-
 
74
    int number;
36
#endif  //QMFULLDATA_H
75
};
-
 
76
 
37
 
77
#endif // QMFULLDATA_H
-