Qt Forum

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

    QMenu on QToolButton; better position when there's no room below the button

    General and Desktop
    2
    4
    952
    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.
    • J
      JulienMaille last edited by

      They say a picture is 100 words:
      !http://i.imgur.com/UEDYuCh.png(http://i.imgur.com/UEDYuCh.png)!

      Is there a way to do this without reimplementing everything?
      Thanks a lot

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

        Hi,

        Something is no completely clear, do you have a tool button or a combo box here ?

        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 0
        • J
          JulienMaille last edited by

          a toolbutton with a menu
          http://qt-project.org/doc/qt-4.8/qtoolbutton.html#setMenu

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

            Ok, from a quick look I haven't found an easy way to do it

            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 0
            • First post
              Last post