[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: Jarosław_Staniek <js () iidea ! pl>
Date: 2006-08-23 8:16:54
Message-ID: 44EC0EF6.90700 () iidea ! pl
[Download RAW message or body]
Simon Hausmann said the following, On 2006-08-23 09:40:
>>>>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?
>
>
> That was a bug in QLabel. Patch submitted to qt-copy.
>
> If the text interaction flags for QLabel are set to make links accessible by
> the keyboard the label will now accept the focus by tab and draw a focus
> rectangle around links.
OK, thanks. Now: what about StrongFocus? In KUrlLabel I've made it possible
that clicking on thelink moves focus to the link, just as in browsers.
--
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