SelectStuForAddDetails::SelectStuForAddDetails(QWidget *parent) : QDialog(parent), ui(new Ui::SelectStuForAddDetails) { ui->setupUi(this); this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint); filepath ="E:/dk work/Motarola/Project Location/Teacher Path/Administration/Admin.xml"; basicPath="E:/dk work/Motarola/Project Location/Teacher Path/Teacher/"; setClassList(); }
void Caracs::ajoutClasse() { nbClasses++; QComboBox* classe = new QComboBox(this); setClassList(classe); c_classe.push_back(classe); QSpinBox* niveau = new QSpinBox(this); niveau->setMinimum(1); niveau->setMaximum(lvlMax); c_niveau.push_back(niveau); layoutClasses->addWidget(classe); layoutClasses->addWidget(niveau); }