Subversion Repositories svn1-original

Rev

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

Rev 245 Rev 259
Line 31... Line 31...
31
}
31
}
32
 
32
 
33
class qmTeamDisplay : public QWidget {
33
class qmTeamDisplay : public QWidget {
34
    Q_OBJECT
34
    Q_OBJECT
35
public:
35
public:
36
    qmTeamDisplay(QWidget *parent = 0);
36
    qmTeamDisplay(QWidget *parent = 0, int initialTeam = 0, bool useDone = false);
37
    ~qmTeamDisplay();
37
    ~qmTeamDisplay();
38
 
38
 
39
protected:
39
protected:
40
    void changeEvent(QEvent *e);
40
    void changeEvent(QEvent *e);
-
 
41
    void blockSignals(bool state);
41
 
42
 
42
private:
43
private:
43
    Ui::QmTeamDisplay *ui;
44
    Ui::QmTeamDisplay *ui;
44
 
45
 
45
    int         team;                                // Current team number
46
    int         team;                                // Current team number
46
    team_type   team_buf;                            // Holds team data currently under display
47
    team_type   team_buf;                            // Holds team data currently under display
47
    QmLegTimes *lt[MAX_LEGS+1];                      // Per Leg Widgets
48
    QmLegTimes *lt[MAX_LEGS+1];                      // Per Leg Widgets
48
    bool        dirty;                               // Unsaved changes
49
    bool        dirty;                               // Unsaved changes
49
    bool        populating;
50
    bool        populating;
-
 
51
    bool        enableDone;                          // Dialog usage
50
 
52
 
51
 
53
 
52
public slots:
54
public slots:
53
    void save(void);
55
    void save(void);
54
    void suckData(void);
56
    void suckData(void);
Line 56... Line 58...
56
    void populate(int team_number);
58
    void populate(int team_number);
57
    void recalculateTimes( void );
59
    void recalculateTimes( void );
58
    void changed(void);
60
    void changed(void);
59
    void updateChanged(bool dirty);
61
    void updateChanged(bool dirty);
60
    void updateCategory(void);
62
    void updateCategory(void);
-
 
63
 
-
 
64
signals:
-
 
65
    void dialogDone(int);
61
};
66
};
62
 
67
 
63
#endif // TEAMDISPLAY_H
68
#endif // TEAMDISPLAY_H