Rev 311 | Rev 314 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#ifndef QMFULLDATA_H#define QMFULLDATA_H#include <QWidget>#include <QTableWidget>#include <QPushButton>#include <QTableWidgetItem>/*----------------------------------------------------------------------------** CLASS : qmFullData**** DESCRIPTION : Class to render the FullData page**----------------------------------------------------------------------------*/class qmFullData : public QWidget{Q_OBJECTpublic:explicit qmFullData(QWidget *parent = 0);private:QTableWidget *tableWidget;QPushButton *refreshButton;void showEvent ( QShowEvent * event ); // Overload Widget Functionsignals:public slots:void loadData(void);void selectTeam( int row, int col);};/*----------------------------------------------------------------------------** CLASS : qmTwi...**** DESCRIPTION : A collection of helper classes derived from QTableWidgetItem** Used to assist in rendering items in tables**----------------------------------------------------------------------------*/class qmTwiNumber : public QTableWidgetItem{public:qmTwiNumber ( int value );bool operator< ( const QTableWidgetItem & other ) const;int number;};class qmTwiTime : public QTableWidgetItem{public:qmTwiTime ( int value );bool operator< ( const QTableWidgetItem & other ) const;private:int number;};class qmTwiString : public QTableWidgetItem{public:qmTwiString ( QString value );};class qmTwiFlag : public QTableWidgetItem{public:qmTwiFlag ( const QString txt, int value );bool operator< ( const QTableWidgetItem & other ) const;private:int number;};#endif // QMFULLDATA_H