Project

General

Profile

Actions

Feature #2199

closed
VJ MV

WTableView should have a scrolled() signal

Feature #2199: WTableView should have a scrolled() signal

Added by Velvet Jones about 13 years ago. Updated over 12 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.

VJ Updated by Velvet Jones about 13 years ago Actions #1

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

KD Updated by Koen Deforche about 13 years ago Actions #2

  • 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.

MV Updated by Michael Vilsker almost 13 years ago Actions #3

  • Status changed from InProgress to Resolved

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

KD Updated by Koen Deforche almost 13 years ago Actions #4

  • Status changed from Resolved to Closed

KD Updated by Koen Deforche almost 13 years ago Actions #5

  • 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

KD Updated by Koen Deforche almost 13 years ago Actions #6

  • Target version changed from 3.3.1 to 3.3.2

VJ Updated by Velvet Jones over 12 years ago Actions #7

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.

VJ Updated by Velvet Jones over 12 years ago Actions #8

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.

MV Updated by Michael Vilsker over 12 years ago Actions #9

  • Status changed from InProgress to Resolved

Hey Velvet,

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

Regards,
Michael

KD Updated by Koen Deforche over 12 years ago Actions #10

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom