<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=194.111.70.80</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=194.111.70.80"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/194.111.70.80"/>
	<updated>2026-04-21T23:02:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Hildon-Extras&amp;diff=12857</id>
		<title>Hildon-Extras</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Hildon-Extras&amp;diff=12857"/>
		<updated>2010-10-08T08:41:44Z</updated>

		<summary type="html">&lt;p&gt;194.111.70.80: Link to package info page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hildon-Extras is a set of community-contributed widgets (that&#039;s GTK+ widgets, not Desktop widgets) and dialogs that can be used by application developers to provide a usable, well-balanced interface. Some of these widgets provide functionality that the &amp;quot;stock&amp;quot; [[Hildon]] widgets don&#039;t provide, and some dialogs are touch-friendly versions of existing dialogs in GTK+ and/or Hildon.&lt;br /&gt;
&lt;br /&gt;
A more detailed documentation of the components found in Hildon-Extras (currently excluding the Qt bindings in QtHeWrapper) can be found here:&lt;br /&gt;
* http://hildon-extras.garage.maemo.org/reference/current/&lt;br /&gt;
&lt;br /&gt;
==Current status==&lt;br /&gt;
&lt;br /&gt;
Hildon-Extras is now [http://maemo.org/packages/view/libhildon-extras1/ released]. The components are considered quite stable at this point.&lt;br /&gt;
&lt;br /&gt;
===Translations===&lt;br /&gt;
&lt;br /&gt;
If you are interested in translating Hildon-Extras, please have a look at the Transifex project here: http://www.transifex.net/projects/p/hildon_extras/c/trunk/ There are only about 7 strings that shouldn&#039;t take you more than a minute to translate.&lt;br /&gt;
&lt;br /&gt;
===Qt integration===&lt;br /&gt;
&lt;br /&gt;
There is a class called &amp;lt;code&amp;gt;QtHeWrapper&amp;lt;/code&amp;gt; in Hildon-Extras that is provided to developers of [[Qt-Maemo|Qt]]-based apps. It is a [[:wikipedia:Wrapper_library|wrapper]] that provides interoperability between Hildon-Extras and Qt code. It allows developers to call Hildon-Extras dialogs easily from Qt-based software.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;QtHeWrapper&amp;lt;/code&amp;gt; is a static class that currenty supports all the dialogs in Hildon-Extras. It contains static methods that display a given dialog. These methods accept such parameters and they also have such return types that make them easily callable from Qt code. (Eg. &amp;lt;code&amp;gt;QColor&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;QString&amp;lt;/code&amp;gt;.) No actual reference to Gtk/Hildon headers is needed in order to have it working.&lt;br /&gt;
&lt;br /&gt;
In order to use it, you must include &amp;lt;code&amp;gt;qt-he-wrapper.h&amp;lt;/code&amp;gt; which is a C++ header and contains a class called &amp;lt;code&amp;gt;QtHeWrapper&amp;lt;/code&amp;gt; with static functions:&lt;br /&gt;
* &amp;lt;code&amp;gt;showHeSimpleColorDialog&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;showHeColorDialog&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;showHeAboutDialog&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;showHeFontDialog&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===List of applications using Hildon-Extras===&lt;br /&gt;
&lt;br /&gt;
* [http://maemo.org/downloads/product/Maemo5/conboy/ Conboy] (&amp;lt;code&amp;gt;HeCheckButton&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;HeFullscreenButton&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;HeAboutDialog&amp;lt;/code&amp;gt;)&lt;br /&gt;
* [http://thpinfo.com/2010/maepad/ MaePad] (&amp;lt;code&amp;gt;HeAboutDialog&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;HeFullscreenButton&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;HeSimpleColorDialog&amp;lt;/code&amp;gt;)&lt;br /&gt;
* [http://mrawviewer.garage.maemo.org MRAWViewer] (&amp;lt;code&amp;gt;HeFullscreenManager&amp;lt;/code&amp;gt; at the moment, planning to add &amp;lt;code&amp;gt;HeAboutDialog&amp;lt;/code&amp;gt; for the next release)&lt;br /&gt;
* [https://garage.maemo.org/projects/maemo-mapper/ Mappero] (&amp;lt;code&amp;gt;HeAboutDialog&amp;lt;/code&amp;gt;)&lt;br /&gt;
* [https://garage.maemo.org/projects/mapper/ Mapper] (&amp;lt;code&amp;gt;HeAboutDialog&amp;lt;/code&amp;gt;)&lt;br /&gt;
* [http://maemo.org/downloads/product/Maemo5/custom-operator-name-widget/ Custom Operator Name Widget] (&amp;lt;code&amp;gt;HeColorDialog&amp;lt;/code&amp;gt;)&lt;br /&gt;
* [http://maemo.org/downloads/product/Maemo5/gpodder/ gPodder] (&amp;lt;code&amp;gt;HeAboutDialog&amp;lt;/code&amp;gt;)&lt;br /&gt;
* [http://maemo.org/downloads/product/Maemo5/panucci/ Panucci] (&amp;lt;code&amp;gt;HeAboutDialog&amp;lt;/code&amp;gt;)&lt;br /&gt;
* [[Queen BeeCon Widget]] (&amp;lt;code&amp;gt;HeFont*&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;He*Color*&amp;lt;/code&amp;gt;)&lt;br /&gt;
* [https://garage.maemo.org/projects/sticky-notes/ Sticky Notes] (&amp;lt;code&amp;gt;HeSimpleColorDialog&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;HeColorDialog&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;HeFontDialog&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;HeAboutDialog&amp;lt;/code&amp;gt; through &amp;lt;code&amp;gt;QtHeWrapper&amp;lt;/code&amp;gt;)&lt;br /&gt;
* [https://extcalllog.garage.maemo.org/ Extended Call Log] (&amp;lt;code&amp;gt;HeAboutDialog&amp;lt;/code&amp;gt;)&lt;br /&gt;
* [https://webtexter.garage.maemo.org/ WebTexter] (&amp;lt;code&amp;gt;HeAboutDialog&amp;lt;/code&amp;gt;)&lt;br /&gt;
* [https://pidgin.garage.maemo.org/ Pidgin] (&amp;lt;code&amp;gt;HeMenuView&amp;lt;/code&amp;gt;)&lt;br /&gt;
* &#039;&#039;(add yours here)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Widget Gallery==&lt;br /&gt;
&lt;br /&gt;
Here is a list of widgets currently in Hildon-Extras.&lt;br /&gt;
&lt;br /&gt;
===Dialogs===&lt;br /&gt;
&lt;br /&gt;
Hildon-Extras has a nice collection of dialog windows that are optimized to be both good-looking and finger-friendly.&lt;br /&gt;
&lt;br /&gt;
All of the dialogs support integration with Qt-based software via the &amp;lt;code&amp;gt;QtHeWrapper&amp;lt;/code&amp;gt; class (in the &amp;quot;qt-he-wrapper.h&amp;quot; header).&lt;br /&gt;
&lt;br /&gt;
====HeAboutDialog====&lt;br /&gt;
&lt;br /&gt;
[[Image:HeAboutDialog.png|thumb|About dialog in MaePad]]&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;HeAboutDialog&amp;lt;/code&amp;gt; is a replacement for &amp;lt;code&amp;gt;GtkAboutDialog&amp;lt;/code&amp;gt; and provides a finger-friendly, good-looking about dialog with optional buttons for:&lt;br /&gt;
&lt;br /&gt;
* Project website&lt;br /&gt;
* Bug tracker (&amp;quot;Enter new bug&amp;quot;)&lt;br /&gt;
* Donations page&lt;br /&gt;
&lt;br /&gt;
There is a [[:wikipedia:Wrapper_function|wrapper]] that can be used by Qt-based applications for this dialog in &amp;lt;code&amp;gt;QtHeWrapper&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you are writing a Python application, you might be interested in the Python port of &amp;lt;code&amp;gt;HeAboutDialog&amp;lt;/code&amp;gt;: [http://repo.or.cz/w/gpodder.git/blob_plain/HEAD:/src/gpodder/gtkui/frmntl/about.py Download about.py]&lt;br /&gt;
&lt;br /&gt;
====HeSimpleColorDialog====&lt;br /&gt;
&lt;br /&gt;
[[Image:HeSimpleColorDialog.png|thumb|Simple color dialog]]&lt;br /&gt;
&lt;br /&gt;
This dialog provides a finger-friendly, limited list of colors (a Tango-ish color palette) for the user to choose from. Especially useful when the color selection does not have to be &amp;quot;that special shade of green&amp;quot; but rather &amp;quot;a nice green&amp;quot; (for example to colorize categories or items).&lt;br /&gt;
&lt;br /&gt;
There is also the possibility of an advanced mode for this dialog.&lt;br /&gt;
This presents an additional &amp;quot;Advanced&amp;quot; button above &amp;quot;Select&amp;quot;. When clicked, it presents the user with a regular &amp;lt;code&amp;gt;HeColorDialog&amp;lt;/code&amp;gt; to pick an exact colour.&lt;br /&gt;
&lt;br /&gt;
Example code and use cases:&lt;br /&gt;
&lt;br /&gt;
* MaePad uses it for coloring the text of checklist items and for the color in sketches ([http://repo.or.cz/w/maepad.git/blob/HEAD:/src/ui/callbacks.c src/ui/callbacks.c])&lt;br /&gt;
&lt;br /&gt;
====HeColorDialog====&lt;br /&gt;
&lt;br /&gt;
[[Image:HeColorDialog.png|thumb|Color dialog]]&lt;br /&gt;
&lt;br /&gt;
This dialog lets the user to select a color by selecting the intensity of the red, green, and blue channels. Also provides hex input/output of colours.&lt;br /&gt;
&lt;br /&gt;
It may come in handy when a developer wants his/her users to be able to pick an exact shade of an exact colour in a finger-friendly way.&lt;br /&gt;
&lt;br /&gt;
====HeFontDialog====&lt;br /&gt;
&lt;br /&gt;
[[Image:HeFontDialog.png|thumb|Font dialog]]&lt;br /&gt;
&lt;br /&gt;
Lets the user choose a font together with a font size. It also offers bold and italic styles.&lt;br /&gt;
&lt;br /&gt;
====HeMenuView====&lt;br /&gt;
&lt;br /&gt;
[[Image:he-menu-view-before-and-after.png|thumb|Menu view]]&lt;br /&gt;
&lt;br /&gt;
This widget allows you to display a GtkMenu as a series of columns in a dialog. In addition, you can hook into all your HildonWindow widgets and have those menus that are not HildonAppMenu widgets appear as HeMenuView dialogs.&lt;br /&gt;
&lt;br /&gt;
===Buttons===&lt;br /&gt;
&lt;br /&gt;
The buttons in Hildon-Extras provide commonly used behaviour and are looking nice.&lt;br /&gt;
&lt;br /&gt;
====HeCheckButton====&lt;br /&gt;
&lt;br /&gt;
[[Image:HeCheckButton.png|thumb|Check button]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;HeCheckButton&amp;lt;/code&amp;gt; is a check button with primary and secondary labels. The standard HildonCheckButton supports only one label.&lt;br /&gt;
&lt;br /&gt;
This button can be very handy for developers who would like to provide some description about the functionality of a check box.&lt;br /&gt;
&lt;br /&gt;
====HeFullscreenButton====&lt;br /&gt;
&lt;br /&gt;
[[Image:HeFullscreenButton.png|thumb|The HeFullScreenButton]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;HeFullscreenButton&amp;lt;/code&amp;gt; is a button that allows users to &#039;&#039;&#039;leave&#039;&#039;&#039; full screen mode. It becomes visible after the user touched the screen or pressed a key and it vanishes after 5 seconds of inactivity.&lt;br /&gt;
&lt;br /&gt;
It looks like the full screen button in the built-in applications of Maemo 5, so it is very good if a developer wants his/her application to blend in well with the rest of the platform.&lt;br /&gt;
&lt;br /&gt;
====HeColorButton====&lt;br /&gt;
&lt;br /&gt;
[[Image:HeColorButton.png|thumb|Color button]]&lt;br /&gt;
&lt;br /&gt;
On tapping the &amp;lt;code&amp;gt;HeColorButton&amp;lt;/code&amp;gt; opens the &amp;lt;code&amp;gt;HeColorDialog&amp;lt;/code&amp;gt; and lets the user select a color. This color is then displayed on the &amp;lt;code&amp;gt;HeColorButton&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====HeFontButton====&lt;br /&gt;
&lt;br /&gt;
[[Image:HeFontButton.png|thumb|Font button]]&lt;br /&gt;
&lt;br /&gt;
On tapping the &amp;lt;code&amp;gt;HeFontButton&amp;lt;/code&amp;gt; displays a &amp;lt;code&amp;gt;HeFontDialog&amp;lt;/code&amp;gt; that lets the user select a font. The selected font is then displayed on the &amp;lt;code&amp;gt;HeFontButton&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Fremantle]]&lt;/div&gt;</summary>
		<author><name>194.111.70.80</name></author>
	</entry>
</feed>