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

Populating qml combobox

Looking at the ComboBox behaviour, it gets filled through its “model” property by using a “ListModel”. Now when you define the “ListModel” in QML let’s say something like: ListModel {  ...

View Article


First XHR request very slow.

Hi, I don’t know what would cause this, to be honest, but some things which might help your debugging: You can provide a QNetworkManager to the QML engine, which will be used for all network...

View Article


Expose QComboBox to QML

Sorry that i make another question but in your QML are you importing qtquick2 or qtquick1? In case of Qtquick2, I am not sure that a QGraphicsProxyWidget works under Qt5 using QtQuickView classes to...

View Article

Symbols like € œ when given as part of text are displayed differently

Hi, I have to display € œ as part of the text element. In the qml file the above symbols are shown properly but when i run the program. They are shown differently. Please let me know how i can resolve...

View Article

Symbols like € œ when given as part of text are displayed differently

welcome to devnet This must have to do with the different character sets used. Unfortunately (or maybe luckily), I am displaying only standard sets. But the section you need to focus on should be with...

View Article


How to use a map (like google maps) with Qt Quick?

So waiting for QT 5.2 and becoming familiar with the qt location module seems to be the way to go :) @Chris WebView doesnt work on mobile devices yet.

View Article

Cannot call c++ function from qml

Anyways ppl, sorry for wasting your time, it is not my fault. I cleaned and rebuilt and it started working (probably some pre-compilation issues)

View Article

QQuickWindow not shown

I think I solved it, the problem is related to the .pro file. I needed to add the line: QT += core gui And re-run Qmake, and is linking and running.

View Article


Need Help with QML/C++ resizing

Hello everybody, Using Qt4.8 I’m facing a problem in a QML/C++ project where the QML contents do not adjust when I resize the window despite calling setResizeMode with SizeRootObjectToView. A grey...

View Article


Object id visibility in QML

If A.qml is a composition in B.qml which is a composition in main.qml then A.qml can see and refer to all object id’s in B.qml as well as main.qml. Is doing so recommended as a good practice in qml...

View Article

QtQuick.Controls: Change Focus on Enter Key

How can I make the focus change to the next control when the enter key is pressed for example in a TextField? Why is this not the default behaviour in a control that does not itself consume the enter key?

View Article

Need Help with QML/C++ resizing

OK I found a solution. Encapsulating the QDecalarativeView object in a layout allows it to be resized. So: QmlContainer::QmlContainer(QWidget *parent) :     QWidget(parent) {...

View Article

Expose QComboBox to QML

No, unfortunately not. This QML ComboBox is such a bad design. It uses a Popup Menu for the dropdown. Who would ever thought of that? Try to put a list of countries into a QML CB. Not only is it slow...

View Article


Symbols like € œ when given as part of text are displayed differently

Sorry, I did not pay attention that it was posted under Qt Quick. I am not of any help here. Note: In order to make your code more readable you should use” code...

View Article

Default easing.type in animations

Hello geeks! I have a strange problem with animations. I’m developing a QtQuick2 app on my amd64 desktop (Ubuntu 12.04), which has some animated transitions. Almost all of them don’t specify the...

View Article


Changing State of a Component from another Component

I am a newbie in QT. In my application I have a headerbar which is a component. This headerbar component have two states “base” and “state1”. on Homescreen i want to show the base state but on screen 2...

View Article

Expose QComboBox to QML

philk: Please file a proper bug or a feature if you are having issues with the qml ComboBox. There is no proper way to embed a widget in Qt Quick 2 so working around it that way is not recommended. I...

View Article


Use Qt, qml with linux and directfb

Hi, I search to use Qt, qml with directfb I have compiled Qt with -no-xcb and -directfb directives Qt.5.1.2 is well compiled. With X11, I installed QtCreator, declared Qt.5.1.2 in and created a program...

View Article

QML TextEdit with RichText problem mixing text and image tag

Hello, I’m triyng to use a TextEdit component mixing text and html tags such as <img> using TextEdit.RichText The latter property causes to create all html stuff when using text property...

View Article

ObjectModel unknown component (M300)

so I just got started to program in qtquick and I’m following the getting started guide. http://qt-project.org/doc/qt-5.1/qtdoc/gettingstartedqml.html but at the Using Data Models and Views part of the...

View Article
Browsing all 4972 articles
Browse latest View live