QML ListView and QSqlTableModel
Post 1/2 (exceeds the 6000 character limit) Hello, I am still new to QML and I have a problem trying to use a QSqlDatabase and QML ListView. I’ve searched the forum but can’t find a solution. The...
View ArticleQML ListView and QSqlTableModel
Post 2/2 ContentsPage.qml import QtQuick 2.0 Item { id: mainContents Text { id: keywordText...
View ArticleProblem with drag and drop in qtquick 2
Here how I solve your problem… import QtQuick 2.0 Rectangle { id: rootTarget width: 800 height: 800 DropArea { id:...
View Article[Solved] How to QML Graph layout ?
Short example import QtQuick 2.0 Rectangle { width: 300 height: 200 color : "#ddf" ...
View ArticleMouse cursor visible on Android mobile 5.1.0 beta 1 build ?
!https://fbcdn-sphotos-f-a.akamaihd.net/hphotos-ak-frc3/382453_10151649473154393_1669963838_n.jpg How do I get rid of the mouse cursor ? It was not there before :S when I was building my project....
View ArticleFlickable and Button
I create a Flickable who has some Button,now when I flick,those Button always be pressed 。how to Shield Button when I flick?
View ArticleFlickable and Button
OK! Thank you!!! I get off work, so I’ll try tonight. Have a nice day !
View ArticleScroll issue in Qlistview
Hi All, I am the beginner of Qt and this site also.Now my question is how to redirect event from one control to another. For ex. when ever i scrolling mouse in Qlabel want to scroll in QTextEdit...
View ArticleScroll issue in Qlistview
Then make the QTextEdit a filter [qt-project.org] for the QLabel event
View ArticleNeed help to make line graph in QML
Hey, let me google that for you: link [lmgtfy.com].
View ArticleIgnore invisible items inside Layout
Hi. I have several buttons on the form, some of them should be hidden in some conditions. When I hide button placed inside ColumnLayout I get hole like: instead of expeced: Here is the code: import...
View Articlechange states.
Hello all! 1) How can I find out the values of previous state, then state changes? 2) How to run some script then get out from some state? (analogue of StateChangeScript{}, but run on exit state)...
View Articlechange states.
“go out of state” is known “change from state1 to state2”. in onStateChange() know state2, but not know state1. not need making other pages invisible because default value of...
View ArticleHow to print(with the printer) a QML object ?
Hi, i have designed a sales receipt with Qt Quick and i want to print it with the printer. How can i do this ? Thank you very much.
View ArticleReimplementing keyPressEvent for TextInput?
You can always create your own widget and export it to QML…. I don’t think it is possible to reimplement functions on existing QML-Widgets etc…
View ArticleIgnore invisible items inside Layout
rominf, I’m not sure but may be the use of Column Item is better that ColumnLayout
View ArticleIgnore invisible items inside Layout
In this primitive situation as in question, of course I can use Column instead of ColumnLayout. But it’s hard to get good looking layout in my real situation (see PS in question) with Grid. Are there...
View Article