Q_PROPERTY(QList READ myValue NOTIFY myValueChanged)
qRegisterMetaType >("myID");
results in qml: QVariant(QList) and the application crashes: The
program has unexpectedly finished.
myValue to check if I cause the crash, i set myValue to an empty
QList and it still crashes on initializing the p
Em sáb 14 jun 2014, às 02:42:43, mailinglist inputoutput escreveu:
> >> Q_PROPERTY(QList READ myValue NOTIFY
>
> myValueChanged)
>
> > Yes. What's the problem when you do exactly that?
>
> Thanks for taking the time Thiago!
>
> I register in plugin.cpp (where I also do qmlRegisterType 's):
>
Registering sequence type wouldn't make it accessible from QML. Check my
patch which adds support for QList [1]. I don't know if it is
possible to make your own sequence type available to QML from plugin.
1. https://codereview.qt-project.org/83761
On Fri, Jun 13, 2014 at 4:42 PM, mailinglist inp
>> Q_PROPERTY(QList READ myValue NOTIFY
myValueChanged)
> Yes. What's the problem when you do exactly that?
Thanks for taking the time Thiago!
I register in plugin.cpp (where I also do qmlRegisterType 's):
qRegisterMetaType("myId");
Then inside qml reading myValue via console.log() results in:
Em sáb 14 jun 2014, às 01:24:03, mailinglist inputoutput escreveu:
> Good Evening!
>
> Is it possible to export that type so QML recognizes it?
> Q_PROPERTY(QList READ myValue NOTIFY myValueChanged)
Yes. What's the problem when you do exactly that?
--
Thiago Macieira - thiago.macieira (AT) i
Good Evening!
Is it possible to export that type so QML recognizes it?
Q_PROPERTY(QList READ myValue NOTIFY myValueChanged)
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Thank's for your answer and your help.
I do understand that a string is not an integer.
I'm used to script like languages and not used to writing c++ code,
please excuse me.
I am not familiar with every features c++ offer and how to use them.
That's why I do QtQuick but I am forced to extend a few
Hi,
I didn't test performance with wayland on iMX6, but I had an issue
that when using eglfs I still could see the blinking cursor "behind"
the qt application (it seemed that the console fb and my app fb are
displayed in paralel) - did you notice something like this? I didn't
resolve this problem a
You have to extract the data from the string. The string "-128" is not
equal the number -128 - it is a basic knowledge you have to understand
even before writing your first hello_world.
You have to split the string on the coma character and then convert
substrings with toInt(), cast to uchar and ap
Em sex 13 jun 2014, às 11:24:09, Damian Ivanov escreveu:
> Hello again,
>
> I have argb32 data in network byte order and want to construct a QIcon
> that show it.
> How to convert it to a QByteArray in byte order accepted by QImage/QIcon?
qFromBigEndian
--
Thiago Macieira - thiago.macieira (AT)
Hello,
I compiled an application (see end of this mail) once with Qt 5.0.2 using
wayland
plugin and once with Qt 5.3.0 using eglfs plugin.
Both applications were executed on the same hardware (IMX6).
The old Qt with wayland results in ~60fps while the new Qt using
eglfs just reaches 40-45 fps (m
Hi!
It is written in docs:
"Sets the item for the given row and column to item.
The table takes ownership of the item."
So it means its going to free memory occupied by all its items.
BR,
Filip
On Fri, Jun 13, 2014 at 12:13 PM, Ramakanthreddy Kesireddy
wrote:
> Hi,
>
>
>
> I create Qtablewid
Hi,
I create Qtablewidget items dynamically in a QtWidget project.
Do I need to delete explicitly Qtablewidget items or the deletion is taken care
by QTablewidget incase ownership lies with it?
Thanks and Regards,
Ramakanth
DISCLAIMER:
This email (including any
21x14
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
What is the size of this icon?
On Fri, Jun 13, 2014 at 10:45 AM, Damian Ivanov
wrote:
> >>You mean you append to byte array the exact string from link [3]?? Then
> it is not going to work in any way!
> Yes the exact string. I also thought it's strange that there is -128
> (maybe because it is i
>>You mean you append to byte array the exact string from link [3]?? Then it is
>>not going to work in any way!
Yes the exact string. I also thought it's strange that there is -128
(maybe because it is in network byte order over dbus?)
>>Rather convert it to a values.
I don't know how :(
You mean you append to byte array the exact string from link [3]?? Then it
is not going to work in any way!
For example the "-128" string is a 4 characters so if they are just 8-bit
characters this whole string has 4 bytes, so the '-' would be you alpha,
'1' (not 1, the character '1') would be your
Hello again,
I have argb32 data in network byte order and want to construct a QIcon
that show it.
How to convert it to a QByteArray in byte order accepted by QImage/QIcon?
Thanks in advance.
Damian
___
Interest mailing list
Interest@qt-project.org
http:
18 matches
Mail list logo