D18716: Add a SearchField component

Carl Schwan noreply at phabricator.kde.org
Mon Feb 4 12:15:49 GMT 2019


ognarb added a comment.


  In D18716#404718 <https://phabricator.kde.org/D18716#404718>, @mart wrote:
  
  > If we are going to have a specialized line edit, I think it shouldn't be specific for search, but be a common component of things that we have to boilerplate too often as they are missing from qqc2.
  >  Namely, the clear button.
  >  What I would like is a lineedit with two list properties leftactions and rightactions, which the clear button can be one of them (we have some fields around in plasma which have more than one action)
  >
  > And then after that, maybe doing the specialization which is purely a search field
  
  
  Interesting, but I have some question before I start implementing.
  
  - Do you have an example for a left action?
  - Should the buttons only be visible when the text is not empty? Or can this behavior also be configurable with a property?

REPOSITORY
  R169 Kirigami

REVISION DETAIL
  https://phabricator.kde.org/D18716

To: ognarb, apol, #kirigami, ngraham, mart
Cc: mart, apol, ngraham, plasma-devel, dkardarakos, davidedmundson, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190204/615e0131/attachment.html>


More information about the Plasma-devel mailing list