PDA

View Full Version : Is there any way to create new style toolbar like in MSO 2007-8 ?



igor71
24th June 2008, 14:30
Hello, can we somehow create new fancy toolbars which is found in new МS Word for example?

marcel
24th June 2008, 15:31
Of course, if you create them from scratch...
The main window should have no menu bar and no toolbar... Then you should dock your widget in the top area.

igor71
26th June 2008, 06:14
I guess stylesheets is the way to go...
Is anyone have it done in Qt?
Can i see a screenshots of Qt based solution please?
Anyone?
I'm asking because i'm not sure that it's possiblie on 100%.

aamer4yu
26th June 2008, 07:31
Wont QToolBar::addWidget help you ??

igor71
26th June 2008, 09:10
"the main window should have no menu bar and no toolbar"
so, toolbar.addWidget - no way. Because this application dont't have toolbar.
When looking on original MS toolbar they looks like Tab widgets with embedded controls.
Please see this link http://blogs.techrepublic.com.com/msoffice/?p=139
"Ribbon" item.

jpn
28th June 2008, 23:02
As I've heard Trolltech already implemented Ribbon but they just couldn't release it due to some license/patent/whatsoever issues.

wysota
28th June 2008, 23:33
As I've heard Trolltech already implemented Ribbon but they just couldn't release it due to some license/patent/whatsoever issues.

Yes, that's correct. And if you do it yourself, you're subject to the same problem. As far as I remember the patent says an unlicenced implementation can't be used for office-like applications (where "office-like" probably means "any" :P).

igor71
30th June 2008, 08:32
That's a pity!

elcuco
30th June 2008, 18:23
Yes, that's correct. And if you do it yourself, you're subject to the same problem. As far as I remember the patent says an unlicenced implementation can't be used for office-like applications (where "office-like" probably means "any" :P).

Which patent number is it?

wysota
30th June 2008, 20:40
I don't know. It might be pending a patent. I based what I wrote on some trolltech labs entry, I think - so you should be able to dig it up there.

elcuco
30th June 2008, 21:00
I did not find anything on the subject on the labs:

http://labs.trolltech.com/page/Special:Search?ns0=1&ns1=1&ns2=1&ns3=1&ns4=1&ns5=1&ns6=1&ns7=1&ns8=1&ns9=1&ns10=1&ns11=1&ns12=1&ns13=1&ns14=1&ns15=1&redirs=1&search=Ribbon&searchx=Search

wysota
30th June 2008, 22:08
Hmm... maybe I didn't read it. Maybe I heard it from one of the Trolls during last DevDays event. That might have been Matthias Ettrich, but I'm not sure. I'm currently using a gprs connection, so I can't access DevDays materials, but when I'm back home, I'll have a look at the list of talks and maybe I'll find the interesting one.

igor71
2nd July 2008, 09:11
http://en.wikipedia.org/wiki/Ribbon_(computing)
"MS is licensing the ribbon design to third party developers royalty-free, as long as the user interface conforms to the Microsoft's design guidelines and they can get an approval from Microsoft"
And here is licensing process in detail (from MS insider i thing):
http://blogs.msdn.com/jensenh/archive/2006/11/21/licensing-the-2007-microsoft-office-user-interface.aspx
So if Trolltech actually build something like this - looks like there is no problem accquiring free license from Microsoft ?

wysota
2nd July 2008, 09:44
There's only one limitation: if you are building a program which directly competes with Word, Excel, PowerPoint, Outlook, or Access (the Microsoft applications with the new UI), you can't obtain the royalty-free license.

It seems you have to obtain the licence for each and individual project that uses the widget and Trolltech aka Nokia can't guarantee any of the possible uses will not compete with the above mentioned products.

igor71
2nd July 2008, 10:35
It seems you have to obtain the licence for each and individual project that uses the widget and Trolltech aka Nokia can't guarantee any of the possible uses will not compete with the above mentioned products.

I think the keyword is "directly competes" here.
Qt framework is not а Word or Еxcel.
Anyway, i'm not lawer nor trolltech boss.
So it's up to big guys to decide.
Btw, i found this app : http://www.vcreatelogic.com/oss/vtkdesigner/index.html
they use something like "ribbon" with qt framework , and guess what: authors still not in jail! :D (tsss, we don't tell ms)

wysota
2nd July 2008, 12:51
Qt framework is not а Word or Еxcel.
But it can be used to write one.


Btw, i found this app : http://www.vcreatelogic.com/oss/vtkdesigner/index.html
they use something like "ribbon" with qt framework , and guess what: authors still not in jail! :D (tsss, we don't tell ms)

Yeah, but he's hiding in India ;) The main thing is that he is the one who developped the ribbon - it is not part of Qt.

Brandybuck
2nd July 2008, 18:37
The GPL would prevent Trolltech from putting in known patented code into Qt, if there are any restrictions at all attached to it. They could add an exception, but it would be a huge licensing nightmare downstream.

Frankly, I think the ribbon sux and is a huge usability mistake, so it doesn't bother me.

fifth
2nd July 2008, 19:05
The GPL would prevent Trolltech from putting in known patented code into Qt, if there are any restrictions at all attached to it. They could add an exception, but it would be a huge licensing nightmare downstream.

If Trolltech create a similar toolbar/ribbbon, wouldn't they be using a patented design rather than patented code?


Frankly, I think the ribbon sux and is a huge usability mistake, so it doesn't bother me.

I tend to agree here. Although I've never used when properly working, only messed about with it on others pc's.

Chisum
17th September 2009, 01:36
I really dislike all of these patent crap from MS. I was at a large computer show in San Francisco when Wordperfect actually invented the ribbon bar. It was a really big roll-out with a fancy western saloon bar background and a large cast in costumes. This was back in 1990 or so.

But of course, they did not patent the thing. This is so sad but it happens a lot now. The good news is that MS now gets caught in the same patent trap. Check out this site:

http://groklaw.net/

If you scroll down, you can read all about how MS got trapped by a patent on some SML.

And so it goes....

Gary

Chisum
17th September 2009, 01:37
sorry, last post should end:

If you scroll down, you can read all about how MS got trapped by a patent on some XML.

And so it goes....

Gary

pherthyl
22nd October 2009, 02:22
For future reference, Kexi has a ribbon-like UI for anyone that needs ideas/example code.
http://www.kdedevelopers.org/node/2955