source/MainGUI.cpp
/**
 * Displays a errormessage dialog.
 *
 * @param errorMessage The error as QString.
 */
Displays a errormessage dialog.
@param errorMessage The error as QString.
Displays a errormessage dialog . @param errorMessage The error as QString .
void MainGUI::showErrorMessage (QString errorMessage)
{
    addMessage(ColoredMessage("[ERROR] " + errorMessage, ColoredMessage::ERROR));
    QMessageBox msgBox;
    msgBox.setWindowIcon(QIcon(":/images/Error.png"));
    msgBox.setWindowTitle("Error");
    msgBox.setText(errorMessage);
    msgBox.exec();
}
void MainGUI :: showErrorMessage ( QString errorMessage ) { addMessage ( ColoredMessage ( " " + errorMessage , ColoredMessage :: ERROR ) ) ; QMessageBox msgBox ; msgBox . setWindowIcon ( QIcon ( " " ) ) ; msgBox . setWindowTitle ( " " ) ; msgBox . setText ( errorMessage ) ; msgBox . exec ( ) ; }
Displays a errormessage dialog.
Displays a errormessage dialog .