[Qt-interest] Dialogs with buttons but no default button

Nikos Chantziaras realnc at arcor.de
Wed Feb 9 03:32:41 CET 2011


On 02/09/2011 04:07 AM, Malyushytsky, Alex wrote:
> According to my understanding,
> if there is a child control(QWidget)
> which can get focus in dialog (any top level widget),
> the focus will be passed there when such top level widget gets focus.
>
> It seems logical.

There isn't tough :-/


> -----Original Message-----
> From: qt-interest-bounces+alex=wai.com at qt.nokia.com [mailto:qt-interest-bounces+alex=wai.com at qt.nokia.com] On Behalf Of Nikos Chantziaras
> Sent: Tuesday, February 08, 2011 5:26 PM
> To: qt-interest at qt.nokia.com
> Subject: [Qt-interest] Dialogs with buttons but no default button
>
> Is it possible to create dialogs with buttons that have no default
> button at all?  That is, no button should have focus initially and
> nothing should happen when pressing ENTER.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>
> ---------------------------------------------------------------------------------------------------
> Weidlinger Associates, Inc. made the following annotations.
>
> “This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.”
>
> “Please consider our environment before printing this email.”




More information about the Qt-interest-old mailing list