[bt-devel] I Need Help with KFontDialog
Thomas J. Philpot
bt-devel@crosswire.org
Mon, 21 Feb 2000 15:58:58 -0600
> KFontDialog(QWidget *parent=0l,const char *name=0,bool modal=false,bool
> onlyFixed=false,constQStringList &fontlist=QStringList(),bool
> makeFrame=true)
>
> The parent is no problem as it works, however the second parameter does not
> work no matter what I try to do.
>
> I am attempting to create a modal dialog when a button is pressed, but I
> can not seem to get it to work. How do I specify the object's name in this
> argument list?
Try passing it either a literal string such as "My Dialog Box" or a variable
defined as follows:
const char* name = "My Dialog box";
Hope that helps...
Tom