ProcessCraft like gui widgets.

253 views
Skip to first unread message

Beth Null

unread,
Mar 18, 2013, 8:55:44 AM3/18/13
to kivy-...@googlegroups.com
Hi to everybody! 

Can someone give me a hand about kivy?

I'm trying to develop an application like an interconected graph of boxex, nodes, connections lines between them and such stuff. After seeing the ProcessCraft application I've fallen in love with its interface, ;), the infinite canvas, the grid, how the widgets behave, Showgen has done a fantastic job.

However, I have no idea where to start, is http://kivy.org/docs/guide/firstwidget.html  the way to go?, I'm not picking up the whole picture of where to start and how to succesfully develop widgets similar to ProcessCraft ones.

Thanks in advance for your help.

Best regards, beth.

krister viirsaar

unread,
Mar 18, 2013, 10:25:23 AM3/18/13
to kivy-...@googlegroups.com
without knowing how processcraft handles it (probably better than I can imagine). But look up theseterms in kivy and you should be on your way:
FloatLayout
GridLayout
Button
Label
Graphics
Image (uix, not core)
"widget tree"

Also I suggest do the Pong tutorial.

Mathieu Virbel

unread,
Apr 2, 2013, 1:58:43 AM4/2/13
to kivy-...@googlegroups.com
Hi Beth,

Processcraft widgets are home-made, and not available to public. You
just have to do it yourself :/

Mathieu

Le 18/03/2013 13:55, Beth Null a �crit :
> --
> You received this message because you are subscribed to the Google
> Groups "Kivy users support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to kivy-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Beth

unread,
Apr 4, 2013, 3:22:39 AM4/4/13
to kivy-...@googlegroups.com
Hi Mathieu,

What it would be fantastic for noobs like me, is to have a tutorial or guided example in how to create widgets like Processcraft ones. 

I understand that are specific for their application, and  I'm not interested in using them in my app because they don't fit my needs. However, as a begginer I still don't see the way to achieve such results, I'm having problems understanding the link between the .kv files and the behaviour of a widget, like the little corners that appears when one component is selected, how they animate some of them, the infinite canvas, to name a few.

I know that in the end I'll find the way to achieve my target, it's only going to be a matter of time, but my project is mixed with hardware so I'm designing a circuit, programming microcontrollers, doing some networking, struggling with python instropection, designing a gui, blah blah blah, so every little thing helps a lot :).

All the best, beth.







Gabriel Pettier

unread,
Apr 7, 2013, 5:41:47 AM4/7/13
to kivy-...@googlegroups.com
Hi

I think you just need to think about what you precisely need your
widgets to be, for processcraft, for the diagram parts, there are two
kinds:

- nodes
- links

nodes are the more complex ones, depending on their kind, they can have
different caracteristics, so you need a way to create the complex types
easily, but the kind of characteristics you are looking for are:

- resizable?
- image?
- text?
- possible actions? (bubble menu)
- can contain other nodes ?

this will define how the widget looks like, and how the user interact
with it, you can put these characteristics together in classes to create
finished widgets, or you can separate them and plug them at run time,
whatever, it's just about putting them together.

Then of course, there are the links, the creation and updating of links
is a fun one if you want a good looking diagram, you can use
path-finding like algos, and call them again when their
source/destination are moved, you can add visual indicators on the links
based on certain conditions, it's "only" a matter of taking all the
possibilities into account.

Also, you want to put animations whenever possible to make things look
slick (for alignement to grid for example, or for spawning of a new
node).


It's not that hard of a concept, it's just a bit harder the bigger your
diagram spec is (BPMN2.0 is big >_>), but it's doable.

good luck.

Beth

unread,
Apr 11, 2013, 6:50:29 AM4/11/13
to kivy-...@googlegroups.com
Thanks Gabriel, I think that during the next week I'll be back with some examples and more doubts for sure ;).

Thanks.


You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/2winynxBvzk/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages