Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to add menu in MenuBar
Forum Updated to NodeBB v4.3 + New Features

How to add menu in MenuBar

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlqtquickcontrol
2 Posts 2 Posters 898 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.
  • E Offline
    E Offline
    e53871eb35312d29ea3b6478e9489038
    wrote on 1 May 2016, 09:07 last edited by
    #1

    Is there way to add Menu in MenuBar from C++ code (ie dynamically, on fly)?
    Or the only way to achieve this is to hard code all menus in qml file?

    M 1 Reply Last reply 1 May 2016, 19:46
    0
    • E e53871eb35312d29ea3b6478e9489038
      1 May 2016, 09:07

      Is there way to add Menu in MenuBar from C++ code (ie dynamically, on fly)?
      Or the only way to achieve this is to hard code all menus in qml file?

      M Offline
      M Offline
      medyakovvit
      wrote on 1 May 2016, 19:46 last edited by
      #2

      @e53871eb35312d29ea3b6478e9489038
      Maybe you can consider the possibility to create Menu dynamically from qml? For example createComponent.

      1 Reply Last reply
      0

      2/2

      1 May 2016, 19:46

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved