maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [Announce] Hildon-Extras eases the life of developers (https://talk.maemo.org/showthread.php?t=61554)

Venemo 2010-09-01 19:53

[Announce] Hildon-Extras eases the life of developers
 
Greetings everyone,
  • Have you ever wondered how some developers can make awesome-looking apps so quickly?
  • Have you ever thought about what widgets or dialogs you should use for quick color or font selection?
  • Have you ever wanted to make the menu of a cluttered app to look good?
  • Have you ever planned to create a nice-looking about dialog for your app but you couldn't find the time?

If your answer to any of the above questions is yes, Hildon-Extras has come to save you!

Hildon-Extras is a library that contains community-contributed widgets and dialogs that are plain easy to use in Maemo applications. It is very easy to use and integrate into your app, and it provides you some touch-friendly dialogs and widgets.

Most of them are for Gtk-based software, but some of them also has Qt bindings!

Conny, the founder asked me to announce the project in here. For the full list of credits, check the Credits section in this post.

Dialogs

The dialogs can also be used from Qt-based apps!
Check out QtHeWrapper!

Menu View

Before and after:
http://wiki.maemo.org/Image:He-menu-...-and-after.png

This is the nice menu used in Pidgin for Maemo. It is recommended for applications with very cluttered menus to use this instead of the default Hildon menu.

Widgets

... and even more!

HeHelper allows you to easily use common functions related to the N900.
It provides easy access to the vibrator, led, accelerometer, and the mouse cursor. It can also help with "tap and hold" setup.

Credits

The following idividuals are behind the making of Hildon-Extras:
  • Cornelius Hald (Conny) - the founder
  • Andrew Olmsted (Fiferboy)
  • Faheem Pervez (qwerty12)
  • Thomas Perl (thp)
  • Gabriel Schulhof (Nix_nix)
  • Timur Kristóf (Venemo)

Is it awesome?

Yes, it is pure awesomeness.
Check out who are using it!

If you are interested, see the wiki page and the documentation.

If you would like to contribute, see the Garage page and talk to Conny if you'd like to collaborate.

fpp 2010-09-01 20:13

Re: [Announce] Hildon-Extras eases the life of developers
 
That's a really nice idea !

Unfortunately (for me), only one of these has been ported to Python, and it uses GTK.

I'd really like to see a similar toolkit, but Qt-based (as this seems to be the way to the future), and with Python bindings...

As a side note, I'm trying to determine how some people do these UIs with buttons at the top and a list, table or tree beneath, and the buttons scroll up off the screen when the list/table/tree is scrolled down ? Like on the Evernote client main screen, that's neat and beats toolbars...

if anyone knows (especially in PyQt) I'm all ears :-)

HellFlyer 2010-09-01 20:14

Re: [Announce] Hildon-Extras eases the life of developers
 
Finally some sort of a standard on which developers can rely

Venemo 2010-09-02 07:14

Re: [Announce] Hildon-Extras eases the life of developers
 
Quote:

Originally Posted by fpp (Post 804543)
I'd really like to see a similar toolkit, but Qt-based (as this seems to be the way to the future), and with Python bindings...

As I said, all of the dialogs have a Qt wrapper. So if you're developing a Qt app, it should be this simple:

Code:

QColor myColor = QtHeWrapper::showHeSimpleColorDialog();
This requires a single method call. It should be fairly easy to call it from Python, too.

Quote:

Originally Posted by fpp (Post 804543)
As a side note, I'm trying to determine how some people do these UIs with buttons at the top and a list, table or tree beneath, and the buttons scroll up off the screen when the list/table/tree is scrolled down ?

They put the entire content into a scrollable area. (HildonPannableArea or QScrollAre, whatever.)

donaggio 2010-09-02 08:11

Re: [Announce] Hildon-Extras eases the life of developers
 
Thanks to all the devs!
This has really helped me a lot with MRAWViewer: next version (which will hit extras-devel Really Soon (tm)) will depend on libhildon-extras1!

Thanks again,

--
Luca Donaggio

Venemo 2010-09-02 11:24

Re: [Announce] Hildon-Extras eases the life of developers
 
Quote:

Originally Posted by donaggio (Post 804961)
Thanks to all the devs!
This has really helped me a lot with MRAWViewer: next version (which will hit extras-devel Really Soon (tm)) will depend on libhildon-extras1!

We're happy we could help you!

dannym 2010-09-04 14:11

Re: [Announce] Hildon-Extras eases the life of developers
 
fpp: HildonPannableArea is a GtkBin (which can just have one child), so if your want to put more in it, put a vbox in the pannable area and the other stuff into the vbox.

magullo 2010-09-06 15:24

Re: [Announce] Hildon-Extras eases the life of developers
 
Looking at FMMS code, I found it uses HeAboutDialog.
As you can see from the following image, buttons on the about box are too thin for italian translations:
http://static.pixelpipe.com/0d5ebf8b...9bd5d7dc_m.jpg

Is it possible to make them wider? Looking at the doc looks there's no way to do it.
Thanks

conny 2010-09-06 18:52

Re: [Announce] Hildon-Extras eases the life of developers
 
Quote:

Originally Posted by magullo (Post 808688)
Is it possible to make them wider? Looking at the doc looks there's no way to do it.
Thanks

As far as I know, the width of dialog buttons cannot be changed. Therefore the translation needs to be changed.

magullo 2010-09-08 09:40

Re: [Announce] Hildon-Extras eases the life of developers
 
Yes, i digged through the code and found it's not possible.
I'm looking at transifex and proposing a better translation.
Thanks.


All times are GMT. The time now is 03:53.

vBulletin® Version 3.8.8