Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt controls and indicators
Forum Updated to NodeBB v4.3 + New Features

Qt controls and indicators

Scheduled Pinned Locked Moved Qt Creator and other tools
13 Posts 3 Posters 18.0k 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.
  • A Offline
    A Offline
    andre
    wrote on last edited by
    #4

    These libraries contain many widgets, and these widgets could be what you are looking for.

    What is a "boolean indicator"? If you want completely custom looking UI, you could also consider using QML.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gRicky
      wrote on last edited by
      #5

      [quote author="Andre" date="1360682006"]
      What is a "boolean indicator"? [/quote]

      A boolean indicator (in my mind) is a LED lamp which is on when the boolean data is true and is off when the boolean data is False.

      I think it's better to start to look at QML as you suggested doing!
      Thanks for your support.

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #6

        [quote author="gRicky" date="1360686677"][quote author="Andre" date="1360682006"]What is a "boolean indicator"? [/quote]A boolean indicator (in my mind) is a LED lamp which is on when the boolean data is true and is off when the boolean data is False.[/quote]Your terminology reminds me of LabVIEW. Do you have LabVIEW experience?

        In Qt, the closest things to controllers/indicators are "Widgets":http://qt-project.org/doc/qt-5.0/qtwidgets/widget-classes.html , and they're programmable in C++. "Qt Quick":http://qt-project.org/doc/qt-5.0/qtquick/qtquick-index.html is quite different -- it lets you create more fluid user interfaces, and it's programmable in QML, which is like CSS + JavaScript.

        One thing to remember: Unlike LabVIEW, buttons in Qt are NOT boolean controls; they are high-level "event triggers"

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #7

          For scientific widgets, see http://qwt.sourceforge.net/

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gRicky
            wrote on last edited by
            #8

            [quote author="JKSH" date="1360734331"]Your terminology reminds me of LabVIEW. Do you have LabVIEW experience?

            [...]

            One thing to remember: Unlike LabVIEW, buttons in Qt are NOT boolean controls; they are high-level "event triggers"[/quote]

            Even though I'm a Labview developer expert, I know that terminology on Qt are quite different. Such as in Labview world I supposed that there was a place in this web-site where developer can share new graphic widgets which others can use in theirs user interface. I'm a fan of sharing code.
            Any way, thank you for your clarification.

            Therefore I have to start developing custom widget using QML. Do you have any advices to suggest to me to start programming widgets using QML, following the right way?

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andre
              wrote on last edited by
              #9

              Well, I already gave you one link. You can also check www.qt-apps.org, and look in the widgets category. It even contains a couple of led widget implementations.

              1 Reply Last reply
              0
              • JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #10

                What would you like your widget(s) to do?

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  gRicky
                  wrote on last edited by
                  #11

                  [quote author="Andre" date="1360748932"]Well, I already gave you one link. You can also check www.qt-apps.org, and look in the widgets category. It even contains a couple of led widget implementations.[/quote]

                  Andre, it is exactly what I was looking for! Thank you very much!

                  [quote author="JKSH" date="1360765502"]What would you like your widget(s) to do?[/quote]

                  I'd like to represent every bit of a byte. When the bit value is 0 the led has to be OFF otherwise the led has to be ON. I just thought a led would has been a nice representation.

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    gRicky
                    wrote on last edited by
                    #12

                    I have downloaded some widgets from the place Andre had suggested downloading, now: what I have to do to install them properly and have them ready on QtDesigner?

                    Note: I'm working on ubuntu os.

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      andre
                      wrote on last edited by
                      #13

                      That really depends. I guess most can't easily be added to QtDesigner at all, as they probably don't have a plugin for it. The documentation contains information on the ways you can use non-qt provided widgets in designer. Or, you just add them in code.

                      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