Results 1 to 2 of 2

Thread: Own QT Pseudostate

  1. #1
    Join Date
    Oct 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Own QT Pseudostate

    Hi,

    to style my Widgets I use the QSS concept. In some cases I need my own QSS pseudo-states for a fast switching between the styles.

    My question:
    Is it possible to assign pseudo-states to my own custom widgets? Specifically, have some logic that tracks which of a set of custom widgets is "selected", and would like to be able to set the ":selected" pseudo state for that widget.

    Thanks and regards,
    Lukas

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Own QT Pseudostate

    No, stylesheets do not support custom widgets.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.