PDA

View Full Version : about ribbon style in qt



lrjdragon
18th March 2010, 09:22
Hey guys:
I am deeply impressed by the UI style of office 2007.Recently I'm working on a project with QT and I want to implement that kind of UI, but to do it from scratch is too much work to do and I do not have that much time.So I want to ask if anybody has done that before?And where I can find the source code?

toutarrive
18th March 2010, 09:35
but to do it from scratch is too much work to do and I do not have that much time .So I want to ask if anybody has done that before?And where I can find the source code?

And i suppose you will give a reward to the one doing the job (or even the search) on your behalf...

Lykurg
18th March 2010, 09:48
Use the forums search engine with "ribbon" and you will find some interesting post about that. And I think you have to do it from the scratch. And I should be done in some hours.

lrjdragon
19th March 2010, 12:48
I tried but did not find anything useful.

ktk
19th March 2010, 22:53
The problem with ribbons might not the code but the lawyers. At least http://en.wikipedia.org/wiki/Ribbon_(computing) gives the impression that consulting one or two might be a good idea before implementing them.

ChrisW67
20th March 2010, 00:49
There's no off-the-reel ribbon bar solution that I'm aware of. In one of the threads Lykurg's search finds:
http://www.qtcentre.org/threads/14376-Is-there-any-way-to-create-new-style-toolbar-like-in-MSO-2007-8?highlight=ribbon
is the suggestion that an existing implementation is in Kexi's alpha:
http://www.kdedevelopers.org/node/2955

No time to do even something as straightforward as Wysota's suggestion (also from the "ribbon" search)?
http://www.qtcentre.org/threads/26284-Menues-like-2007-office-applications?highlight=ribbon

The easiest way is simply to add a QTabWidget to your toolbar as a QWidgetAction. Inside you can place toolbars or buttons or whatever you like.

lrjdragon
22nd March 2010, 04:51
Ah,in fact,I think it is not that difficult to implement the menu bar of ribbon style.I think it's tough to work out the application button and the look and feel of its menu bar's background.