QMessageBox::critical(this,tr("Please select an XML input file first"),tr("You have to select an input XML file before generating C files."),QMessageBox::Ok);
QMessageBox::critical(this,tr("Please select output directory first"),tr("You have to select an output directory before generating C files."),QMessageBox::Ok);