Subversion Repositories svn1

Rev

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

Rev 301 Rev 308
Line 16... Line 16...
16
#include "qmteamdisplay.h"
16
#include "qmteamdisplay.h"
17
#include "ui_qmteamdisplay.h"
17
#include "ui_qmteamdisplay.h"
18
#include "spinboxdelegate.h"
18
#include "spinboxdelegate.h"
19
#include "timedelegate.h"
19
#include "timedelegate.h"
20
#include "textdelegate.h"
20
#include "textdelegate.h"
-
 
21
#include "mainwindow.h"
21
 
22
 
22
/*----------------------------------------------------------------------------
23
/*----------------------------------------------------------------------------
23
** FUNCTION           : qmTeamDisplay
24
** FUNCTION           : qmTeamDisplay
24
**
25
**
25
** DESCRIPTION        : Construct a new widget
26
** DESCRIPTION        : Construct a new widget
Line 109... Line 110...
109
{
110
{
110
    delete ui;
111
    delete ui;
111
}
112
}
112
 
113
 
113
/*----------------------------------------------------------------------------
114
/*----------------------------------------------------------------------------
-
 
115
** FUNCTION           : showEvent
-
 
116
**
-
 
117
** DESCRIPTION        : Slot that is wired into the main windows widget
-
 
118
**                      It will be called when the main window widget changes
-
 
119
**                      If this display is the current display, then load new data
-
 
120
**
-
 
121
** INPUTS             : index of the tab that now has focus
-
 
122
**
-
 
123
----------------------------------------------------------------------------*/
-
 
124
 
-
 
125
void qmTeamDisplay::showEvent ( QShowEvent * event )
-
 
126
{
-
 
127
    qDebug("qmTeamDisplay::showEvent");
-
 
128
    if ( ! event->spontaneous() )
-
 
129
    {
-
 
130
        populate(ui->teamNumber->value());
-
 
131
    }
-
 
132
}
-
 
133
 
-
 
134
/*----------------------------------------------------------------------------
114
** FUNCTION           : blockSignals
135
** FUNCTION           : blockSignals
115
**
136
**
116
** DESCRIPTION        : Block signal from widgets that set Changed
137
** DESCRIPTION        : Block signal from widgets that set Changed
117
**                      while populating the display
138
**                      while populating the display
118
**
139
**