Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Lack of examples in the Style Sheet Syntax documentation
Qt 6.11 is out! See what's new in the release blog

Lack of examples in the Style Sheet Syntax documentation

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 468 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tarod.net
    wrote on last edited by tarod.net
    #1

    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?

    "Individually, we are one drop. Together, we are an ocean."

    jsulmJ 1 Reply Last reply
    1
    • T tarod.net

      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?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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 :-)

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved