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. enum Qt::ArrowType icons in stylesheet?

enum Qt::ArrowType icons in stylesheet?

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 733 Views
  • 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
    Tink
    wrote on last edited by
    #1

    Hi, i want to use these icons in a stylesheet. Is there a direct way to reference them?

    Or should they be included in a resource file first? If so, where can i find them?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      Perhaps: ":/qt-project.org/styles/commonstyle/images/left-16.png" (right, up, down)?

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Tink
        wrote on last edited by
        #3

        Thanks, that is actually close to what i want.
        I also read this post: https://forum.qt.io/topic/133729/refer-to-standard-qt-images-from-qstylesheet and the SO link. And i found these default images: https://github.com/qt/qtbase/tree/dev/src/widgets/styles/images

        However that is not the correct set of arrow images i'm looking for. What i want are the same ones i get in qtcreator / design mode. E.g. when a qtoolbutton is selected and you scroll the properties list all the way down, you can select the arrowtype. They are different...

        1 Reply Last reply
        0
        • T Offline
          T Offline
          Tink
          wrote on last edited by
          #4

          And it's not an icon coming from a system theme as far as i can tell. Switching themes changes nothing.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            Tink
            wrote on last edited by
            #5

            Alright... so it IS a qt commonstyle image. Just had an unexpected filename (titlebar-unshade). So i consider this solved.

            1 Reply Last reply
            0

            • Login

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