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. Menu Style?
Forum Updated to NodeBB v4.3 + New Features

Menu Style?

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 1.2k 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.
  • R Offline
    R Offline
    RuneRask
    wrote on last edited by
    #1

    I was looking through the docs for creating context menu's using QtQuick controls, and while the menu/menuItem combo is perfect for me, i would really like to style it to match the rest of my application. Looking back "in time" it seems that both style, platformstyle and other things was present at some point, and even styling components (such as MenuStyle) - this is however no longer in there? Or am i missing something?

    In the end, i guess my question is, if there is some solution out there, or if i should roll my own context menu?
    (also, for the future, is there any good way to hook into the QtQuick controls and define your own styles?).

    Thanks,
    Rune

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qt_sur
      wrote on last edited by
      #2

      This post is probably no longer relevant but just a FYI, Qt 5.3 has added MenuStyle; custom styling for Menu object in QML : https://qt-project.org/doc/qt-5/qml-qtquick-controls-styles-menustyle.html#frame-prop

      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