Questions tagged [qt-quick]

Qt Quick is a framework that provides a declarative way of building custom, highly dynamic user interfaces with fluid transitions and effects, which are becoming more and more common especially in mobile devices.

Qt Quick is a framework that provides a declarative way of building custom, highly dynamic user interfaces with fluid transitions and effects, which are becoming more and more common especially in mobile devices.

Qt Declarative is a runtime interpreter that reads the Qt declarative user interface definition, QML data, and displays the UI that it describes. The QML syntax allows using JavaScript to provide the logic, and it is often used for this purpose. It is not the only way, however: logic can be written with native code as well.

Qt Quick and QML are officially supported in Qt 4.7 (with Qt Creator 2.1), and it is a commercial option in mobile applications when Qt 4.7 is available for deployment in Symbian and Maemo/MeeGo devices.

Qt Quick provides everything needed to create a rich application with a fluid and dynamic user interface. It enables user interfaces to be built around the behavior of user interface components and how they connect with one another, and it provides a visual canvas with its own coordinate system and rendering engine. Animation and transition effects are a first class concept in Qt Quick, and visual effects can be supplemented through specialised components for particle and shader effects.

Video Course

Pluralsight offers a course, Qt Quick Fundamentals, which specifically targets learning Qt Quick. It is part 2 of a three part course on the Qt framework.

Pluralsight is subscription based, but if you're only interested in Qt or Qt Quick you can send the author @todgentille a private tweet and request a week long VIP pass. You'll get unlimited access to the higher subscription level for a week that allows viewing online and offline and you can download the course materials.

884 questions
0
votes
1 answer

QtQuick 2.0 Drop down button

I have a tool bar ToolBar on which I want to have a drop down button. I tried to use ComboBox, but the button is resized by the length of the list model items. And I don't know how to put actions on click events. ToolBar { id: toolBar …
user14416
  • 2,922
  • 5
  • 40
  • 67
0
votes
2 answers

How can I handle user data using QT Quick?

I am trying to develop an app for Ubuntu Touch. I am using QML integrated with JavaScript. I know that it is a huge mess to read or write to files in JavaScript when it is embedded in a webpage, but this is not embedded in a webpage so it should be…
John
  • 3,769
  • 6
  • 30
  • 49
0
votes
1 answer

How to make items af a ListView float (like in CSS)

In QML, you can decorate items of a listview vertically or horizontally. But is it possible to make items float like what we do in css? I mean something like this: ________________ | Item1 Item2 Item3 | | Item4 Item5 Item6 | | Item7…
Sassan
  • 2,187
  • 2
  • 24
  • 43
0
votes
1 answer

Creating an object of QDeclarativeView results in segmentation fault

.h #include #include class MyClass : public QObject { Q_OBJECT public: Q_INVOKABLE void cppMethod (const QString &msg) { qDebug() << "Called the C++ method with" << msg; } public slots: void cppSlot (int number) …
Aquarius_Girl
  • 21,790
  • 65
  • 230
  • 411
0
votes
1 answer

Understanding arguments of QMetaObject :: invokeMethod - QtQuick

From: http://qt-project.org/doc/qt-4.8/qtbinding.html#calling-functions QMetaObject :: invokeMethod (object, "myQmlFunction", Q_RETURN_ARG(QVariant, returnedValue), Q_ARG(QVariant, msg)); but, the function arguments say: From:…
Aquarius_Girl
  • 21,790
  • 65
  • 230
  • 411
0
votes
0 answers

Understanding KeyNavigation.BeforeItem - qtQuick

From: http://qt-project.org/doc/qt-4.8/qml-keynavigation.html#priority-prop KeyNavigation.BeforeItem - process the key events before normal item key processing. If the event is used for key navigation, it will be accepted and will not be passed on…
Aquarius_Girl
  • 21,790
  • 65
  • 230
  • 411
0
votes
1 answer

How to shift focus from one text box to another in QtQuick?

The code creates two input text boxes: import QtQuick 1.0 Column { width: 500 height: 200 Text { id: userInfoTextA focus: false text: "Enter a value from 0 to 10:" } TextInput { id: userInputA focus: true …
Aquarius_Girl
  • 21,790
  • 65
  • 230
  • 411
0
votes
0 answers

Fonts look washed out in QT Quick on Mac

When running Qt Quick apps (QML) on my Mac, some fonts look really washed out. Here is a screenshot of the Qt "gallery" demo: My own QML app has the same problem when I run it directly (via the code generated by Qt Creator). When I view it in…
jdm
  • 9,470
  • 12
  • 58
  • 110
0
votes
1 answer

QMLApplicationViewer multiple instances only first shows window

I have a problem with QTQuick1.1 (QT4.8). I have a main class where i instance QMLApplicationViewer and it shows the window. I also call a class that should show another one with another QML File but it is not show. However the Debug Messages are…
Daniel G
  • 21
  • 1
0
votes
1 answer

Video playback with QtQuick

I wanted to render a video from a webcam in the background of a qt quick application. I used this code from 5.1.1 documentation to render a test video: import QtQuick 2.0 import QtMultimedia 5.0 Item { MediaPlayer { …
dgrat
  • 2,214
  • 4
  • 24
  • 46
0
votes
1 answer

Creating a home screen for my embedded board using Qt/Qt Quick

I am not an expert but I have been using Qt/QtEmbedded for sometime now, for SBC 6845. I have created a few applications and have successfully run them on my device. Now I want all of those applications to appear on a home screen. I understand that…
rNov
  • 61
  • 1
  • 15
0
votes
0 answers

QtQuick application starts in a client machine but not in another

I have a QtQuick application based on Qt5.1 that starts on my machine (developer-WIN7) and on another (client-WIN8) machine but not on another client(WIN7) (there is no errors) ? the previous version of my app which uses Qt5.0.2 works good on the…
Slim
  • 306
  • 3
  • 11
0
votes
2 answers

The process "mingw32-make.exe" crashed Error

I have downloaded qt-windows-opensource-5.0.1-mingw47_32-x86-offline.exe and installed on my system, after that i launched QT Creator and tried to run a QML based example (shipped example is "QtQuick Examples - MouseArea" which tried, and below…
Saqlain
  • 17,490
  • 4
  • 27
  • 33
0
votes
1 answer

Bounds of Flickable.contentY in QML

What is the correct way of asking the bounds of Flickable.contentY? I need that for a scrollbar. Experimentally I have discovered that offsetY <= contentY <= offsetY + contentHeight - height where offsetY can be calculated as var offsetY =…
user2251108
  • 11
  • 1
  • 3
0
votes
1 answer

I need to connect a ComponetA Signal to a method of another ComponentB

i need to create a ComponentC dynamically when a button of ComponentA is clicked and the ComponentC must be created in ComponentB that is not accessible through id from ComponentA. So how is this realisable with QML ? Thanks.
Slim
  • 306
  • 3
  • 11