Subversion Repositories svn1-original

Rev

Rev 335 | Blame | Compare with Previous | Last modification | View Log | RSS feed

/*============================================================================
**
**  Project/Product : 
**  Filename        : qmlegtimes.h
**  Author(s)       : DDP
**
**  Description     : Display and edit leg time information
**
**
**  Information     :
**   Compiler       : ANSI C++
**   Target         : 
**
***==========================================================================*/

#ifndef QMLEGTIMES_H
#define QMLEGTIMES_H

#include    <QWidget>
#include    "consts.h"
#include    "structs.h"
#include    "proto.h"

namespace Ui {
    class QmLegTimes;
}

class QmLegTimes : public QWidget {
    Q_OBJECT
public:
    QmLegTimes(const int legnum, const QString &name, QWidget *parent = 0);
    ~QmLegTimes();

    void setData(leg_type *data);
    void getData(leg_type *data);

protected:
    void changeEvent(QEvent *e);

private:
    Ui::QmLegTimes *ui;
    int leg;
    bool inSetData;

public slots:
    void enableStartTime( int );
    void updateData(void);

signals:
        void dataChanged(void);
};

#endif // QMLEGTIMES_H