Jean-Marc Lasgouttes wrote:
Abdelrazak Younes <[EMAIL PROTECTED]> writes:Yes, for me dialogs bigger than the label input dialog are cumbersome because I always have to move them to see what's underneath. The paragraph dialog fall in this case.OK, let's try to see what others are doing, then. What are your typical example of application that went to heavy use of docks for all kind of settings?
Qt designer is a good example. Open Office is another one. Typically OO would dock a paragraph settings dialog.
I understand this problem, but I do not think your solution is the right one. And I do not think we should change the way non-maximization people work because of the problems of the maximization people.I agree and that's why the floating feature of dock widget is nice.But unfortunately, it does not 'feel' right (to me at least).
For me, it is almost the same. I'd even say it feels better than a QDialog based one.
Maybe have all buttons off when the alignment is to default.But then how would you change the alignment to something else than default? First unchecking the default button and then check one of the other buttons? Not very nice IMHO but why not.It is something I just made up. One could have only 4 buttons (left right centered justified) that act like toggles but are exclusive. "All off" would be 'use default'.I'd appreciate if you could revert the docking part indeed.Look at what I've just committed.Have a look. I cannot say that I like it :) You see also what I mean by tiny title bar (which is admittedly aesthetics).
I see... but look at mine. There is no much difference between a real dialog and this one. This is on WinXP with Qt4.2.
There are two differences compared to a QDialog:1) this floating dialog is semi-modal: you cannot put it behind the main window but it does not keep the focus.
2) there is no window bar entry for it.
And I found another reason why an undocked palette is not a dialog: when you want to move it around, it just tries to dock to the borders. This is very annoying.
Yes, that's why I said that we should find a way to forbid the automatic docking when the window is moved around.
BTW, why is the first alignment entry in a small font??
Maybe because the text is too big (here it is cropped), I'll correct that. Abdel.
<<attachment: paragraph_undocked.png>>