Is it possible to pass a child of a widget that you have made in Designer a constructor varialbe? In my case I wish to pass a KFontChooser the second parameter of false to force it to only display fixed fonts.
Is it possible to pass a child of a widget that you have made in Designer a constructor varialbe? In my case I wish to pass a KFontChooser the second parameter of false to force it to only display fixed fonts.
Could you show an example of what you mean? If you mean one of your widgets in Designer has a child object which you want to initialize with some variable, then no - you have to do that from within the widget containing the object, regardless if you use Designer or not.
Well, in this case I am making pages for a KConfigDialog in Designer. One of the pages was a widget containing a KFontChooser. If you want KFontChooser to display only fixed fonts, you have to initialize it with the second constructor argument as "false". Hence my question.
But you say this is not possible using designer?
Bookmarks