--- a/QTfrontend/pages.cpp Thu Oct 15 19:38:18 2009 +0000
+++ b/QTfrontend/pages.cpp Thu Oct 15 21:47:05 2009 +0000
@@ -743,6 +743,16 @@
pageLayout->setColumnStretch(1, 2);
pageLayout->setColumnStretch(2, 1);
+ CBSelect = new QComboBox(this);
+
+ QDir tmpdir;
+ tmpdir.cd(datadir->absolutePath());
+ tmpdir.cd("Trainings");
+ tmpdir.setFilter(QDir::Files);
+ CBSelect->addItems(tmpdir.entryList(QStringList("*.txt")).replaceInStrings(QRegExp("^(.*)\\.txt"), "\\1"));
+
+ pageLayout->addWidget(CBSelect, 1, 1);
+
BtnStartTrain = new QPushButton(this);
BtnStartTrain->setFont(*font14);
BtnStartTrain->setText(QPushButton::tr("Go!"));