Non-retangular shapes
-
[quote author="blex" date="1291440045"]Have you checked the Pie menu implementation[/quote]
Which you can link to QML with a plugin like this: http://doc.qt.nokia.com/latest/declarative-tutorials-extending-chapter6-plugins.html
It's for PieChart but just as easily PieMenu.
This is what you'll need to do until there's proper support for arcs and so on.
-
[quote author="xsacha" date="1291440435"]
Which you can link to QML with a plugin like this: http://doc.qt.nokia.com/latest/declarative-tutorials-extending-chapter6-plugins.html[/quote]Thanks for the link.
-
Thanks for the tips! That's what I'm doing, creating c++ extensions to things I can't do in Qml. But I'm having serious problems in turning these extensions in plugins...
-
[quote author="puelocesar" date="1291636834"]Thanks for the tips! That's what I'm doing, creating c++ extensions to things I can't do in Qml. But I'm having serious problems in turning these extensions in plugins...[/quote]
May be you can post the problems faced in the forums and someone might help you out.
-
You know how you need a qmlviewer C++ wrapper (well eventually)?
You can put plugin code in there. Then you don't need to compile it separate and worry about plugins. You can just run the app and the plugin will be compiled inside the wrapper.
The only downside is no auto complete in qml for that type. -
It's here: https://developer.qt.nokia.com/forums/viewthread/2103/ :)
[quote author="QtK" date="1291637122"]
[quote author="puelocesar" date="1291636834"]Thanks for the tips! That's what I'm doing, creating c++ extensions to things I can't do in Qml. But I'm having serious problems in turning these extensions in plugins...[/quote]May be you can post the problems faced in the forums and someone might help you out.[/quote]
-
Yes, that's what I'm doing actually...
But I wanted to create plugins to have a better organization between projects. Imagine 10 projects, all using a similar extension, if I wanted to change the extension, it would be MUCH easier if I had only one plugin to change and compile, get it?
[quote author="xsacha" date="1291637394"]You know how you need a qmlviewer C++ wrapper (well eventually)?
You can put plugin code in there. Then you don't need to compile it separate and worry about plugins. You can just run the app and the plugin will be compiled inside the wrapper.
The only downside is no auto complete in qml for that type.[/quote] -
Yes, as your project gets larger just move those classes out in to separate projects. Compile the plugin separately. List the plugin in your qmldir.
I just thought it'd help you get started if just included it in the wrapper. I had problems compiling plugins too. -
Well, I posted all my plugin code on the other thread.. Let's hope someone points out what is that stupid thing that I'm doing and how to fix it :P
Until that, I'm using c++ extensions like you said
-
Hi,
In the mean time; is there any improvement in supporting irregular shapes (and MouseAreas) in QtQuick?
I can't find them.....