Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Browsing all 4972 articles
Browse latest View live

QtQuick 2 laggy?

A couple of notes here. There were some performance improvements regarding resizing going in after the beta so you might want to try again when the RC is out soon. If resizing performance is a major...

View Article


How to convert QML Object to QImage ?

Yes i want to print it. I know how to use QPrinter but i want the QImage of a child QML Item of my view and not all the view. Thank You.

View Article


QMenuBar CSS problème

Hi every body, i have a problèm with stylesheet for QMenuBar i want to customize my bar menu on color gray (see the picture) http://i.stack.imgur.com/rYqyP.png please i need your help i used all...

View Article

QMenuBar CSS problème

Hello, please don’t post multiple threads on the same topic. One is enough. Since you request help with programming GUI using Qt widgets, stick to this thread [qt-project.org].

View Article

Capture the camera image after postprocessing by shaderEffect

Using shaderEffect to do some postprocessing on the camera images, the codes camera.imageCapture.capture() Can’t catch the image after postprocessing but catch the original image before postprocessing.

View Article


How to track the coordinates of draggable, dynamically-created Qt Quick objects?

See this, for example: accessing children [github.com] children arrays as properties [github.com] and this [github.com] Feel free to roam through the whole project. If you take a look at newer commits...

View Article

Check if certain anchors are anchored

Try checking for ‘undefined’. Anchors are an attached property, I’m not sure you can check that.

View Article

ListView highlight item over delegate

Is it possible to make highlight item of list view to be over delegate instead of under? I`m trying to have delegate items with white background, but when you scroll out to display some background for...

View Article


ListView highlight item over delegate

I want to use delegate like this: delegate: Rectangle         {              ....  ...

View Article


filling a ListView with a custom Model?

I made some complex list models in the past using QAbstractListModel, and they worked great in QML. However I watched a talk with Adenilson Calvacanti on Qt Dev days 2012 where he had made a generic...

View Article

Capture the camera image after postprocessing by shaderEffect

Is this possible for shaderEffects? Or I have to implement a new type by c++?

View Article

[Solved]Create enum for qml

With the help of Q_PROPERTY, we could create property for qml what about enumerator?Is it possible to export the enumerator of c++ to qml side?

View Article

[Solved]Create enum for qml

Thanks, I will try another solution

View Article


update ListView with onClicked

I’m using this to show contents of a database import "test.js" as Logic ....... ........... Text {      id: text1      x: 100...

View Article

Can't watch preview

Yea, but perhaps you should try a re-install (if you have not already). I had to uninstall and then delete the folder manually sometime to fix an installation. Anyway the 2.7.0 based on Qt 5.0.2 works...

View Article


[Solved]How to take ScreenShot Qt/QML

QtQuick1 example [developer.nokia.com] I can’t make it work on QtQuick2 screenCapture.hpp #include <QObject>   class QString; class QQuickView;   class screenCapture :...

View Article

To import pulgin in qml(Qt 4.7.4)

(opencv-camera-capture-with-qml) I am using this plugin from the below link http://f24h.altervista.org/blog/opencv-camera-capture-with-qml/ Here is the steps what I followed step 1   Under Qt...

View Article


[Solved]How to take ScreenShot Qt/QML

I found a solution, pretty simple, change the function “capture” to void screenCapture::capture(QString const &path) const {     QImage img =...

View Article

[Solved]Render a QML scene into a texture and save it

I found the other example take screenshot [qt-project.org] Take the screenshot by QQuickView, then do what we want

View Article

Using QML Items as texture for custom QSGGeometry QML QQuickItem

It’s a little bit simpler but very similar, here [qt-project.org]

View Article
Browsing all 4972 articles
Browse latest View live