[Kde-perl] slider not appearing

Ashley Winters jahqueel at yahoo.com
Sat Mar 13 08:18:32 CET 2004


--- Jake Hawkes <jake at infinitylimited.net> wrote:
> ok - this has got me stumped.
> 
> 	my $volbox = Qt::HBox($parent);

You sure you didn't want Qt::VBox?

perl -MQt -e '$a = Qt::Application \@ARGV; $b = Qt::VBox; $l =
Qt::Label "Howdy", $b; $s = Qt::Slider &Qt::Horizontal, $b;
setMainWidget $a $b; show $b; $a->exec'

Ashley Winters

> 	my $volVal = Qt::Label(vol, $volbox);
> 	my $slider = Qt::Slider(&Qt::Horizontal, $volbox);
> 
> 	$slider->setRange(0,10);
> 	$slider->setValue(0);
> 
> 
> the label appears, but the slider does not.....
> 
> I went and copied tutorial 5 and *it* doesn't work either.....
> _______________________________________________
> Kde-perl mailing list
> Kde-perl at kde.org
> https://mail.kde.org/mailman/listinfo/kde-perl


__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com


More information about the Kde-perl mailing list