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

[SOLVED] Wierd looking text in TableView section in Qt 5.1.0 Beta

The NativeRendering solves the text rendering problem. I tried the same program on a different machine and the text renders properly, without having to use NativeRendering. The machine on which it...

View Article


debugging small memory / cpu leaks

You can count everytime that a new object is created to focus on which instruction has more calls and use de object destructor.

View Article


How to perform tasks sequentially? [SOLVED]

Yeah, I managed to make a draft of a the manager. Now my application is waiting for the database before creating the interface. Like you said, I’ll need to have a splashcreen to display the downloading...

View Article

A good way to allow editing of Model items?

Models should be part of the business logic and belong to C++. Accessing model data is currently readonly. You must provide a Q_INVOKABLE setData method in your model if you want to modify data in a...

View Article

Unfreezing the QQmlEngine for script evaluation before GUI loading

In Qt 4.7 the QML Engine ran ontop of the QScriptEngine and had a special scriptClass which forced it into read-only mode after creation. If you removed the scriptClass you could get write-access...

View Article


Increase Performance of Text and Large String

Hullo, hopefully a quick question. I’m creating an interface for a serial terminal. The text for that terminal is often growing in length, especially when something this happening. As its size...

View Article

Error using states to change between pages

Hi I’m tring to change between pages using states, in a small game. This is what I did: main.qml: Rectangle {     id: root     ......     PagePanel...

View Article

Increase Performance of Text and Large String

Are you updating whole text in your text area on new line?

View Article


openGL (QGLWindow) functionality in QDeclarativeView

Hi, I am working on a project for Sailfish OS (Qt 4.8) app. I need to integrate openGL into QML using a QDeclarativeView. Seen and tried the examples as shown in the Qt Forums. They all: set a...

View Article


QQuickView fullscreen glitch OSX?

Same problem here. OSX Lion and Qt5.1.0 beta.

View Article

openGL (QGLWindow) functionality in QDeclarativeView

QDeclarative(View) corrected. Sorry. Yes it works as desktop app. Only had to: view.setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn); view.setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn); (view =...

View Article

Unfreezing the QQmlEngine for script evaluation before GUI loading

I think you can use something like this: (I’m using this to load some QML model before the actual GUI loading, JSCode would be the same, I think.) QQmlEngine e; QQmlComponent...

View Article

defining constants for use in qml

Hi I am just getting started in qml. I have some c++ bindings in QML and i have some function like Myqmlhelper.getiovalue( 40,15) that i call from QML So i would like to now if qml supports declaring...

View Article


defining constants for use in qml

There is no equivalent to #define in QML, AFAIK. In my projects, I usually use root properties for this: // C++ code! QQuickView *myView = new QQV(); QString pwd = qApp->applicationDirPath() +...

View Article

qml svg element id

Hi all! How can I set element id of svg image in QML?

View Article


How to do 3D in QML ?

I’ve been thinking, how hard is to implement the few basic primitives as QQuickItems with custom geometry and use them in declarative to create compound objects. The scenegraph will do the same work,...

View Article

[Solved] Error using states to change between pages

It’s working :) , I changed onGameclick: root.activeState: "game" to onGameclick: root.activeState = "game"

View Article


How can I do 3D model without import QtQuick3D

How can I do 3D model without import QtQuick3D by I would like to implement only qml code

View Article

Qt Desktop Components rendering issues in Windows 7

I built the Qt Desktop Components for Qt 4.8.4 and I have been experiencing some rendering issues with CheckBox and RadioButton components. My machine is running Windows 7 ×64 using an Aero desktop...

View Article

What should I do with QML code ?

View Article
Browsing all 4972 articles
Browse latest View live