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. Need bluetooth icon - where are these images ?
Forum Updated to NodeBB v4.3 + New Features

Need bluetooth icon - where are these images ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 3 Posters 703 Views 2 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1
    const QIcon newIcon = QIcon::fromTheme("document-new", QIcon(":/images/new.png"));
    

    The above code loads "new file " icon.

    How / where do I locate /images/ folder on Ubuntu Linux ??

    1 Reply Last reply
    0
    • JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #2

      QStandardPaths::writableLocation( QStandardPaths::PicturesLocation ) may be what you want?

      A 1 Reply Last reply
      0
      • JoeCFDJ JoeCFD

        QStandardPaths::writableLocation( QStandardPaths::PicturesLocation ) may be what you want?

        A Offline
        A Offline
        Anonymous_Banned275
        wrote on last edited by Anonymous_Banned275
        #3

        @JoeCFD Some answers are in QIcon class, will post when resolved.
        Part of the "problem" is both theme (?) and the actual image are used.

        Here is a link to list of all

        https://gist.github.com/peteristhegreat/c0ca6e1a57e5d4b9cd0bb1d7b3be1d6a

        A 1 Reply Last reply
        0
        • A Anonymous_Banned275

          @JoeCFD Some answers are in QIcon class, will post when resolved.
          Part of the "problem" is both theme (?) and the actual image are used.

          Here is a link to list of all

          https://gist.github.com/peteristhegreat/c0ca6e1a57e5d4b9cd0bb1d7b3be1d6a

          A Offline
          A Offline
          Anonymous_Banned275
          wrote on last edited by
          #4

          @AnneRanch As always - I have been in this"problem" before .
          As far as I can tell - it was not "solved".
          The question was - why and what is "theme" ?

          Now the modified question:

          1. How do I search for anything "Bluetooth " theme?
          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            The QIcon::fromTheme documentation provides basic information about the concept as well as links to the appropriate documentation.

            Basically an icon theme is a set of icons that shared a unified look and feel to make your user experience nicer. You can install several of them if wanted and select one depending on your tastes.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            A 1 Reply Last reply
            0
            • SGaistS SGaist

              Hi,

              The QIcon::fromTheme documentation provides basic information about the concept as well as links to the appropriate documentation.

              Basically an icon theme is a set of icons that shared a unified look and feel to make your user experience nicer. You can install several of them if wanted and select one depending on your tastes.

              A Offline
              A Offline
              Anonymous_Banned275
              wrote on last edited by
              #6

              @SGaist Thanks - good resource one should START with.
              As usual - starting with example code makes one to go backwards instead.
              Still not sure if "bluetooth theme" even exists.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @AnneRanch said in Need bluetooth icon - where are these images ?:

                Still not sure if "bluetooth theme" even exists.

                No it does not. It's the "Bluetooth icon coming from the them". Like you have the hard drive icon, the network icon, etc.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                A 1 Reply Last reply
                1
                • SGaistS SGaist

                  @AnneRanch said in Need bluetooth icon - where are these images ?:

                  Still not sure if "bluetooth theme" even exists.

                  No it does not. It's the "Bluetooth icon coming from the them". Like you have the hard drive icon, the network icon, etc.

                  A Offline
                  A Offline
                  Anonymous_Banned275
                  wrote on last edited by
                  #8

                  @SGaist So in layman's term - there is a nice blue with standard Bluetooth symbol icon somewhere in the world - perhaps even
                  operating system has a copy - perhaps the old "there must be a pony here somewhere ..." In the mean time any icon will do.

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Your desktop environment should provide a mean to find where these files are stored.

                    In any case the links provided in the documentation I linked provide the standard locations where you should be able to find the ones from your system.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    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