Qt Forum

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

    Taskbar Dropup

    General and Desktop
    qt 5.4 qsystemtrayicon
    2
    12
    3200
    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.
    • B
      beardedarab64 last edited by

      Is it possible to make a taskbar dropup application with QT? See link for example.

      Dropup

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        You should check the QtWinExtras module, it might contain what you want. Here you can find an overview of the specific classes.

        Hope it helps

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

        B 1 Reply Last reply Reply Quote 1
        • B
          beardedarab64 @SGaist last edited by

          @SGaist I need this feature to work on osx and linux as well.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Can you show an example on OS X and Linux ?

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

            B 1 Reply Last reply Reply Quote 1
            • B
              beardedarab64 @SGaist last edited by

              @SGaist Example

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                That can be done with a QSystemTrayIcon and a custom widget for the popup part

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

                B 1 Reply Last reply Reply Quote 1
                • B
                  beardedarab64 @SGaist last edited by

                  @SGaist When I use QSystemTrayIcon it just puts an icon the task bar that opens a qt window. I just need a dropdown.

                  1 Reply Last reply Reply Quote 0
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    The example you posted on OS X is a tray icon with a customized menu or widget. There's no right click context menu on that bar.

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

                    B 1 Reply Last reply Reply Quote 1
                    • B
                      beardedarab64 @SGaist last edited by

                      @SGaist I don't want to use right click. I just need it when the user clicks on the icon on the taskbar a dropdown list appears.

                      1 Reply Last reply Reply Quote 0
                      • SGaist
                        SGaist Lifetime Qt Champion last edited by

                        Then again, look at QSystemTrayIcon

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

                        B 1 Reply Last reply Reply Quote 1
                        • B
                          beardedarab64 @SGaist last edited by

                          @SGaist Where would I start.

                          Note: I'm new to Qt.

                          1 Reply Last reply Reply Quote 0
                          • SGaist
                            SGaist Lifetime Qt Champion last edited by

                            By reading the documentation I linked to and the examples also available from Qt. The "System Tray Icon" example is a good start.

                            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 Reply Quote 1
                            • First post
                              Last post