Project

General

Profile

Feature #2199

WTableView should have a scrolled() signal

Added by Velvet Jones over 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Michael Vilsker
Target version:
Start date:
09/10/2013
Due date:
% Done:

0%

Estimated time:

Description

WTableView should have a scrolled() signal that makes the appropriate scrolled signal available.

#1

Updated by Velvet Jones over 9 years ago

Come to think of it, WTreeView should probably also have this.

#2

Updated by Koen Deforche over 9 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.

#3

Updated by Michael Vilsker over 9 years ago

  • Status changed from InProgress to Resolved

The scrolled signal will be available at the next Wt release.

#4

Updated by Koen Deforche over 9 years ago

  • Status changed from Resolved to Closed
#5

Updated by Koen Deforche over 9 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

#6

Updated by Koen Deforche over 9 years ago

  • Target version changed from 3.3.1 to 3.3.2
#7

Updated by Velvet Jones about 9 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.

#8

Updated by Velvet Jones about 9 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.

#9

Updated by Michael Vilsker about 9 years ago

  • Status changed from InProgress to Resolved

Hey Velvet,

It was fixed, you will soon see the changes in get HEAD.

Regards,

Michael

#10

Updated by Koen Deforche almost 9 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF