Re: weird error....
Gary Greene <[email protected]>
| Newsgroups | gmane.comp.kde.devel.perl |
|---|---|
| Organization | Ark Open Source Labs |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 18 August 2004 12:57 am, Germain Garand wrote: > Le Mercredi 18 Août 2004 04:53, Gary Greene a écrit : > > While working on aftwizard, the Ark Linux First-boot Wizard in PerlQt, I > > ran into a very odd little glitch when trying to attach a SpacerItem to a > > HBoxLayout: > > greeneg@uriel aftwizard]$ perl aftwizard.pl > > - --- No method to call for : > > QHBoxLayout::addWidget(QSpacerItem) > > at aftwizard.pl line 49. > > that's because a SpacerItem isn't a Widget. It's a LayoutItem. > > > $bLayMan->addWidget( $b_Spacer ); > > try $bLayMan->addItem( $b_Spacer)) Thanks :) That did it. - -- Gary L. Greene, Jr. Sent from uriel.tolharadyne.net 07:21:46 up 2 days, 13:36, 6 users, load average: 0.63, 0.26, 0.14 ============================================================ Developer for the Ark Linux Project check out http://www.arklinux.org/ for more info. Also http://www.csis.gvsu.edu/~greeneg/ EMAIL : [email protected] ============================================================ Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html for more information. Consider using a free MS-Office replacement for most platforms, http://www.openoffice.org/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBIzvjynMfbISpaCwRArhrAJ9WsrbUX5BEFrGRsLTPkPb3FM7wFACglaFQ ulIxu1HL+qrUVWfFqJNXATY= =fRKT -----END PGP SIGNATURE-----