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

Rounded Image Corners

Hi there, i’m trying to create a rectangle with an image in it. The rectangle should have rounded corners. My code looks like this: import QtQuick 2.0   Image {     id:...

View Article


import Qtquick 1.0 into Qt 4.7

hi, i’m working with qtcreqtor 2010.05 not Qt5.1(because i had some problems with that) anyway,i noticed that i had to write import 4.7 instead of import QtQuick 1.0 in qml files but when i want to...

View Article


QSqlQueryModel in a QML view causes items being shown twice

I am in the process of learning both QtSql and QML, so there is some room for errors. Pretty much my whole problem is in the title of my question. I tried to make a short, self-contained code to...

View Article

problem with qml

hi, i have this problem in my project but i don’t know what i had to do .Qml debugging is enabled. Only use this in a safe environment! file:///C:/Users/USER/Desktop/projectsQt/test...

View Article

problem with qml

Clearly, the path to qml.qml is wrong. You need to fix this in your code.

View Article


import Qtquick 1.0 into Qt 4.7

What are those “Shapes”? Some custom library of yours? Edit: you can easily switch to Qt 4.8.5 and benefit from updates introduced in QtQuick 1.1.

View Article

Why model data isn't exposed as properties of the delegate object?

Need I request a feature on the bug tracker?

View Article

invoke C++ method from QML with "parent" as QWidget does not seem to work

When I try to call this Q_INVOKABLE void create(QWidget* parent) from my QML with “parent” property of my MouseArea, the parent is always NULL in C++. I think I know the reason for that: The “parent”...

View Article


Audio recorder with Qt 4.5. How to tell the recording loop to stop recording...

Hi, I am developing a program for embedded device (Blackfin BF548). The program needs an audio recorder build in it. Currently, I am able to record sounds into an audio file. But the problem is, I...

View Article


Rounded Image Corners

Hi Andre, thanks for your reply. However enabling clipping sadly did not solve the problem. This is the updated code: import QtQuick 2.0   Image {     id: background...

View Article

Who takes care of deleting QImage returned from QQuickImageProvider?

I can see a steady increase in memory for images loaded via my own QQuickImageProvider for gridview items. At what point are those images deleted by Qt (Quick)?

View Article

Audio recorder with Qt 4.5. How to tell the recording loop to stop recording...

Hi and welcome to devnet, It would be better if you could post the code you are using to record the data. Otherwise it would be pretty much crystal ball guessing. Since you have an infinite loop, you...

View Article

Are components loaded by Loader cached somehow?

It seems during runtime, I can change external files that are loaded by a Loader, but they are not reloaded. Is this by design?

View Article


clickable places in QGraphicsSceen

hi, i’m trying to make the element of my table tab[i] clickable and my text is moving “pivot glissant” and i can’t do it could someone help me please void View::createMetroTabBar() { QGraphicsTextItem...

View Article

problem with qml

The path is relative and you are doing a shadow build – it’s almost certain that qml.qml is not in the folder the executable is placed in (in your case: file:///C:/Users/USER/Desktop/projectsQt/test...

View Article


Are components loaded by Loader cached somehow?

Yes Loader does cache its items. See this thread [qt-project.org] for more information and a possible solution.

View Article

clickable places in QGraphicsSceen

Hi, Please enclose your code in coding tags, otherwise it’s extremely hard to read and people won’t be motived to read the code to help you

View Article


Audio recorder with Qt 4.5. How to tell the recording loop to stop recording...

The example was the first thing I tried. Both approaches have the same problem that, the ui is not responding unless all the functions in process() are performed. It means the button is always being...

View Article

Audio recorder with Qt 4.5. How to tell the recording loop to stop recording...

What is happening is that when started is called your infinite loop runs and “locks” the thread so it can’t start it’s own event loop. Are you doing any signal/slot communication from the process...

View Article

How to access items/properties from within Component{} element??? (Using...

I have a ComposerSheet [developer.ubuntu.com], which I’m using PopupUtils.show to display, for those that don’t know PopupUtils requires it to be in a component like so: Component {  ...

View Article
Browsing all 4972 articles
Browse latest View live