Help with this simple property change
I have this: Rectangle{ id:testrect property color gradcolor:"#8C8F8C" ...
View ArticleComboBoxStyle: QtQuick.Controls and QtQuick.Controls.Styles
I’m trying to style a ComboBox. The documentation, see here [qt-project.org], lacks an example and I cannot find anything about it. Anyone tried this? The following code gives an error on the...
View ArticleHow does the "Getting Started" tutorial code actually launch?
I;m not familiar with any tutorials, but I may know the answer to “main.cpp” thing: QML can be launched without any use of C++, by running qmlViewer.
View ArticleHow to change the Screen coordinates to bottom left corner
Hello, By default, y-axis in a Qt Window is increasing from top to bottom. How can i convert it from bottom to top of the window. I have seen a solution in Qt Widget application, but how can we do it...
View ArticleHow to use console.log in this case
I want to simply make sure that my property is getting set correctly, so I am logging it to console, but this logging is only possible when I use the brackets, but then this makes the actual setting of...
View ArticleHow to use console.log in this case
I see, so the brackets basically act like an anonymous function in place.
View ArticleHow to change the Screen coordinates to bottom left corner
This is the standard in TV and graphics: the root is top left corner. You can rotate the whole scene using Transform element, that would simulate a different coordinate system. Hi, I Will try this....
View ArticleProblems with Gridview
I honestly don’t know why it is not working for you now as it is working with Qt Quick 2 which I am using. The VisualItemModel is quite a narrow use case but if you need a separate delegate per item in...
View ArticleCannot set an image background in a Button (qt quick controls)
In a qt qml quick project, I’ve this code: import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Layouts 1.0 …. ….. …. Button { ...
View ArticleQtQuick 2 - Windows 8 Desktop Style (Not Metro)
Is there a Style available right now or in the road-map for desktop control’s new with Qt5.1 and QML for Windows-8 desktop control’s. Not looking for the Metro Suite, and nor the Windows-7 Aero theme...
View ArticleCannot set an image background in a Button (qt quick controls)
Thank you, I’ve work around it with the Image child solution ;)
View ArticleProblems with Gridview
Thanks for your response and explanations Jens. I’ve definately learnt a bit more about Qml.
View ArticleHeaders at left of TableView and ResizeMode for headers
I want to resize columns to width of contents (analogically to QHeaderView::ResizeToContents). It doesn’t matter how to resize columns: one time by request (like QHeaderView::resizeSections) or...
View ArticleHelp with this simple property change
In the gradient stop, I should have used testrect.gradcolor. I forgot to reference where the property came from.
View ArticleFacing error while connecting a QML child object signal to another object's slot
The setup I am using is Qt 5.1 + Qt Quick 2 + Qt Quick Controls. I have a Main QML window. I handle the processing part of the Main window in a C++ class called AppController. Now, Main has a button...
View ArticleFacing error while connecting a QML child object signal to another object's slot
I don’t think they are in any way related.
View ArticlePublic API for creating user defined basic types
As explained here [stackoverflow.com], creating user defined basic types is not currently supported, but can be done through private parts of Qt Quick. I feel this is a limitation as I want to be able...
View ArticlePublic API for creating user defined basic types
Hi, Since it’s getting to private API, you should rather ask this question on the interest mailing list, you’ll find Qt’s developers/maintainers there (this forum is more user oriented)
View Article