On Sat, Nov 2, 2013 at 5:31 PM, Sandro Andrade wrote:
> On Mon, Oct 28, 2013 at 8:13 AM, Stephen Kelly wrote:
>> On Monday, October 07, 2013 09:55:53 Sandro Andrade wrote:
>>> On Wed, Oct 2, 2013 at 11:18 AM, Stephen Kelly
>> wrote:
>>> > On Wednesday, October 02, 2013 19:02:54 Дмитрий Козлов wr
On Mon, Oct 28, 2013 at 8:13 AM, Stephen Kelly wrote:
> On Monday, October 07, 2013 09:55:53 Sandro Andrade wrote:
>> On Wed, Oct 2, 2013 at 11:18 AM, Stephen Kelly
> wrote:
>> > On Wednesday, October 02, 2013 19:02:54 Дмитрий Козлов wrote:
>> >> Q_PROPERTY(Hull * hull READ hull)
>> >> Q_PROPERTY
On Monday, October 07, 2013 09:55:53 Sandro Andrade wrote:
> On Wed, Oct 2, 2013 at 11:18 AM, Stephen Kelly
wrote:
> > On Wednesday, October 02, 2013 19:02:54 Дмитрий Козлов wrote:
> >> Q_PROPERTY(Hull * hull READ hull)
> >> Q_PROPERTY(Reactor * reactor READ reactor)
> >> Q_PROPERTY(Shields * shi
On Wed, Oct 2, 2013 at 11:18 AM, Stephen Kelly wrote:
> On Wednesday, October 02, 2013 19:02:54 Дмитрий Козлов wrote:
>> Q_PROPERTY(Hull * hull READ hull)
>> Q_PROPERTY(Reactor * reactor READ reactor)
>> Q_PROPERTY(Shields * shields READ shields)
>>
>> This approach should work in your case.
>
> T
Can I use QList (or something similar) as Q_PROPERTY? How can I use it in
QML? Can I use QList of pointers? And get objects in QML
Best regards,
Nick
2013/10/4 Николай Шатохин
> Yes, I did exactly the same. Thanks.
>
>
> 2013/10/4 Bo Thorsen
>
>> Hi Николай Шатохин,
>>
>> I saw on the list, t
Yes, I did exactly the same. Thanks.
2013/10/4 Bo Thorsen
> Hi Николай Шатохин,
>
> I saw on the list, that you got this working. But there were a bunch of
> things missing in the discussion. I have just done the same thing you are
> trying in one of our 4.8.5 based projects.
>
> Some of this h
Hi Николай Шатохин,
I saw on the list, that you got this working. But there were a bunch of
things missing in the discussion. I have just done the same thing you
are trying in one of our 4.8.5 based projects.
Some of this has been said, other parts haven't. I hope this is a
complete descriptio
I tried in Qt5.1 and it's working. Thanks.
2013/10/2 Дмитрий Козлов
> 02.10.2013 19:18, Stephen Kelly пишет:
>
> On Wednesday, October 02, 2013 19:02:54 Дмитрий Козлов wrote:
>
> Q_PROPERTY(Hull * hull READ hull)
> Q_PROPERTY(Reactor * reactor READ reactor)
> Q_PROPERTY(Shields * shields READ
02.10.2013 19:18, Stephen Kelly пишет:
On Wednesday, October 02, 2013 19:02:54 Дмитрий Козлов wrote:
Q_PROPERTY(Hull * hull READ hull)
Q_PROPERTY(Reactor * reactor READ reactor)
Q_PROPERTY(Shields * shields READ shields)
This approach should work in your case.
This will work with QML with Qt 5
On Wednesday, October 02, 2013 19:02:54 Дмитрий Козлов wrote:
> Q_PROPERTY(Hull * hull READ hull)
> Q_PROPERTY(Reactor * reactor READ reactor)
> Q_PROPERTY(Shields * shields READ shields)
>
> This approach should work in your case.
This will work with QML with Qt 5.2.
https://codereview.qt-proj
02.10.2013 18:12, Николай Шатохин пишет:
Hello
I registered as QML Type class Ship inherited from QObject that have
fields:
Q_PROPERTY(Hull hull READ hull)
Q_PROPERTY(Reactor reactor READ reactor)
Q_PROPERTY(Shields shields READ shields)
(all field classes inherited from QObject too)
But in
Hello
I registered as QML Type class Ship inherited from QObject that have fields:
Q_PROPERTY(Hull hull READ hull)
Q_PROPERTY(Reactor reactor READ reactor)
Q_PROPERTY(Shields shields READ shields)
(all field classes inherited from QObject too)
But in ship class I'm using this fields as pointers
12 matches
Mail list logo