Rev 142 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*============================================================================**** Project/Product :** Filename : qmteamdisplay.h** Author(s) : DDP**** Description : Display and Update Team Information****** Information :** Compiler : ANSI C++** Target :*****==========================================================================*/#ifndef TEAMDISPLAY_H#define TEAMDISPLAY_H#include "consts.h"#include "structs.h"#include "proto.h"#include <QWidget>#include "qmlegtimes.h"namespace Ui {class QmTeamDisplay;}class qmTeamDisplay : public QWidget {Q_OBJECTpublic:qmTeamDisplay(QWidget *parent = 0);~qmTeamDisplay();protected:void changeEvent(QEvent *e);private:Ui::QmTeamDisplay *ui;int team; // Current team numberteam_type team_buf; // Holds team data currently under displayQmLegTimes *lt[MAX_LEGS+1]; // Per Leg Widgetsbool dirty; // Unsaved changesbool populating;public slots:void save(void);void cancel(void);void populate(int team_number);void recalculateTimes( void );void changed(void);void updateChanged(bool dirty);};#endif // TEAMDISPLAY_H