示例#1
0
int main(int argc, char *argv[])
{
  QApplication app(argc, argv);
  MandelbrotWidget w;
  w.show();
  return app.exec();
}
示例#2
0
//! [0]
int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    MandelbrotWidget widget;
#if defined(Q_WS_S60)
    widget.showMaximized();
#else
    widget.show();
#endif
    return app.exec();
}