Пример #1
0
void lc_Sampledlg::checkAccept()
{

    errmsg.clear();
    if (failGUI(&errmsg)) {
        QMessageBox::critical ( this, tr("Sample plugin"), errmsg );
        errmsg.clear();
        return;
    }
    accept();
}
Пример #2
0
void lc_Sampledlg::checkAccept()
{

    errmsg.clear();
    if (failGUI(&errmsg)) {
        QMessageBox::critical ( this, "Error Display", errmsg );
        errmsg.clear();
        return;
    }
    accept();
}
Пример #3
0
void lc_tankdlg::checkAccept()
{

    errmsg.clear();
    if (failGUI(&errmsg)) {
        QMessageBox::critical ( this, "views", errmsg );
        errmsg.clear();
        return;
    }
    accept();
}
Пример #4
0
void dibPunto::checkAccept()
{

    errmsg.clear();
    if (failGUI(&errmsg)) {
        QMessageBox::critical ( this, "Sample plugin", errmsg );
        errmsg.clear();
        return;
    }
    writeSettings();
    accept();
}
Пример #5
0
void picPunto::checkAccept()
{

    errmsg.clear();
    if (failGUI(&errmsg)) {
        QMessageBox::critical ( this, "Pic file read plugin", errmsg );
        errmsg.clear();
        return;
    }
    writeSettings();
    accept();
}