[kde-linux] KPassivePopup shows no text with custom view widget
Tomek Jarzynka
tomeej at gmail.com
Sat Sep 16 13:37:52 UTC 2006
Hi,
I'm trying to use the KPassivePopup class, but I ran into a
problem when using a custom view widget: text on buttons and
labels does not appear.
I followed the example in the documentation:
pop = new KPassivePopup();
QVBox * vb = new QVBox(pop);
new QLabel(vb, "foo");
QHBox * box = new QHBox(vb);
new QPushButton(box, "shmoo");
new QPushButton(box, "spam");
pop->setView(vb);
pop->show();
and the popup appears, but with blank buttons, blank space instead
of label text. Any ideas, anyone? :|
--
tomasz k. jarzynka / 601 706 601 / tomee(a-t)kadu(d-o-t)net
"Department of Redundancy Department"
More information about the kde-linux
mailing list