int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    PaintWidget window;
    window.show();
    return app.exec();
}
Esempio n. 2
0
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    PaintWidget w;
    w.show();

    return a.exec();
}