QTfrontend/pages.cpp
changeset 2482 36c44f4156ad
parent 2468 0b62498c201a
child 2515 51d3f4b6293a
equal deleted inserted replaced
2481:e0d89f88dea2 2482:36c44f4156ad
   747 
   747 
   748 	QDir tmpdir;
   748 	QDir tmpdir;
   749 	tmpdir.cd(datadir->absolutePath());
   749 	tmpdir.cd(datadir->absolutePath());
   750 	tmpdir.cd("Trainings");
   750 	tmpdir.cd("Trainings");
   751 	tmpdir.setFilter(QDir::Files);
   751 	tmpdir.setFilter(QDir::Files);
   752 	CBSelect->addItems(tmpdir.entryList(QStringList("*.txt")).replaceInStrings(QRegExp("^(.*)\\.txt"), "\\1"));
   752 	CBSelect->addItems(tmpdir.entryList(QStringList("*_*.txt")).replaceInStrings(QRegExp("^(.*)\\.txt"), "\\1"));
   753 
   753 
   754 	pageLayout->addWidget(CBSelect, 1, 1);
   754 	pageLayout->addWidget(CBSelect, 1, 1);
   755 	
   755 	
   756 	BtnStartTrain = new QPushButton(this);
   756 	BtnStartTrain = new QPushButton(this);
   757 	BtnStartTrain->setFont(*font14);
   757 	BtnStartTrain->setFont(*font14);