Project

General

Profile

Actions

Feature #2199

closed

WTableView should have a scrolled() signal

Added by Velvet Jones over 11 years ago. Updated almost 11 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.

Actions #1

Updated by Velvet Jones over 11 years ago

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

Actions #2

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

Actions #3

Updated by Michael Vilsker over 11 years ago

  • Status changed from InProgress to Resolved

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

Actions #4

Updated by Koen Deforche about 11 years ago

  • Status changed from Resolved to Closed
Actions #5

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

Actions #6

Updated by Koen Deforche about 11 years ago

  • Target version changed from 3.3.1 to 3.3.2
Actions #7

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

Actions #8

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

Actions #9

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

Actions #10

Updated by Koen Deforche almost 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF