Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.4k Posts
  • Save QQuickView screen to video

    3
    0 Votes
    3 Posts
    1k Views
    J
    Depending on the use case, it might be easier to use the operating system tools to do this. (i.e I use quick time on mac or the windows video tool to do screen recordings) Using vlc, might also be a solution if they provide API for this: http://pctonic.net/use-vlc-as-a-screen-recording-tool
  • [Solved]Could QtQuick control design a toolButton with embedded menu?

    4
    0 Votes
    4 Posts
    1k Views
    S
    Thanks for your help, I would try to implement the arrow by Image or Canvas :)
  • [Solved]Access the pixels of the Image(qml2)

    5
    0 Votes
    5 Posts
    1k Views
    S
    I tried it, not really the class I need, but it is good to know there are a tool like that exist. It is not suit for my need because the image have to repaint when specific properties change(interval, minimum slope etc), so I design a custom image by QQuickPaintedItem. The next experiment is try to use the gpu and cpu together to render the image and show them on the qml scene, lot of things have to learn.However, process the image is fun, it is even more interesting to play it with Qt.
  • [Solved]Question about the example "Scene Graph - OpenGL Under QML"

    4
    0 Votes
    4 Posts
    2k Views
    slettaS
    Have a look in the 5.1 qtdeclarative source tree: http://doc-snapshot.qt-project.org/qt5-stable/qtquick/scenegraph-textureinsgnode.html http://doc-snapshot.qt-project.org/qt5-stable/qtquick/scenegraph-customgeometry.html http://doc-snapshot.qt-project.org/qt5-stable/qtquick/scenegraph-simplematerial.html The "textureinsgnode" example was added for 5.1 but the others have been there since 5.0
  • Qt desktop components with user Style

    5
    0 Votes
    5 Posts
    2k Views
    J
    Yes it is certainly possible to style a scroll area using Qt 5.1 RC. This was done using custom styling: http://blog.qt.digia.com/wp-content/uploads/2013/06/Screen-Shot-2013-06-21-at-2.51.45-PM3.png As steno suggests, just set a custom ScrollViewStyle (or TableViewStyle) on the control and modify it to your liking. Not everything has a custom style in the first release however, but we are planning on adding more public style classes soon.
  • [SOLVED] Desktop Components MenuBar

    2
    0 Votes
    2 Posts
    2k Views
    J
    No the menubar does not currently support custom styling. While we are considering adding this in a future release, keep in mind that on platforms like Ubuntu or Mac it will anyway use the native system menu bar which is outside the control of your application.
  • Sqlite

    6
    0 Votes
    6 Posts
    2k Views
    D
    I'm sure it has the table. Where is the database files located? I can't seem to find them on my system, I even checked the md5 of the db name
  • How to expose a list of lists or a MAP as a list model into QML

    1
    0 Votes
    1 Posts
    529 Views
    No one has replied
  • Calling static function from QML? Doable?

    18
    0 Votes
    18 Posts
    26k Views
    S
    [quote author="mbrasser" date="1317857789"]Hi, For QtQuick 2.0 we are introducing an additional "module API", which should allow you to implement the singleton pattern more easily. [/quote] So, is the new module api the function qmlRegisterSingletonType?
  • [Solved]qml can not recognize the c++ parameters with &

    11
    0 Votes
    11 Posts
    7k Views
    S
    After some experiment, the last post of my solution is useless, the data of qml and c++ are always copy
  • Suppress QML output to console

    1
    0 Votes
    1 Posts
    780 Views
    No one has replied
  • How to access (c++) model data from qml

    2
    0 Votes
    2 Posts
    3k Views
    P
    How is defined "get" method in your ListModel? You have mentioned that you are using public slot, but slot should return void. If you need to expose non-void method to QML you need to define it like this: @ ... public: Q_INVOKABLE Parent* get(const int &index); ... @
  • Dynamically allocating images

    2
    0 Votes
    2 Posts
    819 Views
    S
    Try repeater, ListView or other view according to your need //pseudo codes @ ListModel{ id: photoModel ListElement{name: "movie_list1"} //....and so on } ColumnLayout{ Repeater { model: photoModel Image { width: 100; height: 40 x: -342; y: 502 source: name } } } @ or a more simple one @ property var names : {"movie1", "movie2"} ColumnLayout{ Repeater { model: names Image { width: 100; height: 40 x: -342; y: 502 source: modelData } } } @
  • 3 pages circular ListView

    1
    0 Votes
    1 Posts
    776 Views
    No one has replied
  • [Solved]What is the data type of list<string> on c++ site?

    4
    0 Votes
    4 Posts
    2k Views
    S
    Whatever, the document of the FileDialog and FileDialog itself are mismatch. document @ filePath : string filePaths : list<string> @ But in Qt5.1RC, I have to use fileUrl or fileUrls to access the address of the files.Maybe this is because this is RC but not a formal release
  • [SOLVED]Segmentation fault on QQuickView::rootObject()

    10
    0 Votes
    10 Posts
    6k Views
    T
    Well, I'm finding this new issue to be increasingly difficult to fix, but because my original issue was resolved, I'm going to go ahead and label this thread as solved, the issue was that qmlGui was NULL, and therefore didn't have the QQuickView member. The next issue I'm having I'm experimenting with a different solution other than using QQuickView::rootObject() to connect to the signal, instead I'm working on using Q_PROPERTY(READ and NOTIFY) instead.
  • Qt Run Time Error-Error code 3

    3
    0 Votes
    3 Posts
    2k Views
    W
    I have encountered the same problems, even run the program created by qt wizard. The problem only happens in QtQuick 2.0, and does not appear in QtQuick 1.1. Thank you!
  • 0 Votes
    18 Posts
    12k Views
    S
    I am glad that lots of informative stuff is shared here! I am a beginner and in web development and I have some doubts regarding them! Can you suggest the best ways to change the visual layouts? In addition please tell me how style sheets operation change in two mark ups? http://www.outlookrepairhelp.com
  • Sending Email to any server in Qt

    12
    0 Votes
    12 Posts
    9k Views
    A
    Thanks sir, I came to understand your thoughts......TLS means Transport Layer Security protocol,Ok now wat i need to do....How can we send the mail by inserting that STARTTLS command.....could you please explain it in technical way(in coding style)..Please favour me an example..thanks in advance
  • QML designer is very slow

    3
    0 Votes
    3 Posts
    2k Views
    L
    Try start twice QtCreator. In my case second process running well.