Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Browsing all 4972 articles
Browse latest View live

Dynamic Created Component

Hello all! I am dynamically creating a page uisng createComponent. I like to set a variable/index in the newly created component. I tried to implement it using javascipt. But the value is not getting...

View Article


Adding a tab in Widget from a class

Hi and welcome to devnet, After adding the tab you should use either setCurrentIndex of setCurrentWidget to switch to your new tab. As dmcr noted, please chose the sub forum more carefully

View Article


Not Able to align the rectangles

Hi All, I have one problem in vertically aligning the rectangles. import QtQuick 2.0 import "qrc:/gui"   Rectangle {     id: main_screen  ...

View Article

Not Able to align the rectangles

Hi, Try anchoring it to bottom of your main_screen. anchors.bottom: main_screen.bottom

View Article

[solved] Qt Quick 2 performance issues

Hello, I started a new project in which I need to render Qml content on an WQHD display (2560 × 1440). And I’m still trying to get a pretty basic qml test to run fluently. But on the full resolution...

View Article


[solved] Qt Quick 2 performance issues

hey, great! I’m happy that it helped you :)

View Article

Qt QML Signal slot

Hello all ! I am trying to emit a signal from Qt to QML file. I tried to implement it as shown below. But the slot_test in qml is not being called. Kindly help to fix it. void ProcessInfo::init() {...

View Article

Dynamic Created Component

Thanks a lot. This is what I was looking for. Thanks & Regards, Narayanan

View Article


Qt QML Signal slot

Did you confirm that signal is emitted ? Complete code snippet would help including the QML file and how and where you are calling emit ensure that signal is really emitted.

View Article


Keyboard events inside a QQuickPaintedItem/QQuickItem

Hi all, I was writing an OpenGL widget (which is working fine), and I got mouse events working great – but am having a terrible time getting keyboard events to fire/register. I have overridden...

View Article

Starting to use qtquick and qml from an existing Qt Gui Application

I have a Qt Gui Application for android that is using widgets for the current ui and I was wondering what would be the best way to change to using QtQuick and qml for the ui? I dont want to create a...

View Article

Qt QML Signal slot

Where do you call “void ProcessInfo::init()” ?

View Article

How to create a gui for a pure c++ data model (no qt)

What is the best approach to implementing a gui for an existing c++ library? The library in question represents graph data using simple c++ objects (no qt) and standard pointers. I.e do I write an...

View Article


How to create a gui for a pure c++ data model (no qt)

Since QtQuick is signal-slot model driven, then yes, you have to provide QObject class over your pure c++ libs

View Article

Convert listelement role to string

try ListModel {     id: model         ListElement{names: "354873595" }        ...

View Article


Qt.resolvedUrl from included .js file (problems in 5.2)

Hi, We just updated to 5.2 and now have some strange issues. I have a JS function inside a file (FileA.js) that uses Qt.resolvedUrl to then pass to Qt.createComponent to create a dynamic QML object....

View Article

Starting to use qtquick and qml from an existing Qt Gui Application

@Dheerendra this I know. I was wandeing how to get qml code to run under android that I could call from the existing program to use the qml as the ui instead of the widgets.

View Article


QtQuick.Controls TableView

You can assign a ScrollViewStyle to it and modify that. See: http://qt-project.org/doc/qt-5.1/qtquickcontrolsstyles/qml-qtquick-controls-styles1-scrollviewstyle.html

View Article

Is there any *updated* Qt Quick book?

I’d like to start with Qt … from Qt Quick … it’s interesting …. ! Bu I cannot understand nothing from online docs .. I need a book. Can you suggest me one ?

View Article

Dynamic GridLayout

Thanks Vincent, that was the bit I was missing. Looks like you can use Layout.preferredHeight/width – although if this is left as default then it instead uses the items ‘implicitHeight’ and...

View Article
Browsing all 4972 articles
Browse latest View live