Lack of examples in the Style Sheet Syntax documentation



  • Reading the documentation about Style Sheet Syntax, I didn't found the following selectors (information available in the standard):

    Three additional attribute selectors are provided for matching substrings in the value of an attribute:
    [att^=val]
    Represents an element with the att attribute whose value begins with the prefix "val". If "val" is the empty string then the selector does not represent anything.
    [att$=val]
    Represents an element with the att attribute whose value ends with the suffix "val". If "val" is the empty string then the selector does not represent anything.
    [att*=val]
    Represents an element with the att attribute whose value contains at least one instance of the substring "val". If "val" is the empty string then the selector does not represent anything.

    Those selectors work in Qt and are very useful but not many people know them. Is there any way to request more information in the official Qt docs?


  • Qt Champions 2018

    @tarod.net said in Lack of examples in the Style Sheet Syntax documentation:

    Is there any way to request more information in the official Qt docs?

    Here: https://bugreports.qt.io/secure/Dashboard.jspa
    You can even provide a patch :-)


Log in to reply