[SOLVED] Signals and slots in QML (Qt5, QtQuick 2)
There is a runtime error saying the class is not defined even though a) the code works b) when you write the class name in QML it become italic signifying (I would think) that the class is recognised...
View ArticleHow to make the qml executable in windows?
There is no error, I just run the *.exe file but it shows nothing. I tried it with Qt4.8 before installing Qt5, and it did open an empty window, but now it shows nothing. Would you please tell me...
View ArticleProblem with ListView
I have a problem with the List view. When I add my header to ListView and when debugging write: QML PageHeaderView: Possible anchor loop detected on vertical anchor. PageHeaderView is my module that I...
View ArticleHow to create a TransparentWindow, using Qt5, with QtQuick1
I have test your example using Qt5 on Ubuntu, and I have no issue to compile and run such a implementation. viewer.setStyleSheet("background:transparent");...
View ArticleBest way to implement zoom?
Hi, thank you for your answer. But it actually didn’t help me. I tried your solution and I discovered that mouse wheel events are only supported in QtQuick 2.0, but I have to use QtQuick 1.0. Anyway, I...
View ArticleHow to manage "Z" globally in QML?
Is it possible to “make holes” in a rectangle?? No. That’s not possible. Basically you lay your items on top of each other. If you want to make rectangle with hole you basically should create frame...
View ArticleProblem while usin QStringListModel in QML
I think you should use view->showNormal(); after setting context properties not before.
View ArticleHow to make the qml executable in windows?
I did include the <QUrl> , but the reason of the error being in the same line (10), is that I had an empty line between the headers and the main, So I just put the <QUrl> on...
View ArticleSectionScroller and QList
Hi, I’d like to use QML SectionScroller with a QList<QObject*> based model. My ListView’s section configuration is: section.criteria: ViewSection.FirstCharacter section.property:...
View Articlesignal, SIGALRM and Symbian
Hi all, I’ve created a program that use signal to trigger a timeout after an amount of secs…on n950 it works well on symbian it doesn’t never trigger timeout! I don’t know why, doc says it is supported...
View ArticleApplication icon
I write this code: myapp.rc IDI_ICON1 ICON DISCARDABLE ...
View Article[Solved] Very fast
I want use simple animation Image { id:name source:...
View ArticleQQuickView custom resize to behave in a PreserveAspectRatio - mode
the easiest way is to react on resizeEvent, when the main window is resized, I just keep the new size and emit a signal scaledsizeChanged which later will be used inside the myitem....
View ArticleAccessing Repeater model in delegate
Is there a way to access a Repeater’s model in a delegate as you can with ListViews? For example: Repeater { model: cppModel delegate: MyComponent {} }...
View ArticleHow to write onMinimunScaleCange event handler on PinchArea
in PinchArea property pinch.minimunScale. i want to run script when change the minmunScale. I know, properties has “on<property name>Changed” event handler. but, Cant written...
View ArticleOnly one element os a QStringList in a ListView
hi, people. I’m playing with the SDDM [github.com], trying to show the session’s list in a dropdown menu instead of a spinbox, but only one element of the list appear in the List View, and i can’t...
View ArticleHow to show Context menu in Desktop QML
Hi, I am able to display context menu, but my question is that how to show context menu condition based as i wrote in first post?
View ArticleApplying colorfilter in QML, of QT
Hi, I would loke to apply predefined or custom color filter on my QML application like : change Image RGB Level saturation Hue … Ideally I would like to lower the “light” level off all the display...
View ArticleOnly one element os a QStringList in a ListView
I’m not sure how Q_PROPERTY works with setContextProperty. Overall your code looks good apart that. Maybe something like this would work instead of using setContextProperty....
View Article