> Looks like you're right. I didn't notice my proposal ended up being so
> close to the current QueryDialog API. :)
>
> I suppose the thing that bothers me the most is that the QueryDialog
> name is not very good. As I said, it sounds like one kind of
> specialization of a MessageBox. You can use message boxes to inform
> about things, it's not only about querying, right? Perhaps we could
> rename QueryDialog to MessageBox and introduce a new QueryDialog
> simply derived from MessageBox just to keep QueryDialog around for
> compatibility reasons.
> 
That's true and with your preferred name-change we would get in sync with the Qt
api. But as far as I understand, the current name has been chosen to follow ui
specs.
 
The CommonDialog Sami mentioned is in fact a convenience class for ensuring that
the proper styling is used; for example developers don't need to define the
title item for themselves, but can just set a string for the title text. This
makes life much easier. Downside is, at moment this class is supposed to be
internal and not part of the exported api.
 
Kind regards
Berthold
 
_______________________________________________
Qt-components mailing list
Qt-components@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-components

Reply via email to