maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] QFlipClock - flip clock app and widget (https://talk.maemo.org/showthread.php?t=73754)

divan 2011-06-05 06:16

[Announce] QFlipClock - flip clock app and widget
 
Hi all,

there is a homescreen widget and standalone application for bringing Flip Clock to Maemo desktop.

Features:
* Homescreen widget for Maemo 5
* Scalable - you can set any size you want
* Fast and smooth animation
* Different animation types
* Skin themes are stored in human-readable (and editable) form - easy to edit/add new themes
* Configurable on-click action
* Fullscreen mode for standalone flipclock
* Standalone clock can keep backlight on
* Widget and standalone program pauses when phone is locked or homescreen is changing - saves power and cpu ticks. :)
* Localization support
* Written in C++/Qt4

Screenshots:
http://i.imgur.com/tRVr4.png http://i.imgur.com/lRDAN.png http://i.imgur.com/U9rFJ.png http://i.imgur.com/oXzFw.pnghttp://i.imgur.com/ieijM.png http://i.imgur.com/qxjdg.png http://i.imgur.com/j9Lyu.png

Install:
http://mymeego.de/images/stories/app...tall_maemo.png
or
Update extras-devel repository and look for 'qflipclock' with your favourite package manager
or
apt-get update
apt-get install qflipclock

Maemo Package page: http://maemo.org/packages/view/qflipclock/

TODO:
* add portrait mode support
* add date text capability
* add raster images for background support
* add more gradient types (radial, etc)

FOLKS, feel free to create and post here:
a) themes for the flipclock
b) translations on your own language
I will include them into the next updates.

For those who wants to change/add themes - look in /usr/share/qflipclock/themes dir and take any theme as an example. The syntax should be self-explanatory.

THEME Customizing/Creating mini HOW-TO http://talk.maemo.org/showpost.php?p...84&postcount=7

Suggestions and comments are welcome.

eefo 2011-06-05 07:08

Re: [Announce] QFlipClock - flip clock app and widget
 
ammmmmmm , have you made these themes your self ?
or is there any source to get these themes ?
or :p
if you can explain abit about it , i can kick something in it myself too :P

F2thaK 2011-06-05 08:05

Re: [Announce] QFlipClock - flip clock app and widget
 
looks gooood

elie-7 2011-06-05 16:58

Re: [Announce] QFlipClock - flip clock app and widget
 
this is sooo ****ing awesome, you are a legend mate, anyway just on request can we have a 12 hours clock mode ?
and for themes, well in my opinion the widget is a bit taller than it should be, it should be more rectangular,and head over the queen beecon flip clock widget thread tons of themes, and check the last post, Qosimo has state of the art icons ......

divan 2011-06-05 21:01

Re: [Announce] QFlipClock - flip clock app and widget
 
> or is there any source to get these themes ?
eefo, there is no source - it's not an images or graphics. It's a mix of colors and gradients magic :)
All themes are placed in /usr/share/qflipclock/themes/

