Qt Forum

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

    Forum Updated on Feb 6th

    Labeled menu separators

    General and Desktop
    2
    4
    3316
    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.
    • C
      chernetsov0 last edited by

      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 Reply Quote 0
      • E
        Eddy last edited by

        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 Reply Quote 0
        • C
          chernetsov0 last edited by

          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 Reply Quote 0
          • E
            Eddy last edited by

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