I am programming in qt using windows 7. i would like to develop splash screen which will show the progress of hanndlers initialization. Can you give me some idea like how can I do this.
Welcome to forum :)
There is a splash screen "widget":http://developer.qt.nokia.com/doc/qt-4.8/qsplashscreen.html to do this.
I am very new to Qt programming. actually: I am initializing some handler classes in my application. I would like to show these initializations in progress bar in the splash screen. After this: if user is authenticated user: then he will view the main window.Can you tell me the different approaches to do this.Please give me step by step explanation with some code to do this implementation.
Okay, so you have two options for to show the preparations and status. One is Splash Screen Widget that i mentioned before. Other is "QProgressDialog":http://developer.qt.nokia.com/doc/qt-4.8/QProgressDialog.html .
One easiest way of doing this verification, then shoing your mainwindow with the Qt Creator is using the "QStackedWidget":http://developer.qt.nokia.com/doc/qt-4.8/qstackedwidget.html
Other ways are obvious, like a dialog box appears asks for authentication, and according to the result, show or hide something on your main window.
Could be done in many ways. How ever, i feel like you can inspire something from this "example":http://developer.qt.nokia.com/doc/qt-4.7/network-network-chat.html#id-af7a94ea-06a9-47c5-a4cd-6a4ae2d1e12c or "this ":http://developer.qt.nokia.com/doc/qt-4.7/network-fortuneclient.html#id-e1394f8e-04d4-46b9-887d-e07cf2fe68fe