[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    KToolBar Bug
From:       Charles <charles () kde ! org>
Date:       2000-04-23 22:05:41
[Download RAW message or body]


Pay attention to me people! :)

Source file

// Setup all the standard media actions
new KAction(i18n("Skip Back"), QIconSet(BarIcon("nback.png")), 0, this, \
SLOT(fileNew()), actionCollection(), "back"); new KAction(i18n("&Back"), \
QIconSet(BarIcon("nfback.png")), 0, this, SLOT(fileNew()), actionCollection(), \
"skipback"); new KAction(i18n("S&top"), QIconSet(BarIcon("nstop.png")), 0, this, \
SLOT(fileNew()), actionCollection(), "play"); new KAction(i18n("&Play"), \
QIconSet(BarIcon("nplay.png")), 0, this, SLOT(fileNew()), actionCollection(), \
"pause"); new KAction(i18n("Fast &Forward"), QIconSet(BarIcon("nfforward.png")), 0, \
this, SLOT(fileNew()), actionCollection(), "stop"); new KAction(i18n("&Skip \
Forward"), QIconSet(BarIcon("nforward.png")), 0, this, SLOT(fileNew()), \
actionCollection(), "fastforward"); new KAction(i18n("&Playlist"), \
QIconSet(BarIcon("nplaylist.png")), 0, this, SLOT(fileNew()), actionCollection(), \
"forward");  
new KAction(i18n("Hide Display"), QIconSet(BarIcon("ntiny.png")), 0, view, \
SLOT(slotToggleView()), actionCollection(), "shrink");  
createGUI("noatun.rc");
QSlider *sl=new QSlider(0,100,10, 0, Horizontal,toolBar());
sl->show();
	
toolBar()->insertWidget(10, 0, sl, 6);
toolBar()->setItemAutoSized(10, true);

XML .rc file:

<Toolbar fullWidth="true" name="mainToolBar">
	<Action name="back"/>
	<Action name="skipback"/>
	<Action name="play"/>
	<Action name="pause"/>
	<Action name="stop"/>
	<Action name="fastforward"/>
	<Action name="forward"/>
	<Separator/>
	<Merge/>
	<Separator/>
	<Action name="shrink"/>
</Toolbar>

It's just not showing up.  And I'm convinced it's a bug in KToolBar.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic