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 ArticleQml 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 ArticleHow to get the path of the application directory on Android?
Have you checked QCoreApplication::applicationFilePath() ? I have not tried on android though.
View ArticleHow 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 ArticleHow 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 ArticleAnalog 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 ArticleConway'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 ArticleModify 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 ArticleDoes 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 ArticleQML 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 ArticleDetect 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 ArticleMultipointTouchArea 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 ArticleQML 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 ArticleDetect movement inside an Item
It’s on<PropertyName>Changed. So which property do you suggest that I observe?
View ArticleHow 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 ArticleMultipointTouchArea 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 ArticleHow 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 ArticleDoes 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