Subversion Repositories svn1

Rev

Rev 236 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
144 - 1
#ifndef QMDIALOGLOADEXTERNALTEAMS_H
2
#define QMDIALOGLOADEXTERNALTEAMS_H
3
 
4
#include <QDialog>
221 - 5
#include <QLineEdit>
6
#include <QGroupBox>
7
#include <QTableWidget>
8
#include <QPushButton>
144 - 9
 
10
class QmDialogLoadExternalTeams : public QDialog
11
{
12
    Q_OBJECT
13
 
14
public:
145 - 15
    explicit QmDialogLoadExternalTeams(const QString &efile, QWidget *parent = 0);
149 - 16
    static void storeData(const QString &efile);
152 david 17
    static void storeTeamInfo(const QString &efile);
144 - 18
    ~QmDialogLoadExternalTeams();
19
 
20
private:
151 david 21
    static QStringList splitCsvData( const QString data);
271 david 22
    static bool hasRefError( const QString data);
151 david 23
    static QString toCsv(const QString &str);
24
    static QString toCsv(const int data);
271 david 25
    void reportErrors( int bad_cat, int bad_ref );
146 david 26
 
221 - 27
    QLineEdit *fileName;
28
    QGroupBox *groupBox;
29
    QTableWidget *tableWidget;
30
    QPushButton *cancel;
31
    QPushButton *load;
32
 
33
 
146 david 34
public slots:
35
    void loadData(void);
144 - 36
};
37
 
38
#endif // QMDIALOGLOADEXTERNALTEAMS_H