Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt components and QML sidebar/ examples
Forum Updated to NodeBB v4.3 + New Features

Qt components and QML sidebar/ examples

Scheduled Pinned Locked Moved QML and Qt Quick
12 Posts 3 Posters 5.9k 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.
  • p3c0P Offline
    p3c0P Offline
    p3c0
    Moderators
    wrote on last edited by
    #3

    If you are using latest Qt (>=5), you can find the updated example "here":http://qt-project.org/doc/qt-5/qtquickcontrols-gallery-example.html and if you have installed for eg. Qt 5.3 on your system then you can find it in <QtDir>/Examples/Qt-5.3/quick/controls/gallery

    157

    1 Reply Last reply
    0
    • W Offline
      W Offline
      Wuzi
      wrote on last edited by
      #4

      Now I installed the qt-examples out of aur and now I find the examples. Does an exaple exist, where a sidebar is?

      1 Reply Last reply
      0
      • p3c0P Offline
        p3c0P Offline
        p3c0
        Moderators
        wrote on last edited by
        #5

        Which sidebar are you talking about ?

        157

        1 Reply Last reply
        0
        • W Offline
          W Offline
          Wuzi
          wrote on last edited by
          #6

          In this Video on Youtube: "QML components for the desktop":https://www.youtube.com/watch?v=nj5jzv6njKg at 1:30 minute. There is a sidebar.

          1 Reply Last reply
          0
          • p3c0P Offline
            p3c0P Offline
            p3c0
            Moderators
            wrote on last edited by
            #7

            It seems that they have removed it from the latest version. I think "this":https://qt.gitorious.org/qt-components/desktop/source/b96e92a936b3fba8622bc721861ec7cbfd3fdb02:examples/content/Panel.qml is the exact file which creates the SideBar. It is using old Qt Quick v1.0. But you can easily port it to Qt Quick 2.2

            157

            1 Reply Last reply
            0
            • W Offline
              W Offline
              Wuzi
              wrote on last edited by
              #8

              Thank you. So I can take this Code and include in my project?

              1 Reply Last reply
              0
              • p3c0P Offline
                p3c0P Offline
                p3c0
                Moderators
                wrote on last edited by
                #9

                Yes Sure. It is under examples.

                157

                1 Reply Last reply
                0
                • W Offline
                  W Offline
                  Wuzi
                  wrote on last edited by
                  #10

                  Thank for all of your replies!!! But at least a have one question:
                  How I can change the teme or the color of a for example a button, which is in QtQuick.Controlls?

                  1 Reply Last reply
                  0
                  • p3c0P Offline
                    p3c0P Offline
                    p3c0
                    Moderators
                    wrote on last edited by
                    #11

                    bq. How I can change the teme or the color of a for example a button, which is in QtQuick.Controlls?

                    Check "ButtonStyle":http://qt-project.org/doc/qt-5/qml-qtquick-controls-styles-buttonstyle.html.

                    157

                    1 Reply Last reply
                    0
                    • W Offline
                      W Offline
                      Wuzi
                      wrote on last edited by
                      #12

                      Thank you at all which helped me so much. Thank you!!!

                      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