Exemplo n.º 1
0
int main(int argc, char **argv)
{
    QApplication app(argc, argv);

    BlurPicker blurPicker;
    blurPicker.setWindowTitle(QT_TRANSLATE_NOOP(QGraphicsView, "Application Picker"));
    blurPicker.setFixedSize(400, 300);
    blurPicker.show();

    return app.exec();
}
Exemplo n.º 2
0
int main(int argc, char **argv)
{
    QApplication app(argc, argv);

    BlurPicker blurPicker;
    blurPicker.setWindowTitle(QT_TRANSLATE_NOOP(QGraphicsView, "Application Picker"));

#if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5) || defined(Q_WS_SIMULATOR)
    blurPicker.showMaximized();
#else
    blurPicker.setFixedSize(400, 300);
    blurPicker.show();
#endif

    return app.exec();
}