Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. quick controls
    Log in to post

    • SOLVED How to make the dialog and the text fit the device screen?
      Qt 6 • quick controls • • Dmitriano  

      3
      0
      Votes
      3
      Posts
      93
      Views

      @Dmitriano You have to set Text properties according to your needs: Text { width: parent.width text: qsTr("SoundWarning_Key") wrapMode: Text.WordWrap }
    • SOLVED How to manually activate CheckBox blue focus indicator ?
      QML and Qt Quick • qml quick checkbox quick controls • • Mixlu  

      2
      0
      Votes
      2
      Posts
      118
      Views

      Problem solved by calling chekbox.forceActiveFocus(Qt.TabFocusReason)
    • UNSOLVED WebAssembly - Project ERROR: Unknown module(s) in QT: quick quickcontrols2
      Installation and Deployment • qmake configure quick controls qtwebassemlby • • Oshio  

      10
      0
      Votes
      10
      Posts
      1032
      Views

      @jsulm Uhmm now I'm starting to understand why @sierdzio told me this is not easy. I will do some google search on this subject, thanks for guidance.
    • UNSOLVED Deploy Quick Controls with just the Material style
      QML and Qt Quick • quick controls • • Tom_H  

      3
      0
      Votes
      3
      Posts
      337
      Views

      After building the project in Qt Creator, I imported it into Android Studio, deleted the unwanted style libs, rebuilt and deployed from there. The size of the app went from 69.91 MB to 61.39 MB. That's good but surely there must be a way to do it from Qt Creator, no? I tried running the androiddeployqt tool but couldn't get it to work. BTW, I upgraded from Qt 5.9 to 5.12 this week. The app size was only 39 MB on Qt 5.9 :(
    • UNSOLVED QItemSelection::merge() is really slow
      QML and Qt Quick • treeview quick controls selectionmodel • • andreh  

      1
      1
      Votes
      1
      Posts
      268
      Views

      No one has replied

    • UNSOLVED How to filter out columns in the new Quick Controls 2.12 TableView?
      QML and Qt Quick • tableview qsqltablemodel quick controls models qml components • • ivarec  

      1
      0
      Votes
      1
      Posts
      231
      Views

      No one has replied

    • UNSOLVED How do I change the colors of Quick Controls 2 default style?
      QML and Qt Quick • qml styles controls 2 quick controls quick2 • • ivarec  

      1
      0
      Votes
      1
      Posts
      294
      Views

      No one has replied

    • SOLVED Make background of Quick Controls 2 StackView transparent
      QML and Qt Quick • qml stackview controls 2 quick controls • • ivarec  

      8
      1
      Votes
      8
      Posts
      1486
      Views

      Note: it turns out that setting background to Qt.transparent doesn't make sense. It worked simply because the types are incompatible and background got set to null. It's easier to simply set background to null to get the same result.
    • UNSOLVED Installing QT Quick Controls 2
      Installation and Deployment • installation quick controls • • Coldfingaz  

      4
      0
      Votes
      4
      Posts
      1156
      Views

      Is there a difference between Quick Controls and Quick Controls 2 Yes, QQ 1 was the first iteration, QQ 2 is the new one. They are not the same, QQ 2 was redesigned and implemented from scratch due to certain problems in QQ 1. are both included in the initial installation Yes.
    • UNSOLVED UI Issue - string are not displayed properly.
      QML and Qt Quick • qml quick controls • • Mathan M  

      4
      0
      Votes
      4
      Posts
      750
      Views

      Hi! I think there is some problem with the GridLayout. Can you verify that the following code works for you? import QtQuick 2.7 import QtQuick.Controls 2.0 import QtQuick.Layouts 1.0 ApplicationWindow { id: window visible: true width: 640 height: 480 title: qsTr("Hello World") color: "black" Drawer { id: drawer width: 0.33 * window.width height: window.height Rectangle { anchors.fill: parent color: "plum" GridLayout { columns: 1 anchors.right: parent.right Label { text: "Side Menu Content" } Button{ id: btnDownload height: 25 width: 100 text: "Download" } } } } Rectangle { anchors.centerIn: parent width: window.width / 2 height: window.height / 2 color: "orange" Text { text: "Application Main Content" anchors.centerIn: parent } } }
    • SOLVED SwipeView shows neighbor pages even if they are not current page
      QML and Qt Quick • quick controls swipeview • • lollypolly  

      3
      0
      Votes
      3
      Posts
      1367
      Views

      @jpnurmi, thanks a lot, already found this property. But had limit in 300 seconds to reply. Seems like u are guru of QML :)
    • UNSOLVED Cannot open this QML document because of an error in the QML file:
      QML and Qt Quick • qml quick controls • • Julia Johnson  

      6
      0
      Votes
      6
      Posts
      5552
      Views

      What caused the issue for me was an empty onClicked handler like so: Item { id: testDialog; Rectangle { id: dlgBackground MouseArea { anchors.fill: parent onClicked: ; //Deleting this line fixed the issue for me } } After removing the onClicked line the error did not occur anymore (you may need to close and reopen the qml file for the designer to pick up the changes). Sytse
    • UNSOLVED Custom behavior for Drawer
      QML and Qt Quick • quick controls drawer dragmarg • • Camilo del Real  

      7
      0
      Votes
      7
      Posts
      2871
      Views

      @jpnurmi Well, I found a temporary solution while the original idea is fixed with dragMargin. Making the width is 0 can disable the Drawer, but only with the combination of width and dragMargin, if only use width, is still possible show a Drawer (an empty drawer) Drawer { dragMargin: appContentManager.depth > 1 ? 0 : Qt.styleHints.startDragDistance width: appContentManager.depth > 1 ? 0 : Math.min(appRoot.width, appRoot.height) / 3 * 2 } I also report the bug https://bugreports.qt.io/browse/QTBUG-54629