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

Reusable SequentialAnimation

I’m trying to make a reusable animation and it’s not working. Why would I not be able to do something like this? I’m defining an animation in file “ZoomAnim.qml” : import QtQuick 2.1  ...

View Article


Combobox does not show arrows to scroll when list are much larger than the...

Combobox does not show arrows to scroll when list are much larger than the screen height.

View Article


QML TextEdit with RichText problem mixing text and image tag

No one knows a solution?!

View Article

QML Video Object does not use alpha channel of video

I have a video with an alpha channel that i would like to overlay onto other elements (another video). However, qt doesn’t seem to respect the alpha channel, and instead ignores it so that i get a huge...

View Article

QQuickView vs QDeclarativeView

Hi, thanks for your answer! I’m reassured and glad to know QQuickView is the way to go, though I still need to figure out the optimal way how to achieve what I want. I’d rather keep everything...

View Article


QtQuick2: Drag and Drop between two ListViews

Hi, I’m actually looking at something similare, did you get anywhere ?

View Article

Combobox does not show arrows to scroll when list are much larger than the...

did you adjust maxVisibleItems at all?

View Article

getting the opengl context for sharing

Good afternoon, I’m using Qt5.1 and trying to share the opengl context with a rendering library. I have the QOpenGLContext. How do you extract the opengl (HGLRC) handle? The goal is to use Ogre3d in a...

View Article


TreeView - Context menu

I’m using Qt 5.1.1’s Desktop controls. I need to be able to do a context menu on a selected row in the TableView. I looked into “clicked” and “activated” signals but they don’t provide which mouse...

View Article


Slider Style Problem

If a SliderStyle is used AND a negative minimumValue is used, the slider’s handle goes off its groove. Like this… Screenshot [jawad.zenfolio.com] This happens even if the SliderStyle is empty (so...

View Article

Set Direction for ParallelAnimation or PropertyAnimation

Well after searching i didnt get anything equivalent directly in ParallelAnimation or PropertyAnimation But seems that this can be achieved using Transitions and States.

View Article

Using QtQuick Location Map with C++ QGeoMap* items

I have a very trivial need, I have Qt Quick UI and I am using Location Map elementy to display map. I have C++ application logic that generates data to be displayed on map. My C++ code has...

View Article

Slider Style Problem

That looks like a bug. You might change the slider range to 0 – 2 and adjust the values before reading/writing it.

View Article


When is the gl context set?

Good morning, I need to get the opengl context for a custom item. I pass this to an external drawing library. Is there a QQuickItem event where I can call wglGetCurrentContext() and get the correct...

View Article

QML Video Object does not use alpha channel of video

I would bet this was done for performance reasons and they don’t consider it a bug. It’s much slower to have to transfer data pixel by pixel checking the alpha channel than just a bulk memory copy.

View Article


How to get Screen Coordinates of a QML Item?

Perhaps this function: Item::mapToItem(Item item, real x, real y) documentation: http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-item.html [qt-project.org]

View Article

Accessing TabView component

Dear people, I have a qml application which has a TabView. Obviously I have created components to assign them to Tabs. There is a component that consists of 2 textfields. Outside of tabview I have a...

View Article


How to get Screen Coordinates of a QML Item?

Did you read the documentation? Are you having trouble using the function or don’t you understand what to do with the results?

View Article

Reusable SequentialAnimation

Hi, example below should work, you have indeed to set proper targets, “on scale” works as a shortcut, and only inside the target, not from a different component. main.qml import QtQuick 2.0  ...

View Article

Implementing filedownloader to QML

Hi, in your example code you do: void FileDownloader::fileDownloaded(QNetworkReply* pReply) {     qDebug()<<"Download successful!";  ...

View Article
Browsing all 4972 articles
Browse latest View live