GeneralPage.h 597 Bytes
Newer Older
Ludovic Fauvet's avatar
Ludovic Fauvet committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
#ifndef GENERALPAGE_H
#define GENERALPAGE_H

#include "ui_GeneralPage.h"

class GeneralPage : public QWizardPage
{
    Q_OBJECT
public:
    GeneralPage( QWidget *parent = 0 );

protected:
    virtual void changeEvent( QEvent *e );
    virtual int nextId() const;
    virtual void initializePage();
    virtual bool validatePage();
    virtual void cleanupPage();

private slots:
    void openWorkspaceDirectory();
    void updateProjectLocation();
    void setWorkspaceStatus( bool valid );

private:
    Ui::GeneralPage ui;
    QPalette pValid;
    QPalette pInvalid;
};

#endif // GENERALPAGE_H