int main(int argc, char **argv) { QApplication app(argc, argv); FadeMessage widget; widget.setWindowTitle(QT_TRANSLATE_NOOP(QGraphicsView, "Popup Message with Effect")); widget.setFixedSize(400, 600); widget.show(); return app.exec(); }
int main(int argc, char **argv) { QApplication app(argc, argv); FadeMessage widget; widget.setWindowTitle(QT_TRANSLATE_NOOP(QGraphicsView, "Popup Message with Effect")); #if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5) widget.showMaximized(); #else widget.setFixedSize(400, 600); widget.show(); #endif return app.exec(); }