Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using a Widget as Splashscreen?
QtWS25 Last Chance

Using a Widget as Splashscreen?

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 197 Views
  • 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.
  • BDC_PatrickB Offline
    BDC_PatrickB Offline
    BDC_Patrick
    wrote on last edited by
    #1

    Hi there..

    I tried to create a Splash Screen for my App and found out, that only pixmaps are allowed with QSplashScreen. So.. i want to have changing Text and random Images in the Splash itself.. means.. i need a Widget with labels and a stack View to make this happen.

    But, when i tried to use a Widget via Widget *name = new Widget..., it shows a new Window ith Border, Close Button..etc..

    Question now:
    How can i show a Widget as a Splashscreen?

    J.HilkJ 1 Reply Last reply
    0
    • BDC_PatrickB BDC_Patrick

      Hi there..

      I tried to create a Splash Screen for my App and found out, that only pixmaps are allowed with QSplashScreen. So.. i want to have changing Text and random Images in the Splash itself.. means.. i need a Widget with labels and a stack View to make this happen.

      But, when i tried to use a Widget via Widget *name = new Widget..., it shows a new Window ith Border, Close Button..etc..

      Question now:
      How can i show a Widget as a Splashscreen?

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @BDC_Patrick set the window flag SplashScreen is a good start :D

      https://doc.qt.io/qt-5/qt.html#WindowType-enum


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      BDC_PatrickB 1 Reply Last reply
      4
      • J.HilkJ J.Hilk

        @BDC_Patrick set the window flag SplashScreen is a good start :D

        https://doc.qt.io/qt-5/qt.html#WindowType-enum

        BDC_PatrickB Offline
        BDC_PatrickB Offline
        BDC_Patrick
        wrote on last edited by
        #3

        @J-Hilk You´re great - Thank you :D

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Out of curiosity, did you saw that you can change the image as well as the message on QSplashScreen ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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