Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.1k Topics 77.6k Posts
  • How to remove a specific row from QML table

    2
    0 Votes
    2 Posts
    2k Views
    p3c0P
    Hi, You could use "selection":http://qt-project.org/doc/qt-5/qml-qtquick-controls-tableview.html#selection-prop properties like select and deselect on ToolButton clicked.
  • Accessing TabView elements by id does not work

    2
    0 Votes
    2 Posts
    791 Views
    G
    I found a workaround by giving the tab an id and use @tabContacts.children[0].model = x.results;@ Nevertheless it would be nice that ids work also for tab children.
  • Menu Navigation - problem with nesting ListModels

    1
    0 Votes
    1 Posts
    535 Views
    No one has replied
  • PinchArea and Zoom in QMl

    8
    0 Votes
    8 Posts
    10k Views
    p3c0P
    No i guess, last one will override.
  • 0 Votes
    3 Posts
    834 Views
    S
    Hi, thanks a lot that makes sense. I'll try that.
  • Flickable and scale

    4
    0 Votes
    4 Posts
    4k Views
    H
    [quote author="p3c0" date="1406713166"]Hi, @ Rectangle { id: board width: 1000 height: 1000 color: "green" transform: Scale { id: scale; origin.x: 500; origin.y: 500 } } @ To use: @ scale.xScale += 0.1 scale.yScale += 0.1 @[/quote] The same behaviour. Try to zoom in (+) and drag the rectangle downright.
  • Demo (solved)

    2
    0 Votes
    2 Posts
    651 Views
    B
    Hi, -For weather info you could use this API: http://www.worldweatheronline.com/free-weather-feed.aspx and show it in some labels. -For digital time: there's a widget in qt to do that, so you can get system time using QTime, and refreshing it using a Qtimer every second connected to an specific slot with your update routine. -For video: http://qt-project.org/doc/qt-5/multimedia-examples.html here you have a lot of examples. Best Regards, German Zapata Segura
  • Possible to tell the number of an item within a repeater?

    4
    0 Votes
    4 Posts
    990 Views
    G
    These are exactly what I was looking for. I just found it in the documentation on repeaters also. Thanks! I ended up using the index like this: @Image { source: "button" + index + ".png" }@ because all my button images are buttonX.png.
  • [solved]display qt quick control calendar at a certain position

    4
    0 Votes
    4 Posts
    1k Views
    p3c0P
    You're Welcome :) You can mark the post as solved by editing and prepending the thread title with [Solved]
  • Qt Quick Local Storage Export / Import Database

    6
    0 Votes
    6 Posts
    3k Views
    p3c0P
    The file is actually created in a standard Data location of your system and that too inside the <your ApplicationName> folder. You can use "offlineStoragePath":http://qt-project.org/doc/qt-5/qqmlengine.html#offlineStoragePath-prop to get the path of DB.
  • How to Embed Thumbnail image on an Jpeg Image

    5
    0 Votes
    5 Posts
    2k Views
    SGaistS
    @ Dheerendra what beemameni wants is not to superpose two images but to write the thumbnail version in the "meta-data" of the original image
  • Qt creator convertor

    3
    0 Votes
    3 Posts
    916 Views
    D
    hi the format of the image is mono_8 raw, because rosbag records in the format mono_8. I need another format to show the video in my qt gui, because qt cant visualize the format. I want to to convert from mono_8 to a rgb format
  • Set RegExpValidator to qml object

    1
    0 Votes
    1 Posts
    561 Views
    No one has replied
  • Using Nokia components on custom platform

    1
    1 Votes
    1 Posts
    538 Views
    No one has replied
  • ListView contentY changes on move

    7
    0 Votes
    7 Posts
    4k Views
    S
    Hi, yes this is documented behaviour : The top postion of a flickable is defined by originY and this can be a negative number : check it out here : http://qt-project.org/doc/qt-5/qml-qtquick-flickable.html#originY-prop originX : real originY : real These properties hold the origin of the content. This value always refers to the top-left position of the content regardless of layout direction. This is usually (0,0), however ListView and GridView may have an arbitrary origin due to delegate size variation, or item insertion/removal outside the visible region. So you should use the originY value as the start position, instead of 0. OriginY can be negative, but should work fine as long as you take that into account in your calculations.
  • Can i use reference in signal slots

    14
    0 Votes
    14 Posts
    4k Views
    JKSHJ
    [quote author="praneeth007" date="1406016204"]I want to modify those[/quote]You can't do that through signals and slots.
  • Setting static path to image source

    16
    0 Votes
    16 Posts
    4k Views
    p3c0P
    Is the image accessible outside Rectangle ? You can try to use Image element directly instead of placing inside the Rectangle. But i don't think so that would be a problem.
  • QtAV: Qt Quick items display wrong textures

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Create QML or JavaScript Object in C++

    5
    0 Votes
    5 Posts
    2k Views
    W
    [quote author="Dheerendra" date="1406300961"]If you want QML object, that is the only way. If are not worried about QML, you can check QScriptable module for JavaScript and C++ integration. [/quote] Ok,I will try it.Thanks a lot~
  • Class member data are not available (empty)

    8
    0 Votes
    8 Posts
    2k Views
    D
    Many thanks for the answers. I will try it and report.