Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Notification Widget

    General and Desktop
    3
    4
    2591
    Loading More Posts
    • 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.
    • I
      imphero last edited by

      Hey. I would like to create a notification widget that renders above all other windows on the desktop (something like growl). Is there a way to do this using widgets?

      Kind regards.

      1 Reply Last reply Reply Quote 0
      • I
        imphero last edited by

        Never mind I found a way by calling this on the widget I want to keep on top of all other windows:

        setWindowFlags(Qt::WindowStaysOnTopHint);

        Need to work on my googling skills :P

        1 Reply Last reply Reply Quote 0
        • Q
          qedufun last edited by

          Can anyone share an example?

          1 Reply Last reply Reply Quote 0
          • A
            andreyc last edited by

            Take a look on "Window Flags Example":http://qt-project.org/doc/qt-5/qtwidgets-widgets-windowflags-example.html

            1 Reply Last reply Reply Quote 0
            • First post
              Last post