void tools::myMessageBox(QString strTitle, QString strText)
{
QApplication::setQuitOnLastWindowClosed(false);
QMessageBox box;
box.setWindowTitle(strTitle);
box.setText(strText);
box.addButton(QObject::tr("ok"), QMessageBox::AcceptRole);
box.exec();
}