跳到內容

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k 主題 77.4k 貼文
  • [SOLVED]Accessing QML component property dynamically

    3
    0 評價
    3 貼文
    936 瀏覽
    K
    Its done. That helped me. Thanq.
  • Qt Quick apps crash when clicking on ComboBox/drop-down menu

    11
    0 評價
    11 貼文
    6k 瀏覽
    _
    I am try use QSG_RENDER_LOOP=basic and have no effect - app still crashed. Qt 5.3.1 Buildroot 3.10.17 I.MX6 soc
  • [SOLVED] Can't use keyboard commands in QtQuick.Controls.Menubar on Windows 8.1

    3
    0 評價
    3 貼文
    1k 瀏覽
    M
    I tested this functionality in Ubuntu 14.04 and it didn't worked too. So I guess this is not implemented yet. I will use the QtWidgets module to build de main window for now. Thanks.
  • StackView & Transitions

    2
    0 評價
    2 貼文
    1k 瀏覽
    p3c0P
    Hi, Use Item instead of Window as root object. And provide a width and height to ListView or use anchors.fill: parent. To load Item based component you will need QQuickView.
  • When is TabViewStyle's styleData.availableWidth valid?

    1
    0 評價
    1 貼文
    732 瀏覽
    尚無回覆
  • Dynamic property binding from c++

    4
    0 評價
    4 貼文
    2k 瀏覽
    W
    thanks for the responses. i think the Binding component approach is a good idea - the trick will be to do it so that individual properties can be defined and assigned bindings as needed. i will be looking into this
  • QML Design, required C++ logic?

    4
    0 評價
    4 貼文
    1k 瀏覽
    B
    You might wrap you qml app into a shell script. Pipe the input of a crontab file to your app and pipe the output back to the crontab file and call crontab, e.g.: @ cat MyCrontab.txt | xargs myQmlAlaramApp > MyCrontab.txt crontab MyCrontab.txt @ Inside qml access the argument string via: @ Text { text: Qt.application.arguments[1] @
  • There is any way to move a SplashScreen Window in desktop env?

    5
    0 評價
    5 貼文
    2k 瀏覽
    M
    Lastly i find a way: in any item you want to move you should add this MouseArea: @ MouseArea { anchors.fill: parent property real lastMouseX: 0 property real lastMouseY: 0 acceptedButtons: Qt.LeftButton onPressed: { if(mouse.button == Qt.LeftButton){ parent.forceActiveFocus() lastMouseX = mouseX lastMouseY = mouseY } } onMouseXChanged: root.x += (mouseX - lastMouseX) onMouseYChanged: root.y += (mouseY - lastMouseY) }@ Good luck
  • Missing QTWinFormsExtra in Sample MediaPlayer

    1
    0 評價
    1 貼文
    403 瀏覽
    尚無回覆
  • Qml video play rtsp stream -- Unresolved error code

    5
    0 評價
    5 貼文
    6k 瀏覽
    R
    So guys, any success regarding to this issue? I am facing the same.
  • How to enable scrolling in the TextArea on the touchscreen devices

    1
    0 評價
    1 貼文
    942 瀏覽
    尚無回覆
  • State not "drawn" when being set

    1
    0 評價
    1 貼文
    487 瀏覽
    尚無回覆
  • Drawing with QML

    1
    0 評價
    1 貼文
    598 瀏覽
    尚無回覆
  • Is there any way to embed ActiveX controls in QQuickWindow on Windows platform?

    5
    0 評價
    5 貼文
    2k 瀏覽
    p3c0P
    I don't think there's a pure QML way of doing this.
  • Get paintedWidth/Height for QML Video

    1
    0 評價
    1 貼文
    553 瀏覽
    尚無回覆
  • List View Zooming

    2
    0 評價
    2 貼文
    1k 瀏覽
    D
    Hmm, i think as main container is "StackView":http://qt-project.org/doc/qt-5/qml-qtquick-controls-stackview.html a good element. For the pages use a "flickable container":http://qt-project.org/doc/qt-5/qml-qtquick-flickable.html with a child item to render the content. Change the size of the child item for zooming should have a direct effect to the flickable element for scrolling.
  • Button Click Signal to make a pop- up window

    3
    0 評價
    3 貼文
    5k 瀏覽
    H
    Yes now I understand, thank you.
  • How to simulate Home Key pressing in Android

    1
    0 評價
    1 貼文
    937 瀏覽
    尚無回覆
  • Camera preview image is always the same

    4
    0 評價
    4 貼文
    2k 瀏覽
    M
    any help on this issue ? I've submitted a bug, but no news as well on that site : https://bugreports.qt-project.org/browse/QTBUG-41442
  • Using rainyday.js in QtQuick app

    2
    0 評價
    2 貼文
    672 瀏覽
    p3c0P
    Hi, I don't think so it could be used. The first major obstruction here would be use of window object which is used in that js. Check "this":http://qt-project.org/doc/qt-5/qtqml-javascript-hostenvironment.html for more details.