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

How to embed Qt Quick controls

WOW, the MFC Hell!! :D:D Anyway, the simplest way to gat what you want is to use a TabView. For example  Column {         id: myColumn    ...

View Article


How to discern between user and programming generated events in QtQuick...

Thanks for the reply. Currently (Qt5.1.1) binding a property between QML and C++ and change the value both side is safe because only the QML side is updated. At leas this is what i’m seeing in my tests...

View Article


Qml Library

You need to use Qt resource system [doc-snapshot.qt-project.org]

View Article

QtQuick.Controls StackView: clear-and-push with transition?

Hello, the documentation of StackView lists a bunch of cases how you can push and animage pages with the StackView. It seems it is not possible to reorder items with a transition. For example if I have...

View Article

Model from C++ to QML

Thanks a lot, I finally managed to do what I needed. If someone else would read this topic, I found some useful information also here [stackoverflow.com] Now I’m facing one more problem (I hope the...

View Article


suggestion needed

Your problem comes from GridView. It is for grid, i.e. table of similar cells. You can’t easily have different delegates for each cell. May be you shall try Column/Row combinations or a Flow?

View Article

QML Code modularization (re-use)

Hi It looks like Qt is making some really nice strides under Digia. I thought I would start playing with QML. I’m wondering how to go about modularizing qml files. For instance, what if I have two...

View Article

Exposing custom type class instance to QML code

Dear all, I am about to develop a small labyrinth game with Qt 5.1.1. I would like to implement the whole game logic within C++ and expose the internal state of the “game engine” to QML for...

View Article


Error while building/deploying project on ios

Hi, currently I am trying out the new capabilities of Qt-Creator 3-rc1 with Qt5.2 for ios and I am not able to deploy my application to my iPhone (deployment in the simulator works). My iPhone is in...

View Article


TabView Control Native Look

Hi! I’ve been wondering on how to use the TabView with native look. In The Gallery controls example inside qt creator the project uses the ApplicationWindow qml type but In my project Im using a...

View Article

suggestion needed

Sergei, Thanks for writing. Do you have any references /examples that you can point me to?

View Article

qml desktop components scaling

This seems to be included in Qt 5.2 for some controls. Others can be adapted to behave like this. See the accepted answer on stackoverflow [stackoverflow.com]

View Article

Project ERROR: Unknown module(s) in QT: quick

Hi all, i have compiled Qt5.1.1 with linaro toolchain.i compiled all the components/modules of Qt present in Qt5.1.1 including QtQuick1.Now after i do a qmake on qtdeclarative/tools/qmlscene i get this...

View Article


QML Code modularization (re-use)

Put separate components into separate QML files. It’s all written in the documentation. As long as the file name follows the convention (starts with upper case), QML will allow you to import that file...

View Article

Project ERROR: Unknown module(s) in QT: quick

Compile Qt with -opengl desktop. You don’t have OpenGL ES 2 on your PC, and rightly so: if desktop OpenGL is available, it’s better to use that. Check out the compilation guide I have provided, it...

View Article


Noob question about Properties and Scopes

I’m totally new into the Qt and qml stuff and I just waste my all day trying to understand the property scopes without success. So I have a Table View with an Item delegate like this: TableView {...

View Article

Exposing custom type class instance to QML code

I’ve run the test code here [pastebin.com] With Q_OBJECT in DerivedClass DerivedClass(0x11408d0) virtual bool DerivedClass::someFunc() true Without Q_OBJECT in DerivedClass BaseClass(0x18025a0) virtual...

View Article


Noob question about Properties and Scopes

Thank you! after proper reading I can see now how nasty is to try saving things in a delegate. So now what I’m doing is to simply access the model directly in this way: onClicked: {  ...

View Article

Is the QML realtime preview away?

Do you mean something like this: http://www.youtube.com/watch?v=ymy94i11Noo or this http://qt-project.org/videos/watch/livecoding-video-effects-with-qt5 It is not part of the qtcreator. Its a C++...

View Article

writing function for onClicked signal of nested button

—Hi everyone, I am trying to build a message box that can be simply added and then apply a custom function to the onClicked function of each button. I have manage to create properties that can be...

View Article
Browsing all 4972 articles
Browse latest View live