Navigation

    Qt Forum

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

    • SOLVED Styling the Busy indicator in QML 2.0
      QML and Qt Quick • qml qtquick2 qtquickcontrol busy indicator • • pra7  

      5
      0
      Votes
      5
      Posts
      989
      Views

      This is how I style one off BusyIndicator: BusyIndicator { running: true Component.onCompleted: { contentItem.pen = "white" contentItem.fill = "white" } } If I recall correctly I was looking at source code of BusyIndicator to understand how to style it.
    • SOLVED Time Edit field in QML
      QML and Qt Quick • qtquick2 textfield qtquickcontrol • • pra7  

      13
      0
      Votes
      13
      Posts
      5080
      Views

      @Eeli-K sorry I have read your comment incorrectly :p
    • SOLVED Adding TabButton dynamically to TabBar
      QML and Qt Quick • qtquick2 qtquickcontrols qtquickcontrol tabbutton • • pra7  

      14
      0
      Votes
      14
      Posts
      7313
      Views

      Simpler alternative, just a Repeater with a ListModel inside TabBar : import QtQuick 2.0 import QtQuick.Window 2.2 import QtQuick.Controls 2.0 ApplicationWindow { visible: true width: 640 height: 480 ListModel { id: tabModel } TabBar { Repeater { model: tabModel TabButton { text: model.text + " " + model.index onClicked: tabModel.remove(model.index) } } } Button { anchors.centerIn: parent text:"add" onClicked: tabModel.append({text: "tab"}); } } EDIT: My bad, I didn't saw @LeLev first answer, it's very similar to mine. But I fell compelled to post it cause there's a lot of over complicated code in the following answers.
    • UNSOLVED QML combobox styling issue in QtQuick.Controls 2.2
      QML and Qt Quick • qml combobox qtquick2 qtquickcontrol combobox style • • pra7  

      4
      0
      Votes
      4
      Posts
      2417
      Views

      @pra7 did you manage to solve it? I am facing the same issue. I cannot apply any stylesheet on a Combobox using QtQuick.Controls 2.2
    • SOLVED Not able to call canvas.requestPaint()
      QML and Qt Quick • qml qtquick2 qtquickcontrol • • pra7  

      3
      0
      Votes
      3
      Posts
      1589
      Views

      @while1code That's the problem ,i cannot pass canvas ID outside ie.,in onCurrentIndexChanged function. Now I achieved the same using signal and slots by adding following code : Canvas { id: canvas1 anchors.fill: parent width: parent.width height: parent.height onPaint: { styleData.selected ? drawTab(canvas1,"#0C3142") : drawTab(canvas1,"Transparent") } //*** CONNECT TO SIGNAL HERE *** Connections { target: tv onRefresh: canvas1.requestPaint() } ... ... ... onCurrentIndexChanged: { console.log("index changed "+currentIndex) refresh() //emiting refresh signal }
    • UNSOLVED problem connecting Qt Quick Rangeslider with my c++ code
      QML and Qt Quick • qtquick qtqml qtquickcontrol • • Swapnil_Shelke  

      1
      0
      Votes
      1
      Posts
      547
      Views

      No one has replied

    • UNSOLVED How to add menu in MenuBar
      QML and Qt Quick • qml qtquickcontrol • • e53871eb35312d29ea3b6478e9489038  

      2
      0
      Votes
      2
      Posts
      623
      Views

      @e53871eb35312d29ea3b6478e9489038 Maybe you can consider the possibility to create Menu dynamically from qml? For example createComponent.
    • UNSOLVED QML module not found
      QML and Qt Quick • module qtquickcontrol not found qtquick.layouts • • nils90  

      6
      0
      Votes
      6
      Posts
      11378
      Views

      @nils90 ok I reinstalled Qt and now it works. I must have forgotten to install one plugin during the installation
    • how to cross compile qtquickcontrol for arm architecture
      Mobile and Embedded • qtquickcontrol • • praneeth  

      2
      0
      Votes
      2
      Posts
      592
      Views

      Hi. First of all, you should check whether you had EGL support when you built it. Run the configure script again and look for EGL.........yes