Qt client-server qml application
I’m trying to do an application which has a client on android device and a server side with apache,php and mysql server. On the server side php page interacts with mysql database and creates results in...
View ArticleQtQuick2: QAbstractListModel - passing object from C++ to QML
Hello. I have a project, which is well working in Qt 4.8, but I need to port it to the new version of Qt – 5.1. 1. I have a class CControl derived from QObject and having a few properties defined by...
View ArticleQtQuick2: QAbstractListModel - passing object from C++ to QML
The one who asked for the solution, gave answer. Thats cool :)
View ArticleQtQuick2 help needed with dragging frameless window.
Hi! I’m looking for a way of dragging frameless window in QtQuick2. I fallowed this thread on the forum Link [qt-project.org] but it giving me an error. Main different in the code is that my code uses...
View ArticleDisplay multiple Images on a nother image (e.g map with markers)
Hello, I’m way of new to QT and currently looking for the required classes to create a simple window with an image as background, on which I can display multiple other small images. Most important is...
View ArticleDisplay multiple Images on a nother image (e.g map with markers)
Hi and welcome to devnet, You might be interested by the QGraphicsScene [qt-project.org], QGraphicsView [qt-project.org] and their friends for that Hope it helps Perfectly does the trick. Just one...
View ArticleHow can I have multiple QML files in my QtQuick2 project ?
define: TableModel { id: tableModel } in your main.qml
View Articleproblem adding a custom control Quick
I’m trying to add a simple custom control using one of the code examples; but I must be doing something wrong when trying to adding it to a QtQuickControls based QML . Output from running the app:...
View Article[solved]How to animate "width" property of ListView Item ?
Got the above code working. Setting the width of Rectangle to parent.width made it work. Posting here just in case if some one comes under simliar situation. Component { ...
View ArticleHow easy would it be to have QML files import relying on a custom virtual...
0 A.D. is an open-source game which currently uses a custom XML-based implementation for its GUI. I’m wondering how hard it would be to port it to QML, as that would solve issues such as text rendering...
View ArticleHow easy would it be to have QML files import relying on a custom virtual...
I’m sure it will be worthy, but unless I can get QML to work with the game’s built-in virtual filesystem, it’s a no go :( If it’s not possible nowadays, I can always revisit the QML rewrite idea...
View ArticleQtQuick2 and OpenGL 4
Hello. I’m newbie in Qt but i would like use OpenGL with QtQuick2. I tried integrate QtQuick2 and OpenGL 4.3. My test project [github.com] . But I have questions. Firts: why glClearColor dont work in...
View ArticleTreeView - Context menu
First Create Actions in you application UI. Then for your TreeView Widget, use setContextMenuPolicy(Qt::ActionsContextMenu); In your constructor, assign those actions to your Widget with...
View ArticleQtQuick2 help needed with dragging frameless window. [ solved ]
If anyone will approached the same problem here is a solution: source: http://stackoverflow.com/questions/18927534/qtquick2-dragging-frameless-window-solved [stackoverflow.com] ...
View ArticleQtQuick2 and OpenGL 4
Second: why application with updates load of CPU 23%+ but if I use QWindow load of CPU 1-2% Because QML debugging is enabled =)
View ArticleRowLayout doesn't support dynamic item insertion?
RowLayout does not support dynamic item insertion? I expect two rectangles can been seen inside RowLayout. RowLayout works fine when two rectangles are created statically. However, RowLayout doesn’t...
View Article[Solved]RowLayout doesn't support dynamic item insertion?
Thank Jens RowLayout works fine after I set implicitWidth and implicitHeight Component { id: rect ...
View ArticleDebugging my Qt Quick Application
I would say depends on the type of devices but using qmake1 in debuging mode should help. as far as pushing your code to the device go to tools->options->device and add your device if it...
View ArticleTreeView - Context menu
Your title is a bit misleading as it refers to TableView. There are two ways to achieve this: TableView { id: table ...
View Article[Solved] FocusScope and layouts
I figured out the issue: I need to give all stretchy elements a width even if they will be stretched by default. Hey guys and gals, I have some Qt Quick code where I’m trying to correctly implement...
View Article