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

Can't display custom c++ based Item

Hello, I can’t display my custom c++ based Item. My code is the following: main.cpp: #include <QtGui/QGuiApplication> #include "qtquick2applicationviewer.h" #include...

View Article



How to know dialog box is destroyed for emitting a signal to calling page to...

I’ve a main.qml where 3 states are maintained while in stateA (start up state) a dialog box qml is displayed (Ref: http://qt-project.org/forums/viewthread/26455) on destroying the shown dialog box, i...

View Article

How does the "Getting Started" tutorial code actually launch?

I’m using Qt 5.1.0 and the following process works for me. Copy an example directory to somewhere. $ cd ~/src $ cp -r /usr/local/Qt-5.1.0/examples/quick/tutorials/gettingStartedQml/parts/part5 ./ Make...

View Article

How to know dialog box is destroyed for emitting a signal to calling page to...

I’m missing big parts of your code. Next time please place your code between at-sign characters (most right icon on the top) I do not quite understand what your trying to do, but as far as I know...

View Article

Can't display custom c++ based Item

You can take a look at my CCF project. It is rather large, but I do a lot of tricky QML stuff, including custom painting. It should work out of the box in Qt Creator. Link to custom-painted class...

View Article


How to dynamically change GridView column count?

hi Allopen QWidget::resizeEvent() which you can reimplement in your widget.In this you can change the grid.celwidth.

View Article

"import QtQuick.Controls 1.0"- QML Module not found (Design Time only -...

Platform: Windows(VS2012) and OSX Built from: Qt Installer Version: 5.1 Now if I create a new QML project from QtCreator, everything works fine(intellisense wise). However if I generate the project via...

View Article

"import QtQuick.Controls 1.0"- QML Module not found (Design Time only -...

CMake support is AFAIK experimental. Maybe it’s a good idea to report this in Qt bugtracker [bugreports.qt-project.org] (but first search if it’s not already reported).

View Article


Reseting QML file

Hello Qt community, My idea is that I would like to put the .qml file in beginig state after onclick event. It is good for refresing data after changes in database. Can it be done in QML or I must go...

View Article


Reseting QML file

To set the state back to default just run this:  state = ""

View Article

QtQuick 2 - Windows 8 Desktop Style (Not Metro)

We do not currently have plans to target Windows 8 controls directly. That said, you can get the design assets directly from Microsoft and implement them through custom styles....

View Article

find typelist.qml

Does anyone know how to have a look at this mythical file that cannot find my plugins and gives me “unkonwn errors”?

View Article

QML and C++ interaction. Need advice

Hello guys Again I need your help. I’m implementing some kind of multi-tab application where each tab holds an editor that in turn shows somehow a file content. The application components/layouts/etc...

View Article


How to make C++ wait after emitting signal

Hi everyone I have an app that reads data from a serial port. On a certain message type the C++ emits a signal that is handled by QML. I want to make the C++ code wait until the signal has been...

View Article

QML and C++ interaction. Need advice

Hi, I’m not sure I understood your question but if you give an id to your editors or if you know the indices of your tabs, you can call slots of your editor instances to perform specific actions in...

View Article


Functional Qt Multimedia backend

Hello, is there an actually functional, reliable, perhaps 3rd party Qt Multimedia Backend for Qt 5 which: Works reliably across desktop platforms (I focus on Linux/X11 and Windows), Can play most video...

View Article

how to change the display text of the button ,in quick control ?

How to change the display button controls on the color of the text in the quick control. I see a color options in the design window in the properties toolbar controls in the button, but the revised,...

View Article


how to change the display text of the button ,in quick control ?

import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Controls.Styles 1.0 import QtQuick.Window 2.0     ApplicationWindow {     title: qsTr("Hello...

View Article

Reseting QML file

This isn’t working for me. I will try to send signal to main file and reload page from C++.

View Article

QML alias not working

Anyone any ideas why this code is not working? I have a loader in main which is happily loading files the c++ spits out to it but a slightly different mechanics is required for the username/password...

View Article
Browsing all 4972 articles
Browse latest View live


Latest Images