December 21, 2010

syedasadalibs03 syedasadalib..
Lab Rat
24 posts

[Closed] Modal QMainWindow ?

 

i am using Qt for Symbain 4.6 and, i want a Modal QMainWindow open in Full Screen how can i do that ?

i also try try the WindowMoodal Property to ApplicationModal but these property not working.

Thanks in Advance

3 replies

December 21, 2010

Volker Volker
Ant Farmer
5428 posts

What is a “modal QMainWindow”? Modal in relation to what else?

December 21, 2010

Vass Vass
Ant Farmer
740 posts

For full screen mode you will need add third line from this example (to your main.cpp):

  1.    QApplication a(argc, argv);
  2.    MainWindow w;
  3.    w.showFullScreen();
  4.    return a.exec();

 Signature 


Vasiliy

December 21, 2010

Volker Volker
Ant Farmer
5428 posts

I think the OP actually meant a QDialog; the answer was given in this thread [developer.qt.nokia.com], so this should be closed.

 
  ‹‹ (Solved)How to disable the background-image in runtime?      Problem in QDialog Full Screen with Exec() ? ››

You must log in to post a reply. Not a member yet? Register here!