Re: Main Toolbar/Toolbar in QToolBar

2013-08-14 Thread Àlex Fiestas
On Wednesday 14 August 2013 18:27:30 David Faure wrote: > On Wednesday 14 August 2013 17:33:26 Kevin Ottens wrote: > > Is it me or we just need a method in KWidgetsAddons to declare which > > toolbar of a window is the main one? That choice is obviously in the > > hands > > of the application deve

Re: Main Toolbar/Toolbar in QToolBar

2013-08-14 Thread David Faure
On Wednesday 14 August 2013 17:33:26 Kevin Ottens wrote: > Is it me or we just need a method in KWidgetsAddons to declare which > toolbar of a window is the main one? That choice is obviously in the hands > of the application developer, And that would be used only in new client > code. All other t

Re: Main Toolbar/Toolbar in QToolBar

2013-08-14 Thread Àlex Fiestas
So, after looking one last time into QWidget/QToolBar the only thing we can do is use dynamic properties so that's what I will do. Since using a dynamic Property is only a good enough solution, but not excellent I'm going to wait until tomorrow to implement this just in case somebody else comes

Re: Main Toolbar/Toolbar in QToolBar

2013-08-14 Thread Kevin Ottens
On Wednesday 14 August 2013 17:25:15 Kevin Ottens wrote: > On Wednesday 14 August 2013 16:45:50 Aurélien Gâteau wrote: > > Le mercredi 14 août 2013 16:06:07 Àlex Fiestas a écrit : > > > On Wednesday 14 August 2013 13:58:44 you wrote: > > > > > , of course there are exceptions but we > > > > > can't

Re: Main Toolbar/Toolbar in QToolBar

2013-08-14 Thread Kevin Ottens
On Wednesday 14 August 2013 16:45:50 Aurélien Gâteau wrote: > Le mercredi 14 août 2013 16:06:07 Àlex Fiestas a écrit : > > On Wednesday 14 August 2013 13:58:44 you wrote: > > > > , of course there are exceptions but we > > > > can't move all these logic to Qt. > > > > > > These aren't exceptions.

Re: Main Toolbar/Toolbar in QToolBar

2013-08-14 Thread Aurélien Gâteau
Le mercredi 14 août 2013 16:06:07 Àlex Fiestas a écrit : > On Wednesday 14 August 2013 13:58:44 you wrote: > > > , of course there are exceptions but we > > > can't move all these logic to Qt. > > > > These aren't exceptions. > > > > The definition of "Main Toolbar" was that it's the first mainwi

Re: Main Toolbar/Toolbar in QToolBar

2013-08-14 Thread Kevin Ottens
On Wednesday 14 August 2013 16:06:07 Àlex Fiestas wrote: > On Wednesday 14 August 2013 13:58:44 you wrote: > > > , of course there are exceptions but we > > > can't move all these logic to Qt. > > > > These aren't exceptions. > > > > The definition of "Main Toolbar" was that it's the first mainwi

Re: Main Toolbar/Toolbar in QToolBar

2013-08-14 Thread Àlex Fiestas
On Wednesday 14 August 2013 13:58:44 you wrote: > > , of course there are exceptions but we > > can't move all these logic to Qt. > > These aren't exceptions. > > The definition of "Main Toolbar" was that it's the first mainwindow toolbar. > > You can't call other-than-first exceptions, they are

Re: Main Toolbar/Toolbar in QToolBar

2013-08-14 Thread David Faure
On Tuesday 13 August 2013 15:33:59 Àlex Fiestas wrote: > On Tuesday 13 August 2013 15:05:46 Christoph Feck wrote: > > On Tuesday 13 August 2013 14:00:37 Àlex Fiestas wrote: > > > Effectively a Main Toolbar is usually a toolbar that is a child of > > > QMainWindow while a "ToolBar" is a toolbar who'

Re: Main Toolbar/Toolbar in QToolBar

2013-08-13 Thread Àlex Fiestas
On Tuesday 13 August 2013 15:05:46 Christoph Feck wrote: > On Tuesday 13 August 2013 14:00:37 Àlex Fiestas wrote: > > Effectively a Main Toolbar is usually a toolbar that is a child of > > QMainWindow while a "ToolBar" is a toolbar who's parent is another > > QWidget. > > A secondary toolbar is ev

Re: Main Toolbar/Toolbar in QToolBar

2013-08-13 Thread Christoph Feck
On Tuesday 13 August 2013 14:00:37 Àlex Fiestas wrote: > Effectively a Main Toolbar is usually a toolbar that is a child of > QMainWindow while a "ToolBar" is a toolbar who's parent is another > QWidget. A secondary toolbar is every toolbar not called the "Main Toolbar". For example in Konqueror,

Re: Main Toolbar/Toolbar in QToolBar

2013-08-13 Thread Kevin Ottens
On Tuesday 13 August 2013 14:00:37 Àlex Fiestas wrote: > So, last thing to discuss about "Make QToolBar follow KDE settings" is the > differentiation we do between Main Toolbar and just Toolbar. > > Effectively a Main Toolbar is usually a toolbar that is a child of > QMainWindow while a "ToolBar"

Main Toolbar/Toolbar in QToolBar

2013-08-13 Thread Àlex Fiestas
So, last thing to discuss about "Make QToolBar follow KDE settings" is the differentiation we do between Main Toolbar and just Toolbar. Effectively a Main Toolbar is usually a toolbar that is a child of QMainWindow while a "ToolBar" is a toolbar who's parent is another QWidget. While Qt doesn't