Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.1k Topics 77.7k Posts
  • ListView loop, reaching bottom pressing Down Key selecting top

    3
    0 Votes
    3 Posts
    743 Views
    Z
    Thank you p3c0 you are useful as always
  • [solved] How to parse QList<QMap<QString, QVariant> >

    2
    0 Votes
    2 Posts
    1k Views
    T
    I solved this problem. I sent data in format QList<QVariant>.
  • User action log implementation in QML ?

    1
    0 Votes
    1 Posts
    536 Views
    No one has replied
  • Drawing a dashed/dotted line on a canvas element

    2
    0 Votes
    2 Posts
    4k Views
    p3c0P
    Hi, AFAIK not all HTML5 Canvas features have been ported in Qt's Canvas. According to "Context2d":http://doc.qt.io/qt-5/qml-qtquick-context2d.html doc there's no such method available. The only way I think for now is to use lineTo and moveTo functions to imitate it.
  • Strange problem in QML calling C++ function..

    2
    0 Votes
    2 Posts
    639 Views
    p3c0P
    Hi, What is urlSelectorr ?
  • [SOLVED]: ListView spacing

    6
    0 Votes
    6 Posts
    3k Views
    sierdzioS
    Yes, that will not take item collision into account, as we are fooling the ListView into thinking that the item is very small, when in reality it is not.
  • Qt 5.4 static and QML

    1
    0 Votes
    1 Posts
    613 Views
    No one has replied
  • CAN protocol using Qt

    4
    0 Votes
    4 Posts
    1k Views
    N
    Hi sierdzio, Hi kuschky, Thanks for your valuable suggestions. kuschky, I'm using a linux on my embedded board and just checked the boot logs to conform CAN module is enabled and is fine. As i'm new to Qt can you please point out the sample code for the same. Also is CAN implementation the same way as to implementing i2c in Qt by writing on file systems(dev/i2c-0), or using CAN-utilities installed on the board will make my work simpler.
  • Proxy mouse/touch events

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Qt 5.4: Qml Video player with custom frame source

    4
    1 Votes
    4 Posts
    2k Views
    D
    Take a look at "this":http://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph.html. Scenegraph runs in a separate thread if i understand it correct.
  • [SOLVED] Set the currentIndex of ListView immediately (without animation)

    5
    0 Votes
    5 Posts
    4k Views
    sierdzioS
    Confirmed, this works beautifully, and even can be invoked through the meta object system. Thank you!
  • QML Window onClose event not working in some cases

    2
    0 Votes
    2 Posts
    7k Views
    p3c0P
    Hi, It definitely seems to be a bug. See "QTBUG-35390":https://bugreports.qt.io/browse/QTBUG-35390. There's a workaround mentioned in the last comment there.
  • [SOLVED] Wheel Scroller

    3
    0 Votes
    3 Posts
    785 Views
    sierdzioS
    Yes, this is possible usign ListView. Check out these properties: @ ListView { highlightRangeMode: ListView.StrictlyEnforceRange preferredHighlightBegin preferredHighlightEnd highlight } @ Basically, you need to use StrictlyEnforceRange to keep your highlight in check. Then you need to make sure you position your highlight well using prefferedHighlightBegin and End properties.
  • Transform property id

    4
    0 Votes
    4 Posts
    1k Views
    P
    Ok, i hoped that there is a special trick or something to access the value. Thanks you both
  • Opengl application ported to Qt + QML

    1
    0 Votes
    1 Posts
    515 Views
    No one has replied
  • Qt Gui for multimedia with qt5 not recognizing the multimedia library

    5
    0 Votes
    5 Posts
    2k Views
    SGaistS
    Since it looks like you are using your distribution's Qt, did you check that you have all Qt 5 dev packages installed ?
  • QML Drag: Create a shapshot of the dragged item

    8
    0 Votes
    8 Posts
    3k Views
    M
    Hi there, thank you very much for your advice . I wrote to the mailing list and I'll wait for their reply. The c++ approach is a solution but I would rather prefer to leave those things on the UI without involving any other extra c++. I'll post any update I'll receive from the mailing list. Thanks again for all the help, Ben
  • Translation

    4
    0 Votes
    4 Posts
    1k Views
    sierdzioS
    Hm, I do not know why it does not work, then.
  • How to install QtQuick.Window version 2.2

    9
    0 Votes
    9 Posts
    7k Views
    JKSHJ
    What kit are you using to build and run the project? Open the project, and click on the "Debug"/"Release" button on the bottom-left (above the green "Run" arrow). This will show your kit -- it should be something like "Desktop Qt 5.4.0 MinGW 32bit"
  • How to lock Screen orientation QML (Android/iOS)?

    10
    0 Votes
    10 Posts
    12k Views
    O
    I can't tell for sure if the iOS part is right, but it seems all correct for me. You can create your Android Manifest in your project configuration. It might be the same for iOS. The QtCreator should determine the files automatically(?), if not: you can still compile android project using ant.