![]() |
QListWidget: Scrolling selects the item.
I'm using QT Creator, I am writing an app for my N900 to learn QT. I have a QListWidget that needs to finger scroll, but it seems every time I scroll, the current selection changes to the item my finger landed on to start scrolling. After I scroll, the highlight jumps back to the original item I had selected, but the selectedItem value stays at the item my finger landed on. This forces me to re-select the item after every scroll.
I saw a post about setProperty("FingerScrollable", true), but this does not help, It still behaves the same way. This is really driving me nuts. How do I fix this? |
Re: QListWidget: Scrolling selects the item.
I have had the same problem in my ftp application,
In my case the program would open subfolders when you tried to scroll, highly infuriating. I have 3 columns, so in my case I could limit the open folder function to the first column, not a great solution, and probably not one you can use. Kim |
Re: QListWidget: Scrolling selects the item.
Quote:
|
Re: QListWidget: Scrolling selects the item.
Here's the code I have problems with:
Code:
selectList->connect(selectList, SIGNAL(currentRowChanged(int)), this, SLOT(ChangeEffect())); |
Re: QListWidget: Scrolling selects the item.
Use itemActivated
|
Re: QListWidget: Scrolling selects the item.
I tried the itemActivated signal, it's working great now. Thanks. :)
I'm also having trouble generating the source deb file from the Build -> Publish Project.. The process seems to complete fine, but I can't find the source deb anywhere. Is this function actually working? |
All times are GMT. The time now is 07:21. |
vBulletin® Version 3.8.8