Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11608

Add pseudo states representing a widgets validator status

XMLWordPrintable

      I think it would be useful to have the state of the QValidator connected to a widget available to the style sheet system as pseudo states. This way, it would become trivial to make for instance an input box appear highlighted if the contents are invalid. Just setting a validator and a style sheet would suffice. Perhaps :valid, :invalid and :intermediate would do?

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            andre André Somers
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes