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. Labeled menu separators
Forum Updated to NodeBB v4.3 + New Features

Labeled menu separators

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 3.7k 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.
  • C Offline
    C Offline
    chernetsov0
    wrote on last edited by
    #1

    Application I'm writing is wholly custom styled, using Qt style sheets. And I was always wondering, is it possible to have labeled menu separators like in cleanlooks style?
    See menus example, format menu in cleanlooks to get the idea how it looks like.

    Programmer is an organism that can turn caffeine into code.

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      have a look a the "QMenu stylesheet examples":http://doc.qt.nokia.com/4.7/stylesheet-examples.html#customizing-qmenu

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • C Offline
        C Offline
        chernetsov0
        wrote on last edited by
        #3

        I have had some thorough look at it, but nothing about separator text seems to be in there.
        You can only change height, color, use standard box model (margins, padding, border), that's it.

        Programmer is an organism that can turn caffeine into code.

        1 Reply Last reply
        0
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #4

          I tried some stylesheet hacks without success.

          IMO your best option is to look into the Cleanlooks style and see how they do it.

          Qt Certified Specialist
          www.edalsolutions.be

          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