QLineEdit and QComboBox tasks

Kevin Ottens ervin+bluesystems at kde.org
Mon Jun 24 09:26:49 UTC 2013


Hello,

On Saturday 22 June 2013 17:34:41 Albert Vaca wrote:
> There are two tasks in Qt5 Epics [1] to implement replace-on-drop for
> URLs on QLineEdit and QComboBox. This is currently present in
> KLineEdit and KComboBox, because this behaviour is needed for
> KUrlRequester (bug [2]).
> 
> We (aacid, apol and me) have been discussing about it and we think
> that this behaviour should be implemented using installEventFilter()
> on KUrlRequester. This way KUrlRequester could be implemented using a
> standard QComboBox without need to patch Qt.
> 
> If you agree, I will close those two tasks for Qt and implement this
> feature using installEventFilter() in KUrlRequester.

Well lxr claims it's not only used by KUrlRequester. It doesn't have many uses 
though... So I agree with your proposal to make it an event filter *if* said 
event filter is done in a way that it can be used with KUrlRequester, 
QComboBox and QLineEdit (means it'd need its own class). It also would have to 
be made a public class in either KGuiAddons or KWidgetsAddons.

Regards.
-- 
Kévin Ottens, http://ervin.ipsquad.net

Sponsored by BlueSystems and KDAB to work on KDE Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20130624/a0a30031/attachment.sig>


More information about the Kde-frameworks-devel mailing list