QTfrontend/pagetraining.h
changeset 6052 5e3e7d19bdb5
parent 6048 ae213ef7030a
child 6058 ae8684864a6e
equal deleted inserted replaced
6050:07561ade87ca 6052:5e3e7d19bdb5
    35     void startMission(const QString & scriptName);
    35     void startMission(const QString & scriptName);
    36 
    36 
    37 
    37 
    38 protected:
    38 protected:
    39     QLayout * bodyLayoutDefinition();
    39     QLayout * bodyLayoutDefinition();
    40     // TODO: footer that says "* downloaded/custom content"
    40     QLayout * footerLayoutDefinition();
    41     void connectSignals();
    41     void connectSignals();
    42 
    42 
    43 
    43 
    44 private:
    44 private:
    45     QPushButton * btnStart; // is also preview
    45     QPushButton * btnPreview;
       
    46     QPushButton * btnStart;
    46     QLabel * lblCaption;
    47     QLabel * lblCaption;
    47     QLabel * lblDescription;
    48     QLabel * lblDescription;
    48     QListWidget * lstMissions;
    49     QListWidget * lstMissions;
    49     // TODO reload/refresh button
       
    50 
    50 
    51     QStringList scriptList(const QDir & scriptDir) const;
    51     QStringList scriptList(const QDir & scriptDir) const;
    52 
    52 
    53 
    53 
    54 private slots:
    54 private slots: