Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. Splash screen
Qt 6.11 is out! See what's new in the release blog

Splash screen

Scheduled Pinned Locked Moved C++ Gurus
4 Posts 2 Posters 4.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shankarraj
    wrote on last edited by
    #1

    Hi Friends,
    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.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rahul Das
      wrote on last edited by
      #2

      Welcome to forum :)

      There is a splash screen "widget":http://developer.qt.nokia.com/doc/qt-4.8/qsplashscreen.html to do this.


      Declaration of (Platform) independence.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        shankarraj
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Rahul Das
          wrote on last edited by
          #4

          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


          Declaration of (Platform) independence.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved