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

Analog of modal QDialog in QML

How can i do this only in QML without QDIalog? int main(int argc, char *argv[]) {     QApplication app(argc, argv);         QDialog dialog;...

View Article


Qml and qt qrc resources

Ok, thanks for the explanation. Can you also update you thread title prepending [solved] so other forum users may know a solution has been found :)

View Article


How to get the path of the application directory on Android?

Have you checked QCoreApplication::applicationFilePath() ? I have not tried on android though.

View Article

How can I reuse a QML Scale element to scale incrementally around changing...

Dear all, I’ve also posted this question on Stack Overflow: http://stackoverflow.com/questions/24478653/how-to-use-qml-scale-element-for-incremental-scaling-with-different-origin — if you prefer that...

View Article

How can I reuse a QML Scale element to scale incrementally around changing...

Ah sure, I somehow partially forgot about the zoom point thing ;P No, I don’t have more ideas.

View Article


Analog of modal QDialog in QML

My guess would be you could create a QML Window [qt-project.org] and set its modality property [qt-project.org] to one of Qt.WindowModal or Qt.ApplicationModal. I’ve never done more than one-window QML...

View Article

Conway's Game of Life in pure QML, also QML+GLSL ShaderEffect

Relating to reaction-diffusion systems: QML+GLSL code here [bitbucket.org] while not technically a diffusion equation gets me a nice blue glow around things: Main point is the use of two...

View Article

Modify settings in WebKit 3.0

I’m trying to use WebView in WebKit 3.0 in my Qt Quick 2 project. This loads: ApplicationWindow {     visible: true     width: 300     height: 200...

View Article


Does QML support Multi-Camera for android ?

Hi , everyone. i want to open two cameras on android device . but i do not find the method how to chosen camera. So .i want to know does qml support open many cameras on android same time ? Thanks very...

View Article


How to save the image to a file in QML?

See this thread [qt-project.org]

View Article

QML object cannot be console.log, is it a bug?

I think you can use Qt’s Meta Object System [qt-project.org] to get functions, properties etc..

View Article

Detect movement inside an Item

Hello, I have a ComboBox-like element, which has a drop down menu. The drop down menu is created as a child of the main window, with coordinates of my element. When the element moves and drop-down is...

View Article

MultipointTouchArea inside target

Hi everyone, can i use MultipointtouchArea inside a target like a PinchArea ? When i used the code below on a touch screen on win8 there is no problem. But on linux board with TUIO interface like QTuio...

View Article


QML failing to detect QObject destroyed in C++

Have you tried to use deleteLater()? Your example looks very wired to me. Deleting object in that way is a signed for bad design. What you also can do is connecting to the QObject::destroyed(…) signal...

View Article

Detect movement inside an Item

It’s on<PropertyName>Changed. So which property do you suggest that I observe?

View Article


How to create QML enumeration like those of Qt QML type?

How to create QML enumeration? As we know Qt type have so many enumeration such as Qt.Key_Left. I want to create a custom enumeration like that. SomeClass {   property enumeration type:...

View Article

MultipointTouchArea inside target

The goal is a multi-user application, the MouseArea is not designed for two simultaneous touch. Is the MultiPointTouchArea can be used as this or not ? Because this method move the area and the rect at...

View Article


[Solved] Both qml and c++

Solved by coping the directory Qt/Qt5.3.1/5.3/gcc/qml/ in the application dir.

View Article

How to create QML enumeration like those of Qt QML type?

For doing that: create a subclass of QObject, add an enum declaration, declare it using Q_ENUM and register the object with qmlRegisterType

View Article

Does qml have ablility to make android widget?

I don’t think so. Because for make a qml application you need the QtActivity.java that extend android Activity, while the widget is not an Activity.

View Article
Browsing all 4972 articles
Browse latest View live