QTfrontend/pagetraining.h
changeset 6048 ae213ef7030a
parent 6042 8b5345758f62
child 6052 5e3e7d19bdb5
--- a/QTfrontend/pagetraining.h	Mon Sep 26 21:29:40 2011 -0400
+++ b/QTfrontend/pagetraining.h	Tue Sep 27 04:31:08 2011 +0200
@@ -30,15 +30,31 @@
 public:
     PageTraining(QWidget* parent = 0);
 
-    QPushButton *BtnStartTrain;
-    QComboBox   *CBSelect;
+
+signals:
+    void startMission(const QString & scriptName);
+
 
 protected:
     QLayout * bodyLayoutDefinition();
+    // TODO: footer that says "* downloaded/custom content"
     void connectSignals();
 
+
 private:
+    QPushButton * btnStart; // is also preview
+    QLabel * lblCaption;
+    QLabel * lblDescription;
+    QListWidget * lstMissions;
+    // TODO reload/refresh button
+
     QStringList scriptList(const QDir & scriptDir) const;
+
+
+private slots:
+    void startSelected();
+    void updateInfo();
+
 };
 
 #endif