[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KMessageBox question
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2004-01-10 20:27:11
Message-ID: 200401102127.25710.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Saturday 10 January 2004 21:09, Martin Koller wrote:
> Hi all,
>
> I'm currently continuing my work on the joystick KCM, and when the user
> clicks on "Calibrate", I like to open a Message Box, which tells the user
> to center the joystick ... and click on OK to continue (or Cancel to
> abort).
>
> So this is not a question, therefore KMessageBox::questionYesNo() is not
> appropriate.
> It's also not a warning, therefore KMessageBox::warningContinueCancel() is
> not appropriate.
> KMessageBox::information() has only the OK button, and
> trying to use KMessageBox::messageBox( ... Information ...) displays also
> only the OK button.

KMessageBox::messageBox() use KMessageBox::Information as the Dialog Type and 
KGuiItem::ok() as Yes Option and KGuiItem::cancel() as No Option

Cheers,
Kevin

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic