Project

General

Profile

Actions

Bug #3813

closed

Toggling WPanel collapse state via title bar does not emit signals

Added by Laurence Withers over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Benoit Daccache
Target version:
Start date:
02/22/2015
Due date:
% Done:

0%

Estimated time:

Description

It is possible to toggle the collapse state of a collapsible Wt::WPanel by clicking on either the expand/collapse icon or the title bar text. When using the icons, the expanded() and collapsed() signals are emitted. However, when using the title bar, neither of these signals are emitted.

I do note there are expandedSS() and collapsedSS() signals, emitted under different circumstances, but not sure what those are for.

The attached patch causes the correct expanded() or collapsed() signal to be emitted on toggling via title bar click (added in Wt::WPanel::toggleCollapse(), which is a private slot called only on title bar click).


Files

wt-wpanel-signals.diff (893 Bytes) wt-wpanel-signals.diff Laurence Withers, 02/22/2015 08:47 PM
Actions #1

Updated by Koen Deforche over 9 years ago

  • Status changed from New to InProgress
  • Assignee set to Benoit Daccache
  • Target version set to 3.3.4
Actions #2

Updated by Benoit Daccache over 9 years ago

  • Status changed from InProgress to Resolved

patched tested and applied.

Actions #3

Updated by Koen Deforche over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF