[Qt-interest] Embedded buttons inside Menubar

admin at mbnoimi.net admin at mbnoimi.net
Wed May 11 19:46:44 CEST 2011


On 11/05/2011 12:36 م, admin at mbnoimi.net wrote:

> On 11/05/2011 11:30 ص, Witteveen, Arnt wrote:
>
>>> From: qt-interest-bounces+arntw=enfocus.com at qt.nokia.com
>>> On Behalf Of Atlant Schmidt
>>>
>>> Dear anonymous:
>>>
>>>     I'm not sure I understand your question, but if you're
>>>     referring to the "tab bar" (with the various filenames
>>>
>>>     Or did I misunderstand your question ;-) ?
>> I think you did. The original email had an attachment with no tabs in
>> it. What he is looking at is something like this :
>> http://www.softpedia.com/progScreenshots/Adobe-InDesign-Screenshot-12389
>> 9.html
>>
>> Where you can see that the window's title bar (which contains the close
>> (cross), minimize and maximize button's on windows, and a titile text
>> but is otherwise empty, and so lost screen real estate) is used to put
>> in search field, icons, menu's, ...
>>
>> I do wonder how they do that, I'm guessing the answer could be making a
>> window without a title bar and setting close etc buttons yourself in an
>> appropriate place in your window?
> Exactly, this is what I'm looking for.
>
> How did they do that?
>   From my side I don't think they put the buttons manually because I
> noticed that the style of these buttons changes whenever you change the
> style of system look and feel.
I manually fix this issue but I think the solution is really stupid (I 
couldn't find any practical solution) see the attachments.

But there is an issue about click & drag on QMenuBar, I'll try for fix 
it, could you please give me a snippet about it.

PS
In KDE, I usually use ALT+Drag but in Windows I didn't find this option 
so I'll try to code it manually by Qt.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.11-05-2011 20.28.36.png
Type: image/png
Size: 12695 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110511/6c9dd14b/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EmbededTitleBar.zip
Type: application/x-zip-compressed
Size: 45808 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110511/6c9dd14b/attachment.bin 


More information about the Qt-interest-old mailing list