View Single Post
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#1
Hello,

I have a problem with QListWidget that I embed in QGraphicsScene.
I try:

Code:
listWidget = new QListWidget();
QAbstractKineticScroller *scroller;
scroller = listWidget->property("kineticScroller").value<QAbstractKineticScroller *>();
scroller->setEnabled(true);
new QListWidgetItem("something", listWidget);
scene->addWidget(listWidget);
The list shows, but there are two problems:
-kinetic scrolling doesn't work (using scrollbar neither). Only using keys works.
-items are highlighted (and signals emitted) only on double press.

Any idea what may be wrong? And how this should be done?[/LIST]
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!

Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google

Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!

Bored? Follow me