Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Forum Nokia - QML Templates

    Showcase
    6
    6
    5150
    Loading More Posts
    • 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
      parancibia last edited by

      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 Reply Quote 0
      • M
        mario last edited by

        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 Reply Quote 0
        • V
          vcsala last edited by

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

          1 Reply Last reply Reply Quote 0
          • A
            andre last edited by

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

            1 Reply Last reply Reply Quote 0
            • Z
              ZapB last edited by

              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 Reply Quote 0
              • P
                portoist last edited by

                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 Reply Quote 0
                • First post
                  Last post