Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-10-07 Thread Vladimir M.
>> Can I use QList (or something similar) as Q_PROPERTY? How can I use it in >> QML? >> >> Best regards, >> Nick >> >> >> 2013/10/2 Vladimir M. >> >> CONSTANT (or whatever the name is) helps here as well -- if the prop does >>> n

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-10-02 Thread Vladimir M.
t;> I did it, but now I got: >>> >>> QMetaProperty::read: Unable to handle unregistered datatype 'Game*' for >>> property 'Engine::game' >>> >>> QQmlExpression: Expression qrc:/Reactor.qml:7 depends on non-NOTIFYable >>>

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-10-02 Thread Vladimir M.
using this fields as pointers (Hull * hull). So, how > to use correctly Q_Properties in this case? (I need call methods from this > fields and catch signals from them in QML) > > > > 2013/9/30 Vladimir M. > >> Sure, you can always wire as many objects as possible to

Re: [Ubuntu-phone] Anybody have Adobe Illustrator?

2013-09-30 Thread Vladimir M.
And version 6 is now $0 (remember that story about Adobe giving away their tools?) :) On Mon, Sep 30, 2013 at 7:10 PM, Dave Morley wrote: > On 30/09/13 16:07, Sam Bull wrote: > > We're nearly ready to release our first beta of the Bitcoin client. But, > > we are missing an image, and I've f

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread Vladimir M.
hat if I will create property backend in QML type and then I will set > this property in all QML objects to global object? So, theoretically this > can solve my problem. > > > 2013/9/30 Vladimir M. > > Then, it looks like the standard way would be to have an instance of the >

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread Vladimir M.
pages: this it differents QML > files and differents pages in PageStack), but I created only one > QtQuickView in main.cpp. So, do view is qml file or QtQuckView object? > > > 2013/9/30 Vladimir M. > > You probably can't share a single instance of a QML visual item bet

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-30 Thread Vladimir M.
t property. >>>> >>>> It's really just using qmlRegisterType() instead of >>>> setContextProperty(). It's >>>> not more or more complex code, but gives you better ways of structuring >>>> your >>>> QML code. >&g

Re: [Ubuntu-phone] Create QML view for C++ object (not class)

2013-09-29 Thread Vladimir M.
Sounds like a "context property" use case (you plain set a QObject as a context property for a view's root scope, w/o even registering the object's type, and all its properties and invokables become available). On Sun, Sep 29, 2013 at 6:38 AM, Николай Шатохин wrote: > Hello. > > When I create a

Re: [Ubuntu-phone] What If?

2013-09-27 Thread Vladimir M.
This guy just proved it's doable: http://www.linkedin.com/groups/Presentation-Porting-Qt-new-Smartphone-4106650.S.276919001 :) On Sat, Sep 28, 2013 at 2:38 AM, Jo-Erlend Schinstad < joerlend.schins...@ubuntu.com> wrote: > > > > On 28 September 2013 00:13, Robert Park wrote: > >> On Fri, Sep 27

Re: [Ubuntu-phone] Android apps

2013-05-24 Thread Vladimir M.
As Qt 5.1 beta supports Android, why not try to install the Ubuntu phone sdk alongside that? Would be very nice for testing (not to mention absence of brickage risks :) ). On Fri, May 24, 2013 at 8:07 PM, Nedas Pekorius wrote: > > http://www.myriadgroup.com/device-solutions/device-software/myria

Re: [Ubuntu-phone] Autoupdating QML files stored in resource

2013-04-26 Thread Vladimir M.
Trust me it isn't! You can have fully working modules with qmldir files and images and so on in resources (that means, you will not need to reference images by ":" or "qrc:" scheme, but plainly by the relative path), even referencing plugin shared libraries (if those go to a separate folder). One c

Re: [Ubuntu-phone] Running QML functions in parallel thread

2013-04-19 Thread Vladimir M.
Sort of :-) 19.04.2013 14:40 пользователь написал: > Funny, explored bug (issue) just by using a lot of components =) > > 19.04.13 14:16 Michael Zanetti написал(а): > FYI: After having a chat with the SDK people, it turns out that the Button > is > indeed slower than it should be. I've reported t

Re: [Ubuntu-phone] Running QML functions in parallel thread

2013-04-16 Thread Vladimir M.
Hey, you'd wanna cache that component instance! :) Cheers from snoowy Russia On Tue, Apr 16, 2013 at 4:11 PM, Николай Шатохин wrote: > This is my code that creates buttons field: > > onCreateField: > { > for(var i=0;i { > for(var j=0;j { > createButton(i, j);

Re: [Ubuntu-phone] How to autoupdate QML files in resource file before building project

2013-02-22 Thread Vladimir M.
[quick follow-up] Or may be (following Thiago's recommendation at http://comments.gmane.org/gmane.comp.lib.qt.user/5820), adding .qml files to the project file (not only to qrc) should fix that. Regards, Vladimir On Fri, Feb 22, 2013 at 3:51 PM, Vladimir M. wrote: > Looks like a k

Re: [Ubuntu-phone] How to autoupdate QML files in resource file before building project

2013-02-22 Thread Vladimir M.
Looks like a known bug: https://bugreports.qt-project.org/browse/QTCREATORBUG-1627 Which Creator, are you on (and which OS :) ), may be the latest version behaves better... Regards On Fri, Feb 22, 2013 at 3:38 PM, Николай Шатохин wrote: > Hello. > > I store my .qml files in .qrc file. But when

Re: [Ubuntu-phone] [Development]Qml orientation

2013-02-21 Thread Vladimir M.
Hi, look at http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick-window2-screen.html#orientation-prop Qt5 has some new items, those with Qt4 bg better skim through the docs / whats new (http://qt-project.org/doc/qt-5.0/qtdoc/qt5-intro.html) first :) Cheers On Fri, Feb 22, 2013 at 12:38 AM, Ricca

Re: [Ubuntu-phone] Who's installed already?

2013-02-21 Thread Vladimir M.
Those with Nexus 7, note: if smth goes wrong, and you end up with a broken bootloader and rebbot after that, the device is forever bricked. So watch your steps and the battery charge :) Cheers, Vladimir On Thu, Feb 21, 2013 at 10:17 PM, Lewis Donofrio wrote: > tomorrow? Today is today.argh