msgBox.setInformativeText("You are using the offline mission editor. Please don't forget to save your mission plan before connecting the UAV, otherwise it will be lost.");
//create a popup notifying the user about the limitations of offline editing
//create a popup notifying the user about the limitations of offline editing
QMessageBoxmsgBox;
if(showOfflineWarning==true)
msgBox.setIcon(QMessageBox::Warning);
{
msgBox.setText("Offline editor!");
QMessageBoxmsgBox;
msgBox.setInformativeText("You are using the offline mission editor. Please don't forget to save your mission plan before connecting the UAV, otherwise it will be lost.");
msgBox.setIcon(QMessageBox::Warning);
msgBox.setStandardButtons(QMessageBox::Ok);
msgBox.setText("Offline editor!");
msgBox.setDefaultButton(QMessageBox::Ok);
msgBox.setInformativeText("You are using the offline mission editor. Please don't forget to save your mission plan before connecting the UAV, otherwise it will be lost.");