how to add QML widgets in QGraphicsScene version QtQuick 2.0
What do I use for a place class QGraphicsScene ?
View ArticleDragging an dynamically created object out of a ListView
Hi there, I want to drag an object out of a ListView and then later on use it for something. in the ListView is a set of objects dragging is initiated by press and hold the list item is removed from...
View ArticleAdd object to ListModel statically
I think this should work: ListModel { ListElement { text: "TextToAdd" image: {...
View Article[SOLVED]Adding Tab in existing TabView from C++ side
Hello, I have a TabView defined in QML file : import QtQuick 2.0 import QtQuick.Controls 1.1 Item { id : root width: 300 height: 300...
View Article[SOLVED]Adding Tab in existing TabView from C++ side
Solution found QVariant returnedValue; QVariant title = "Hello"; QMetaObject::invokeMethod(m_pTabView,...
View ArticleIntercepting and relaying touch events to child items
Hi Folks, I’m a newbie to Qt, trying to recreate some custom touch processing code. Can you set up a MultiPointTouchArea to intercept touch events, then selectively pass those events on to child items,...
View ArticleHELP! I want to zoomIn and zoomOut scribble area.
the complete diagramscene example here- http://harmattan-dev.nokia.com/docs/library/html/qt4/graphicsview-diagramscene.html i tried inserting the below mentioned functions into “mainwindow.cpp” of...
View ArticleAccessing nested ListModel in a separate file issue...
Thanks for the reply. Appreciate it.
View ArticleAdvice for doing a slot-machine animation
Some possibilities (I haven’t tried any, so I’m not sure if they work): (1) The Path element has a closed property for defining a path that loops back on itself. You could try setting this to true. See...
View ArticleQlabel scrolling text
Keep in mind that moving UI elements tend to be rather distracting. Perhaps a tool tip / popup is a better solution to your problem. Anyway here is a simple marquee import QtQuick 2.0 import...
View ArticleGrab-pull panning in mapping services does not work in QtQuick 2.0 and...
The following simple .qml when run in Qt QmlScene will display a map from Bing maps or Esri online maps, but in both cases you cannot pan using the grab-pull method that works with the same service in...
View ArticleMVC best practices in QML?
Hi, I’m evaluating the use of Qt to port the UI of a somewhat dated web application optimized for desktop to mobile devices (Android/iOS). I should be able to reuse most of the data layer from the old...
View ArticleDrawing to QtQuick Canvas from cpp
Hi, I created UI for my app using QtQuick. I need canvas for my gfx output so I placed QtQuick Canvas object to my QML file. I was able to connect QtQuick Canvas.paint signal to my cpp CCanvas.onPaint...
View ArticleQt Quick apps crash when clicking on ComboBox/drop-down menu
Thanks for replying. I did investigate ANGLE as an option for a while, but couldn’t satisfactorily establish exactly what Windows versions it would support. The official Qt docs...
View ArticleQML Video plays mp4 video flipped (upside down) on Qt5.2 Mac OS
I’ve built example ‘qmlvideo’ on Qt 5.2 on Mac OS X 10.8. In this example video plays in QML Video item. File in MP4 container (H264/AAC). And it plays flipped (upside down), not rotated on 180. Built...
View ArticleAdd object to ListModel statically
If this solved your question, please change the question title so that it starts with [solved] and add a solved tag.
View ArticleQT5.1 Making a QtQuick application accessible
QT_ACCESSIBILITY=1 does not matter for Qt 5. The missing events are most likely bugs since the implementation is not very well tested compared to the widget implementation. Please try to come up with...
View ArticleQlineEdit
Hi, I’m a begginer in Qt and I wanna know how save the text of the QlineEdit in a variable. For example, I write a numbre inside the QlineEdit and then the number save in a variable. thanks.
View Article