setting static path to image source
hi friends I am trying to set static path to an image source which i was not able to overcome..I do not want an image to be used from qrc file…So i need to access an image from desktop in ubuntu qml...
View Articlesetting static path to image source
hi thanks i have not checked on desktop till now..it works gud for me on desktop..but it does not work on android mobile
View ArticleCreate QML or JavaScript Object in C++
If you want QML object, that is the only way. If are not worried about QML, you can check QScriptable module for JavaScript and C++ integration.
View ArticleHow to add a check box or line edit elements in a combo box in Qt Quick
You can try with this. Popup is done with opacity here. I have done for only one item. Popups can be done with dynamic object creation as well. Rectangle { width: 360 ...
View ArticleShould KeyNavigation.priority behavior depend on where it is in the QML?
I’m just trying to figuure out some things so I have two rectangles and you move between them with up arrow and down arrow. Works fine. I also have an onPressed handler that prints what key is pressed...
View ArticleRSS and QML
Hi, I’m trying to make a RSS reader using QtQuick, so I start with the RSS exemple from QtCreator. I have 2 problems: 1) I what to read the content of “content:encoded” from the RSS file , so I added...
View ArticleHow to change TextField font size
Hi there, How can I set the font size of a TextField element in QML? wanna change size of the placeholderText and also for the text which the user enters. I tried with a lot of ways without luck!...
View ArticleClass member data are not available (empty)
In this case you can use the id of the qml instance. Of course you need to make sure it his data bq. you use setContextProperty you need to refer to the object by the name you have given it, namely...
View ArticleQt Quick Local Storage Export / Import Database
Hello, I’m using QML local storage in my application. I’d like my user to be able to export and import the database file for backup and migration. Is this possible using the QML interface or do I need...
View ArticleHow to add a check box or line edit elements in a combo box in Qt Quick
Hi Dheerendra, Thanks a lot but still its not what i am trying to acheive. I am posting my code, please have a look. Here is the code and the problem i am facing with combobox options is, neither i am...
View ArticleQML TableView with custom QAbstractListModel issue
Hi, I have a C++ model extending QAbstractListModel and I have expose this model to QML TableView. The model has got three rows but in the TableView it is displayed as one row. I noticed this as all...
View ArticleQtAV: Qt Quick items display wrong textures
Now i’m developing rendering yuv frames with opengl for qml. Video frames can display correctly. But other items display wrong contents. Text item becomes white rectangles. Image item displays a part...
View Articleqt creator convertor
hi, i record with rosbag a viedeo. I want to viaualize the video in a gui, with a qt creator, but rosbag records only in the Format Mono_8, buti need a rgb format to play the video. How can i decode...
View ArticleQt3D installation
Hello everyone, after a long time developing with Java, I now have to go back to Qt for a project. Unfortunately the Qt Creator is not as comfortable as Netbeans so I need some time to get warmed up....
View Articlesetting static path to image source
Is the image accessible outside Rectangle ? You can try to use Image element directly instead of placing inside the Rectangle. But i don’t think so that would be a problem.
View ArticleQML TableView with custom QAbstractListModel issue
Hi and welcome, It would help a lot if you could post some of your code, like your implementation of the QAbstractListModel. I usually run into these kinds of problems, and it is often just a silly...
View ArticleQt Quick Local Storage Export / Import Database
Hi, QML Local Storage creates an SQLLite database file internally. Is there a way allow the user to copy that file and replace it. To export (save database file as), and to import (replace current...
View ArticleUsing Nokia components on custom platform
Hello, I would like to use a number of the Nokia components [doc.qt.digia.com] for my own device. The hurdles to doing so are: 1) the source I can find is written for Qt 4 and Qt Quick 1 instead of Qt...
View Article