> and for themes, well in my opinion the widget is a bit taller than it should be
It could be edited in theme with "Aspect" key (now it's 1.2 by default).

> head over the queen beecon flip clock widget thread tons of themes, and check the last post, Qosimo has state of the art icons ......
Agaim, this program doesn't use images - it renders the gradients and colors with Qt routines. No static images is used, thus it's so scalable, fast and light.
Perhaps, later I will add support for static images in themes, but there will be some difficulties and limitations with it.

mr_pingu 2011-06-05 21:06

Re: [Announce] QFlipClock - flip clock app and widget
 
Looking good so far

Suggestion: Would it be possible to make 4 panels instead of 2 containing 2 numbers, so every number has it's own panel

divan 2011-06-05 21:31

Re: [Announce] QFlipClock - flip clock app and widget
 
So, there is a quick how to on theme editing.
All themes are located in /usr/share/qflipwidget/themes/ and can be edited/add/etc. Note, you'll need root access for that.
If you edited the theme or added new one, simply go to the widget settings, and it should pick up your changes.

So, the syntax is simple .ini file syntax.
=====================
[Theme]
Name="White Flip" <- Theme name used for selecting. Avoid duplicates.
Type=Native <- Currently only Native value is supported
Background=Color <- Color/Gradient. If Color, then the [Background_Color] group must exist. If Gradient, then [Background_Gradient] group must exist.
Sheet=Gradient <- the same (must be [Sheet_Gradient] group
Text=Gradient <- <- the same (must be [Text_Gradient] group
DrawEdge=true <- whether to draw 'sheet edge' on the top and bottom
EdgeColor=18, 18, 18, 255 <- color for sheet edge in (R, G, B, A) format
DrawMiddleLine=true <- whether to draw middle line
MiddleLineColor=159, 159, 159, 255 <- middle line color
AddZeroSign=true <- whether to add '0' for values<10
CornersRadius=15 <- corners radius :) use 0 to make square corners
Aspect=1.2 <- width/height aspect ratio
XPadding=0.1 <- padding (% of width) from left and right
Gap=0.15 <- padding between hour and minute (% of width), use 0 to remove gap between them

[Font] <- font settings
Family="Helvetica" <- Font family name
Scale=1.0 <- scale factor
IsBold=True <- isBold :)
IsItalic=false <- isItalic :)

[Sheet_Gradient] <- Gradient description for Sheet
Type=Linear <- Currently only Linear is supported so far
Vector=0, 0, 0, 1 <- Gradient direction (see QLinearGradient for more info). 0, 0, 0, 1 representes "from up to down" direction
ColorPoint1=0.00, 245, 245, 245, 255 <- ColorPoint: first real number is position in gradient(0.0 ... 1.0), other 4 numbers is Color value (R, G, B, A). You can as many color points as you want. Just name it properly.
ColorPoint2=0.49, 192, 192, 192, 255
ColorPoint3=0.51, 245, 245, 245, 255
ColorPoint4=1.00, 192, 192, 192, 255

[Text_Gradient] <- the same for text
Type=Linear
Vector=0, 0, 0, 1
ColorPoint1=0.00, 128, 128, 128, 255
ColorPoint2=0.49, 64, 64, 64, 255
ColorPoint3=0.51, 128, 128, 128, 255
ColorPoint4=1.00, 16, 16, 16, 255

[Background_Color]
Color=0, 0, 0, 128 <- color in (R, G, B, A) format
==============

Of course, it takes some time to prepare gradients values, but the result is selfexplanatory on screenshots.

divan 2011-06-05 21:34

Re: [Announce] QFlipClock - flip clock app and widget
 
Quote:

Originally Posted by mr_pingu (Post 1022867)
Looking good so far

Suggestion: Would it be possible to make 4 panels instead of 2 containing 2 numbers, so every number has it's own panel

I thought about that, but need to change internal logic for that. Perhaps it will be added with some update.

Quote:

nyway just on request can we have a 12 hours clock
Ok, I noted it. BTW, does people really use 12 hours mode in digital watches? :)

CasTTeLLo 2011-06-06 03:31

Re: [Announce] QFlipClock - flip clock app and widget
 
Quote:

Originally Posted by divan (Post 1022886)
I thought about that, but need to change internal logic for that. Perhaps it will be added with some update.


Ok, I noted it. BTW, does people really use 12 hours mode in digital watches? :)

yeap...i use it....it's a must...:D

stickymick 2011-06-07 09:04

Re: [Announce] QFlipClock - flip clock app and widget
 
All the digital watches I've had have the option to show 12hr/24hr. Even the N900s stock clock has the option.

I like this little clock though, saves messing about in Queenbeecon widget. (totally no disrespect to those that prefer to use Qbcon, of course).

A few peeps over on the N900 FB page are wondering if a weather widget could be added to make it look like the HTC clock.


All times are GMT. The time now is 08:43.

vBulletin® Version 3.8.8