[Qt-interest] Embedded buttons inside Menubar

Atlant Schmidt aschmidt at dekaresearch.com
Tue May 10 21:26:35 CEST 2011


Dear anonymous:

  I'm not sure I understand your question, but if you're
  referring to the "tab bar" (with the various filenames
  associated with each tab and a close button for each tab),
  then why can't each tab simply be two buttons that are
  appropriately styled?

  That is, each tab will consist of:

    o A left-half button that contains the filename
      and has a background image associated with it
      so it ends up looking like this:
          ______________
        _/ filename.ext


    o And a right-half button that has a background
      image associated with it that makes it look
      something like this:
                          ___
                           X \_


  Then use the button-clicked signal from the left-half
  button to bring the associated window frontmost and
  use the button-clicked signal from the right-half
  button to close the associated window.

  Or did I misunderstand your question ;-) ?

                          Atlant

-----Original Message-----
From: qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com [mailto:qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com] On Behalf Of admin at mbnoimi.net
Sent: Tuesday, May 10, 2011 07:06
To: qt-interest at trolltech.com
Subject: [Qt-interest] Embedded buttons inside Menubar

Hi All,


How can I embed window title buttons in inside Menubar just like modern
applications (Firefox, Photoshop... etc)?


PS

See the screenshot for more explanation.


This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.

Thank you.

Please consider the environment before printing this email.



More information about the Qt-interest-old mailing list