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

List:       kde-devel
Subject:    Re: KDialogBase and Default button
From:       Jørn_Fauske <jorn.fauske () broadpark ! no>
Date:       2005-12-28 22:57:47
Message-ID: 200512282357.50044.jorn.fauske () broadpark ! no
[Download RAW message or body]

Hi,
setButtonTip(Default, i18n("Show advanced options" ) ); from KDialogBase might do the \
trick for you. Jørn
On Wednesday 28 December 2005 21:57, Giovanni Venturi wrote:> Hello, can someone \
explain me how to change the "Default" button tooltip> into a KNewClass : public \
KDialogBase?>> I tryed:>> void setToolTip (const QString &tooltip)>> from KGuiItem \
Class but totally unuseful... bugged?>>> KGuiItem defaultButton( i18n("Advanced \
Options", "&Advanced..."), "name",>     i18n( "Show advanced options" ), i18n( \
"<qt><p>...</p></qt>" ) );> defaultButton.setToolTip( i18n( "Show advanced options" ) \
);> setButtonGuiItem( Default, defaultButton );> defaultButton.setToolTip( i18n( \
"Show advanced options" ) );>> but nothing:>> KGuiItem defaultButton( i18n("Advanced \
Options", "&Advanced..."), "name",>     i18n( "Show advanced options" ), i18n( \
"<qt><p>...</p></qt>" ) );>> ignores totally the 3rd parameter.>> And \
"defaultButton.setToolTip( i18n( "Show advanced options" ) );" ignores> its \
parameter.> Why this 2 members are into kdelibs if they don't work?> Any \
suggestions?> Giovanni  >> 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