listView animation speed
Hmm, maybe it would be better if you use StackView [qt-project.org] your descriptions sounds you want a page navigation or gallery? But for your question i mean the highlightMoveDuration property...
View ArticleChange pressAndHold Timeout
Thanks SGaist, you’re right its still hard coded. case MousePressAndHoldInterval: return QVariant(800); It would be nice if we were be to customize these settings in a future release. Because they have...
View Article[SOLVED] Scrolling Flickable to the end after item is added
Hello, I’ve had some problems getting the flickable to horizontally scroll to the end after an item is added. Maybe someone has some ideas how to do it. So far I’ve come up with the following code:...
View ArticleQML ComboBox set Font
The OP needs this for the Drop-Down as far as i see it in the question. Did you check on style parameter ? Here one sample which I have. @ ComboBox { id : cBox4 width: 100 height: 40 model :...
View Article[SOLVED] Scrolling Flickable to the end after item is added
Yeah.. Same here in my initial days of QML coding :) Thank you! It was that simple… I guess when you’re coming from C++ and normal widgets, you’ll still have tendency to complicate things a bit. Thanks...
View ArticleLarge QQuickPaintedItem item not drawn
I try to make an signal view for my QML app. So i need navigate on signal. For this purpose i’ve inherited from QQuickPaintedItem and overload painted() method. But if my component is larger then...
View ArticleLarge QQuickPaintedItem item not drawn
In think you reached the possible texture size. One options can be to split the content in multiple QQuickPaintedItems. Another way, split into multiple textures and use SceneGraph with...
View ArticleQML ComboBox set Font
Thanks you P3C0 for pointing out this. Question also said lineEdit. Some tweak may lead up the font of drop down as well.
View ArticleQTabView - TabBar area background color
I added a TabView to a QDialog. I want to set the color of the tab area background, it is always white and I want it to be the color of the Dialog. Here is what I have in C++: QQuickView *aboutView =...
View ArticleLarge QQuickPaintedItem item not drawn
Nothing: it is just empty method. But i use setFillColor() to set background color: so that’s i know, that something is wrong. Application output haven’t any messages.
View ArticleHow to use QPlatformSystemTrayIcon or QSystemTrayIcon with Qt Quick Application?
Well, I was initially trying to use QSystemTrayIcon just to show the pop up message on the top right (for Mac), that dismisses after a period. I was referring to that messaging part – it should be...
View ArticleQTabView - TabBar area background color
Hmmm, i think this way is the most flexible option. For you a simple property is enough but someone maybe want a picture or a gradient or a video you named :) Try to find a property for every possible...
View ArticleUsing booleans in XmlModelList
I’m experimenting with the XmlModelList and I can get string() and number() data to behave but not booleans. According to the Qt Assitant docs on XmlRole if your data has an attribute like...
View Articleinvalidating / alpha smoothing
hey guys, I have the following problem: I made a component (using pure QML, no C++), which draws it’s contents using Canvas. It consists mostly of an arc, which is drawn with smoothed edges, while the...
View ArticleStart external application. Lost focus.
Hi, you could try waiting for VLC to finish and then take back the keyboard focus, for example, after myProcess->start( program, arguments ); add myProcess->waitForFinished(-1); and then...
View ArticleCan't play HLS on OSX with QtQuick
When trying to play HLS stream on OSX with Qt 5.3.1, I can only get audio ,the video is missing. Below is the testing code: Video { id:...
View ArticleNot able to find QtQuick.xmllistmodel
import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Layouts 1.0 import QtQuick.XmlListModel 2.0 i have searched google but found only one post on this which is not help fill. Please help...
View ArticleNot able to find QtQuick.xmllistmodel
Which version of Qt you are using ? Do you see a libraries under qml/QtQuick/XmlListModel in your installation ?
View ArticleAccess data of C++ model from QML?
Hmm, the best way would always be to go through the model i.e define a Q_INVOKABLE function as you mentioned earlier. Other pure QML way would be to interate over the childrens of TableView’s...
View ArticleHandling a ListModel
Hi to all, I am a beginner on QtQuick, and i need your help about the following problem as described in the image: 1) I want to create two circular List [Circular List A] & [Circular List B] ;...
View Article