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

qsTr in javascript file +translator.tr

hello i need translate this title: qsTr (“Alojamientos”) +translator.tr in this javascript . but this broken when i put + translator.tr. Help for fix this! var mapCategoriesInfo = { “alojamiento” : {...

View Article



Behavior seems to have no effect

Hello, I’m learning QML, and I have a question about “Behavior”. I wrote following code and the code doesn’t work as expected. I expect that colors change slowly when I press and release a mouse...

View Article

[SOLVED] qmlRegisterType error with parameterized constructor

Hi I have a class. its constructor takes two parameters. 1st parameter type is a custom class I wrote (SomeLib), 2nd parameter is the QObject * parent. In the constructor, the 1st argument is used to...

View Article

QtQuick 1 and QtQuick 2 in QT5.1 - OpenGL dependency

Hi, i’m starting a new embedded project, and would like to use the last Qt release, Qt 5.1. After a lot of searching in Qt site and also google, couldn’t really find out, if both Qt Quick 1 and 2 are...

View Article

Referencing neighbouring QML types from QML file

I’d really appreciate any guru’s look into this. Its a quick 4kB project. Would be much appreciated. :)

View Article


Dynamically generating QML

Since posting my question, I learned of the native QML techniques for doing this and they have satisfied my interest on this. Happy not to include c++ for this task.

View Article

Do stuff after behavior with animation is finished in qml

So much JS? Both your snippet and mine have exactly 1 line of JS code :P

View Article

What is the syntax to properly use a variable in a Qt Qml XmlLIstModel query

I have the following XmlListModel defined. I have tested it and it returns all of the items in the xml file. I would like to filter it using a variable passed in to it, such as Parentpageid =...

View Article


QtQuick 1 and QtQuick 2 in QT5.1 - OpenGL dependency

Thanks for the reply, sierdzio. So, i believe that for an implementation without GPU, QtQuick2 is not an option and just have to try QtQuick1. Or is there any other Qt’s options? Regards, Santiago

View Article


[SOLVED] qmlRegisterType error with parameterized constructor

i got it working, thank you both

View Article

Behavior seems to have no effect

Thanks sierdzio. I’ve got it. I must specify a target of Behavior with “on” syntax or use only ColorAnimation. In fact, my question came from the description of Behavior in Getting Started Programming...

View Article

How fast and demanding can HTML5 detailed pixel rendering be in QML?

Hi, It’s all open source. https://qt.gitorious.org/qt/qtdeclarative/trees/stable/src/quick/items/context2d Cheers, Chris.

View Article

QtQuick 1 and QtQuick 2 in QT5.1 - OpenGL dependency

There is always mesa, plus you can squeeze a bit more performance if you use clang/llvm. There are other options in Qt: QtQuick 1 Qt Graphics View Framework QPainter and widgets in general

View Article


How to use a QWidget created or defined by some programmer?

Hi, there. I often see some customized QWidget written by programmer, for example : MyComboBox::MyComboBox( QWidget * parent ) : QComboBox(parent) { } MyCombobox is inherited from Qcombobox and not a...

View Article

How to use a QWidget created or defined by some programmer?

That page [qt-project.org] and the subsequent as probably what you are looking for.

View Article


cross compiling qtdeclarative?

i’m trying to cross-compile the qtdeclarative module and am getting an error: ... make[4]: Entering directory...

View Article

AnimatedImage - unable to read MNG files

Yes, several times. I’m using QtCreator 2.7.1 with Qt 5.0.2 that comes with the Ubuntu SDK package. I’m not keen on installing the official Qt distribution on top of that.

View Article


Styling QtQuick Controls ComboBox

Hi, I am currently trying to style a Combobox and I am wondering is it possible to style the ComboBoxs popup menu and how you would go about doing this? Can’t find any examples. Thanks

View Article

SVG images overlapping and event handling

Hi! I’m new in Qt, and I have a question. I want to display several SVG images which may overlap eachoter and may have empty areas in them. Now – if I click/touch on a svg image (and not on a empty...

View Article

How do you simulate a tree view in Qt Quick since it's not included in...

As mentioned in another recent post, I’m new to Qt Quick, so please bear with me. Project background: A coworker sketched up a GUI design for a new cross-platform application intended to replace a...

View Article
Browsing all 4972 articles
Browse latest View live




Latest Images