Does QtQuick Video and MediaPlayer elements can show streaming content ?
Does QtQuick Video and MediaPlayer elements can show streaming content (so the source won’t be a file – it will be a url of device on the web) ?
View ArticleTabView Tabs icon
Hello! Is there any ways to set icon for TabView’s Tab. For example, in Qt Widgets I can set tabIcon or something like this.
View ArticleThe replacement of "window" object in Javascript
Whatever we declared a global variable in Javascript under browser, it will be added to the “window” object automatically. Then we could check did a global variable/object declared by looking at the...
View ArticleQtWebKit 3.0 and Mouse to select text
QML component WebView (QtWebKit 3.0) let only to click on the links, no possible to select the text in the page. Is it somehow possible to provide this option?
View ArticleThe replacement of "window" object in Javascript
In Qt Quick, global stuff (for QML and JS) is added to the rootContext of the QML engine. You access it directly, without specifying any parent object. As for pure JavaScript, AFAIK, all contexts are...
View ArticleConnection C++ QML [SOLVED]
Hi, could someone please recommend me the best way how to interconnect c++ with QML. I will write an application for Android which will work as TCP server. I’d like to use QML2 for GUI requirements....
View ArticleGridview highlight with different view and size
Hi everyone, I have a “quick” question, is it possible to highlight a cell in a gridview with a different view that would a different size than cellWidth/cellHeight and have the gridview reorganize...
View Articlehow to Validate username and password from postgreSQL database ?[SOLVED]
You’re Welcome :) You can mark it as solved by editing and prepending [solved] to the question.
View ArticleConnection C++ QML [SOLVED]
Note that it is still possible to access and control QML from C++, again through the meta system, but consider this to be “last resort” and most certainly not recommended practice. QML will handle all...
View ArticleUsing an instantiated item as ListView delegate
The problem is, that I want to resize the child item to the size of the delegate item and not the delegate to the child. I tried this by calling the following method after I changed the model: void...
View ArticleMetaobject Reflect child classes from base classes in C++
We want a solution in C++ that must be able to do the following: Given a string of particular type, lets say ‘A’, we want to find all the types that derives from ‘A’. Instantiate new objects out of the...
View ArticleThere are the difference between StackView of 5.1 and 5.2.0RC1?
I compile and run my source at Qt5.1 and Qt5.2.0RC1. I have working StackView at 5.1 and dont working at 5.2.0RC1. Dont work “push”. Was made any changes in this item? An animation of hide Desktop.qml...
View ArticleMetaobject Reflect child classes from base classes in C++
Check out the documentation of Qt Meta Object System. Yes, most of the stuff should be possible as long as you have some concrete objects of those classes.
View ArticleAudio metadata cannot read coverArtUrlSmall & coverArtUrlLarge
Hi folks, I’m using auido in qml, and trying to get the cover art. Now, I’m getting all I want from id3tags, except cover art. We have two properties; coverArtUrlSmall and coverArtUrlLarge. Although I...
View ArticleHow to pass 'requestedSize' from QML to a QQuickImageProvider?
The QQuickImageProvider::requestImage function has requestedSize parameter, and I want to make a use of it. However, there is no documentation on how to set it from QML, nor I was able to find...
View Article[Solved] How to pass 'requestedSize' from QML to a QQuickImageProvider?
The sourceSize property value in Image is sent as requestedSize to QQuickImageProvider. Thank you for attention :)
View ArticleIs there any constructor function for Components ? Or Init ?
Hi, I would know if there is any constructor or initialisation function in QML ? an entrypoint at application start. I can make this by calling it from c++ but I cannot believe its does not exist ! Is...
View Articleexpose ListModel role as property
Hi everybody, currently I’m working on an TextInput component with a binding to a model. Therefore I wanted to expose the responsible role for the ListItem as an property so that I can reuse the...
View Article[solved] How to hide functions and values in javasript module from qml?
Yes, great. Thank you.
View ArticleIs there any constructor function for Components ? Or Init ?
Please read document about “Defining QML Types from C++”. “Any QObject-derived C++ class can be registered as the definition of a QML object type. Once a class is registered with the QML type system,...
View Article