Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Showcase
  4. Forum Nokia - QML Templates

Forum Nokia - QML Templates

Scheduled Pinned Locked Moved Showcase
6 Posts 6 Posters 5.5k 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.
  • P Offline
    P Offline
    parancibia
    wrote on last edited by
    #1

    Via "Forum Nokia":https://www.forum.nokia.com/Develop/Qt/QML_templates/?sf1269404=1

    QML UI Templates library will provide commonly used UI-components for generic use with QML. This library is not meant to replace the official Qt Components-project but to provide larger templates for developers to take a look and utilize in their own projects.

    The library include:

    • Accordion List
    • Tab Bar
    • Wait Indicator
    • Splash Screen
    • Modal Dialog
    • Modal Note
    • PopUp
    • Date Picker
    • Persistent Model
    • Switch

    More "info":https://projects.forum.nokia.com/QMLTemplates

    !http://realnorth.net/share/qml_templates.png(QML Templates)!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mario
      wrote on last edited by
      #2

      Great initiative!

      Could you please add licensing info so I know how the components can be used?

      Preferable "WTFPL":http://en.wikipedia.org/wiki/WTFPL or similar :)

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vcsala
        wrote on last edited by
        #3

        If you download the package (the zip file) it contains a licence.txt

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

          Very nice initiative indeed! Thanks for sharing this, I think it is really needed.

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            ZapB
            wrote on last edited by
            #5

            They look very cool. I will try them out very shortly. Thank you.

            Nokia Certified Qt Specialist
            Interested in hearing about Qt related work

            1 Reply Last reply
            0
            • P Offline
              P Offline
              portoist
              wrote on last edited by
              #6

              Hi!
              Thanks a lot for nicely done templates! I've been playing with your ModalDialog and found out following. I have this code:
              @Rectangle {
              id: mainWindow
              width: 360
              height: 360

              ModalDialog{
                  id: quitDialog
                  anchors.fill: mainWindow
                  text: "Do you really want to quit?"
                  onAccepted: {
                      Qt.quit();
                  }
              }
              
              ModalDialog{
                  id: otherDialog
                  anchors.fill: mainWindow
                  text: "Some text"
              }
              
              Button {
                  id: quitButton
                  text: "Close"
                  anchors.top: mainWindow.top;  anchors.right: mainWindow.right
                  onClicked: {
                      quitDialog.show();
                  }
              }
              
              Button{
                  id: otherButton
                  text: "Other"
                  anchors.top: mainWindow.top; anchors.left: mainWindow.left
                  onClicked: {
                      otherDialog.show();
                  }
              }
              

              }
              @

              But i am still able to click on both buttons, even though they shouldn't be clickable as ModalDialog is shown (they should be behind Fader). I'v been working on my own modal dialog but i ended up with the same behaviour as this:)

              Edit: hmmm i've figured out what was wrong, it depends on order. If I defined buttons before modal dialogs it works as desired. I didn't expect such behavior.

              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