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. [SOLVED]How to control QAction position in QToolBar & QMenuBar
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]How to control QAction position in QToolBar & QMenuBar

Scheduled Pinned Locked Moved General and Desktop
3 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.
  • E Offline
    E Offline
    engdarkman89
    wrote on last edited by
    #1

    Hi professionals,

    I wonder how can i control the position of a QAction in QToolBar & QMenuBar?

    What i am trying to do is the following:

    • Position a QAction at the end of my QMenuBar (at most right).
    • Position a Help QAction (button) at the end of my QToolBar (at most right).

    Thanks.

    1 Reply Last reply
    0
    • B Offline
      B Offline
      broadpeak
      wrote on last edited by
      #2

      Something like this:
      http://stackoverflow.com/questions/8726677/aligning-qmenubar-items-add-some-on-left-and-some-on-right-side

      1 Reply Last reply
      0
      • E Offline
        E Offline
        engdarkman89
        wrote on last edited by
        #3

        Thanks broadpeak, problem solved.

        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