Christian Ridderström wrote:

> Assuming that Qt and Xforms support tooltips for their dialogs, how do I
> go about adding them?

$ less src/frontends/xforms/FormCitation.C
void FormCitation::build()
{
        ...
        str = _("Delete the selected entry from "
                "the current citation reference.");
        tooltips().init(dialog_->button_del, str);
        ...
}

Use the text editor of your choice to add similar entries.


$ less src/frontends/qt2/ui/QCitationDialogBase.ui
        ...
        <property>
                <name>toolTip</name>
                <string>Citation entry</string>
        </property>
        ...


Use the Qt2 (not Qt3) version of Qt designer (on RH8 it is called 
'designer2') to edit the .ui file and add the tip.

-- 
Angus

Reply via email to