Project

General

Profile

Actions

Feature #2799

closed

On-demand loading of tooltip (XHTML) text

Added by Koen Deforche over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Michael Vilsker
Target version:
Start date:
03/11/2014
Due date:
% Done:

0%

Estimated time:

Description

Change the signature of the virtual WWidget::toolTip() function:

virtual WString toolTip() const

The base implementation is as currently (i.e. returns text set by setToolTip()) but user can reimplement it to have on-demand loading of the tooltip text.

ToolTip.js should be modified to fetch the tool tip text using a JSignal.

In WItemDelegate modify so that the WText::setToolTip() does not actually fetch the tooltip; probably it needs a new flag to indicate the availability of tooltip data. If the flag is not present we keep the current behavior; otherwise we get the new behavior with a specialized WText::toolTip().

Actions #1

Updated by Koen Deforche over 10 years ago

  • Target version changed from 3.3.3 to 3.3.4
Actions #2

Updated by Michael Vilsker over 10 years ago

  • Status changed from InProgress to Resolved
Actions #3

Updated by Koen Deforche over 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF