[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [patch] do not display links (KUrlLabel) with ampersands
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2006-08-22 15:00:56
Message-ID: 44EB1C28.6000306 () iidea ! pl
[Download RAW message or body]

Olivier Goffart said the following, On 2006-08-22 15:01:

> Le mardi 22 août 2006 14:31, Jarosław Staniek a écrit :
> 
>>Stephan Kulow said the following, On 2006-08-22 14:20:
>>
>>>Am Dienstag, 22. August 2006 13:59 schrieb Jarosław Staniek:
>>>
>>>>OK to commit, or is there cleaner way to do this?
>>>>
>>>>Optionally we could provide a way to display accelerators for links, e.g.
>>>>stronger underline, or displaying a letter in bold.
>>>
>>>Wasn't KURLLabel going to die?
>>
>>http://websvn.kde.org/*checkout*/trunk/KDE/kdelibs/KDE4PORTING.html does
>>not inform about this...
>>
>>If so, is there accessible replacement?
> 
> 
> 
> QLabel("<a href='http://yoururl'>My website</a>")
> 
> Really, I'm not sure KUrlLabel gives any convenience. Does it ?

I cannot force QLabel to display focus rectangle (KUrlLabel does it with my 
previous patch for 3.5 and trunk).

   label.setFocusPolicy(Qt::WheelFocus);

Any ideas?

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice: http://www.kexi-project.org, http://www.koffice.org
  KDE3 & KDE4 Libraries for MS Windows: http://kdelibs.com, http://www.kde.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic