Re: weird error....

Germain Garand <[email protected]>
Newsgroups gmane.comp.kde.devel.perl
Message-ID <[email protected]>
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))

Greetings,
Germain
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.