Subversion Repositories svn1-original

Rev

Rev 278 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
277 david 1
/*============================================================================ 
2
** Copyright (C) 1998-2012 Vix Technology, All rights reserved
3
**============================================================================
4
**
5
**  Project/Product : 
6
**  Filename        : qmteamselector.h
7
**  Author(s)       : DDP
8
**
9
**  Description     : Based on a QSoinBox with features
10
**                      Return - will emit signal
11
**                      All text is selected on focus
12
**
13
**  Information     :
14
**   Compiler       : ANSI C++
15
**   Target         : 
16
**
17
***==========================================================================*/
18
 
19
#ifndef QMTEAMSELECTOR_H
20
#define QMTEAMSELECTOR_H
21
 
22
#include <QSpinBox>
23
 
24
class QmTeamSelector : public QSpinBox
25
{
26
    Q_OBJECT
27
 
28
public:
29
    QmTeamSelector();
30
 
31
private:
32
    void focusInEvent(QFocusEvent * event);
33
    void keyPressEvent(QKeyEvent * event);
34
 
35
signals:
36
        void teamSelected(void);
37
};
38
 
39
#endif // QMTEAMSELECTOR_H