Feature #2199
closedWTableView should have a scrolled() signal
0%
Description
WTableView should have a scrolled() signal that makes the appropriate scrolled signal available.
Updated by Velvet Jones about 11 years ago
Come to think of it, WTreeView should probably also have this.
Updated by Koen Deforche about 11 years ago
- Status changed from New to InProgress
- Assignee set to Michael Vilsker
- Target version set to 3.3.1
This should return the scrolled signal of the appropriate container widget.
Updated by Michael Vilsker about 11 years ago
- Status changed from InProgress to Resolved
The scrolled signal will be available at the next Wt release.
Updated by Koen Deforche about 11 years ago
- Status changed from Resolved to Closed
Updated by Koen Deforche about 11 years ago
- Status changed from Closed to InProgress
Hey Michael,
Can you do the same for WTreeView and make scrolled() a (virtual) member of WAbstractItemView?
Regards,
koen
Updated by Koen Deforche about 11 years ago
- Target version changed from 3.3.1 to 3.3.2
Updated by Velvet Jones almost 11 years ago
Is this functionality available in the git HEAD? I'm trying to respond to a WTableView::scrolled event, and I'm not receiving calls to my slot.
What's the recommended way to get notified when a scroll bar changes position in a table view? WScrollArea doesn't seem to be able to fire the 'scrolled' event, so I removed my table view from a WScrollArea wrapper and connected the WTableView::scrolled event to a slot, but nothing happens.
Updated by Velvet Jones almost 11 years ago
I have managed to get these callbacks working by ensuring that the table is wrapped in a WContainerWidget and connecting the container's 'scrolled' signal to my slot.
Updated by Michael Vilsker almost 11 years ago
- Status changed from InProgress to Resolved
Hey Velvet,
It was fixed, you will soon see the changes in get HEAD.
Regards,
Michael
Updated by Koen Deforche almost 11 years ago
- Status changed from Resolved to Closed