-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (31) . 

Adjustable Clock

   4.1.4 "Hello QML"  

Plasmoid Binary

Score 89%
Adjustable Clock
zoom


Adjustable Clock
zoom


Adjustable Clock
zoom


Minimum required   KDE 4.x
Downloads:  10484
Submitted:  Nov 8 2008
Updated:  Nov 1 2013

Description:

Plasmoid to show date and time in adjustable format using rich text.
Developed and tested on KDE 4.11 with Qt 4.8 (Kubuntu 13.10).

Source (main repository, with more frequent updates) is located at:
https://github.com/Emdek/plasmoid-adjustable-clock

Warning!
Version 4.0 (and newer) is not backwards compatible with 3.x, all custom formats need to be exported and manually converted.

QML themes support is currently considered as experimental, behavior and available API are not yet stable and most probably will be changed with next release.

Tips:
- to change tool tip text you need to set options toolTipExpressionMain and toolTipExpressionSub in applets configuration file (usually located at ~/.kde4/share/config/plasma-desktop-appletsrc), in group containing line plugin=adjustableclock;
- you can use advanced WebKit features (all of these that work with for example rekonq should work here too), for example use CSS to create reflections:

-webkit-box-reflect:below 5px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.5, transparent), to(white));

And much more. ;-)

If you created interesting theme and want to share it then post in comments!

Features:
- fully custom date and time using JavaScript API to obtain date and time components;
- multiple clock themes utilizing various designs;
- possibility to use rich text editor or edit source directly (HTML and CSS or QML) to adjust theme;
- context menu with actions to copy formatted (adjustable expressions) date and time to clipboard;
- fast copy to clipboard of adjustable date and time expression after middle mouse click on the clock or activation of keyboard shortcut;
- adjustable tool tip (hidden option, toolTipExpressionMain and toolTipExpressionSub keys);
- standard clock calendar.

If you have found bugs or have suggestions you can contact me via email, message or using comments, before you will vote bad. And remember that not everybody has enough time for fast replying. ;-)




Changelog:

4.1.4 (01.11.2013):
- fixed week number not being updated;
- added missing title of "Insert Component" dialog.

4.1.3 (27.09.2013):
- ensure that component values are always up to date;
- adjust timestamp for time zone offset;
- do not allow for accidental nesting of components in editor;
- added option to hide date in Train Clock theme;
- added workaround to ensure that hands of SVG Clock have correct initial positions as soon as possible.

4.1.2 (01.06.2013):
- ensure that center of SVG Clock theme is always valid;
- improve resizing in vertical panels.

4.1.1 (25.05.2013):
- fixed WYSIWYG editor for HTML themes;
- fixed missing dialog for "Insert Component" actions.

4.1 (15.05.2013):
- added SVG Clock theme (analog clock that uses Plasma theme);
- added experimental support for QML themes (alpha state);
- added simple file templates for new themes;
- move theme editor to own dialog;
- move theme specific actions to context menu;
- added ability to install and export themes (Plasma Package ZIP);
- some other improvements and fixes.




LicenseGPL
Source(Adjustable Clock v4.1.4 (tar.bz2))
Source(Adjustable Clock master snapshot (zip))
SUSE(Packages on openSUSE Build Service)
Fedora(Packages for Fedora (by sokar620))
Ubuntu(Packages for Kubuntu (by Emdek))
Arch(Arch-Linux PKGBUILD (by ksolsim))
Donate
Send to a friend
Subscribe
Other  Apps  from Emdek
Report inappropriate content



goto page: prev  ... 4  5  6  7  8  9  10  11  12  13  14  15 

-

 Thank you!

 
 by tsujan on: Jan 6 2013
 
Score 63%

Nice plasmoid! This is the only digital clock that can be used with vertical panels. And with wide screens, vertical panels are the best choice.


Reply to this

-

 Feedback needed

 
 by Emdek on: Mar 23 2013
 
Score 50%

Next version will replace current parser by JavaScript API (no more % placeholders).
Since it is big and compatibility breaking change (although it is possible to convert custom themes, even these using pre 3.0 syntax) I will need additional feedback before proceeding with new release (planned in April), to make sure that this change could go as smoothly as possible and there will be no need to break API compatibility.

Reasons for this change:
- greater flexibility (easier to extend);
- cleaner (no custom expressions, only standard JavaScript, except custom API to query date and time components);
- unbreak few things (like use of CSS transitions, since parser required to reload HTML each time...);
- ability to add support for QML themes using similar API in both "engines".

Current API (methods marked as Q_INVOKABLE), it uses CSS queries to match elements that need value substitution (you can optionally specify attribute):
https://github.com/Emdek/plasmoid-adjustable-clock/blob/master/applet/Clock.h#L59
Component identifiers are defined here:
https://github.com/Emdek/plasmoid-adjustable-clock/blob/master/applet/DataSource.h#L36
There are also events fired when values of these components change (used by for example Digital Clock theme).
Common options (all booleans) are: short, text, possessive (for months), alternative (for hour only, toggles between 24 and 12 hours format).


Life is unfair...
Reply to this

-

 Re: Feedback needed

 
 by Emdek on: Apr 6 2013
 
Score 50%

API got modified again, Clock object exposes now only toString() method and other methods were replaced by use of attributes:
- component (component identifier - https://github.com/Emdek/plasmoid-adjustable-clock/blob/master/applet/Clock.h#L34);
- options (list of options specific to given component, optional);
- attribute (attribute to substitute instead of tag contents, optional).
This should be easier to use since all "options" are in one place now and has some other benefits too.


Life is unfair...
Reply to this

-
.

 Call for testing

 
 by Emdek on: Apr 13 2013
 
Score 50%

I've published snapshot of current master that soon will become v4.0.
Due to numerous changes I'm calling for testing before final release. Please report any issues here or on github project page.
Keep in mind that this version is not backwards compatible.


Life is unfair...
Reply to this

-

 Re: Call for testing

 
 by ksolsim on: Apr 13 2013
 
Score 50%

Hi, I just realized the git package for arch, I noticed two problems, the first is the digital clock, the second is the vertical clock. For the rest seems to work well.
thanks for this great plasmoid


Reply to this

-

 Re: Re: Call for testing

 
 by Emdek on: Apr 13 2013
 
Score 50%

What exactly is wrong with them?
Screenshot could be useful. :-)


Life is unfair...
Reply to this

-

 Re: Re: Re: Call for testing

 
 by ksolsim on: Apr 13 2013
 
Score 50%

if I choose the digital clock in its place is used beClock... the vertical clock problem can be seen in the screenshoot:
http://s16.postimg.org/mvnny17jp/avvio4.png


Reply to this

-

 Re: Re: Re: Re: Call for testing

 
 by Emdek on: Apr 13 2013
 
Score 50%

First one confirmed, that was bug in fallback mechanism.
Fixed, thanks for report. :-)

Second one is weird, should not happen at all.
It might be QtWebKit bug, since applet uses user stylesheet to set some CSS values including alignment.
All themes should be centered horizontally and vertically, and it seems that they are not on your machine (reason for broken previews).
Which Qt and KDE versions are you using?
32 or 64 system (for weird reasons that sometimes matters)?


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Call for testing

 
 by ksolsim on: Apr 13 2013
 
Score 50%

on arch linux (both 64 and 32 bit on different machines)...
qt version: qt4 (4.8.4) and qt5(5.0.2)

qt4 used for compile plasmoid


Reply to this

-

 Re: Re: Re: Re: Re: Re: Call for testing

 
 by Emdek on: Apr 13 2013
 
Score 50%

Thanks for detailed information, I'll investigate this issue.

For now I can only give workaround by adding this CSS snippet to theme you want to use:
html, body {margin: 0; padding: 0; height: 100%; width: 100%; vertical-align: middle;} html {display: table;} body {display: table-cell; text-align: center;}


Life is unfair...

-

 Re: Re: Re: Re: Re: Re: Call for testing

 
 by Emdek on: Apr 19 2013
 
Score 50%

Should be fixed now, I've changed code to inject stylesheet as LINK element with data URL.


Life is unfair...

-

 Re: Re: Re: Re: Re: Re: Call for testing

 
 by ksolsim on: Apr 19 2013
 
Score 50%

there's a little problem... some clocks always show seconds (e.g. train clock)
http://postimg.org/image/b3xmktlbl/



-

 Re: Re: Re: Re: Re: Re: Call for testing

 
 by Emdek on: Apr 20 2013
 
Score 50%

Both issues should be fixed now, it was hard to find a reason for them but it turned out that it was due to style sheet index change (after changing method for injecting theme CSS).


Life is unfair...

-

 Re: Re: Re: Re: Re: Call for testing

 
 by ksolsim on: Apr 14 2013
 
Score 50%

I tried the fixed fallback mechanism, but now if I choose the digital clock is displayed Analog clock.


Reply to this

-

 Re: Re: Re: Re: Re: Re: Call for testing

 
 by Emdek on: Apr 14 2013
 
Score 50%

Cannot reproduce that issue, but it seems to be exact the same as previous (the only difference is that now first theme is Analog, added yesterday, they are probably returned sorted and first one gets chosen), maybe it's something wrong with saving / reading of theme key.
When you open settings again which one is selected?


Life is unfair...

-

 Re: Re: Re: Re: Re: Re: Call for testing

 
 by Emdek on: Apr 14 2013
 
Score 50%

Also that missing stylesheet issue got confirmed on Arch, I'll try to find some other method to apply that CSS since it's crucial for themes to work correctly.
I've decided to use that way since it is most transparent for theme developers, maybe injecting CSS using JS will be sufficient, or that issue could be fixed somehow (maybe it just requires to toggle some flags in QWebSettings or such).


Life is unfair...

-

 Re: Re: Re: Re: Re: Re: Call for testing

 
 by ksolsim on: Apr 14 2013
 
Score 50%

today without updating the package seems to be working properly.
http://postimg.org/image/wp7asajfp/



-

 Re: Re: Re: Re: Re: Re: Call for testing

 
 by Emdek on: Apr 14 2013
 
Score 50%

Thanks for report, maybe configuration got mangled once.
Let me know if it will show up again. :-)


Life is unfair...

-

 Re: Re: Re: Re: Re: Re: Call for testing

 
 by Emdek on: Apr 14 2013
 
Score 50%

After some testing it seems that this is upstream bug and QtWebKit ignores userStylesheetUrl() on Arch, even if it is an on disk file identified by absolute URL...
I have some ideas how to workaround that, but I don't like them since they may interfere with theme developer intentions (overwrite values).
In worst case there might be need to add some patch to Arch spec file...


Life is unfair...

-

 Re: Re: Re: Re: Re: Re: Call for testing

 
 by Emdek on: Apr 17 2013
 
Score 50%

I've modified a bit themes to always include text-align: center; if needed so it should look at least a bit better by default (but lack of vertical alignment is very visible when background is drawn...).
But I'm afraid that Arch might require additional patch that adds vertical alignment CSS to each theme. :-/


Life is unfair...

-

 Re: Re: Re: Re: Re: Re: Call for testing

 
 by ksolsim on: Apr 19 2013
 
Score 50%

I've a second problem, ring clock doesn't work anymore..

http://postimg.org/image/aph6n7tsl/



-

 Re: Re: Re: Re: Re: Re: Call for testing

 
 by ksolsim on: Apr 20 2013
 
Score 50%

good work every clock works... now on arch even vertical clock works...
http://postimg.org/image/65p5au7kn/



-

 Re: Re: Re: Re: Re: Re: Call for testing

 
 by Emdek on: Apr 20 2013
 
Score 50%

Thanks for confirmation, stable release will be made available ASAP.


Life is unfair...

-

 Re: Re: Re: Re: Re: Re: Call for testing

 
 by ksolsim on: Apr 20 2013
 
Score 50%

there's a little problem with fuzzy clock..

http://postimg.org/image/kn8p0evcd/



-

 Re: Re: Re: Re: Re: Re: Call for testing

 
 by Emdek on: Apr 20 2013
 
Score 50%

Uhm, that one got in accidentally, it is not ready yet.
Thanks for pointing that out, I've updated source package.


Life is unfair...

-

 Ideas for new themes

 
 by Emdek on: Apr 21 2013
 
Score 50%

Here are some ideas for additional themes (which I may do not have enough time to implement or are too similar to existing ones to be bundled):
- geek clock (http://www.uncommongoods.com/product/geek-clock) - tip: MathML;
- tetris clock (multiple variants for details possible);
- spiral clock (http://www.superpunch.net/2011/01/spiral-clock.html);
- sundial.
If there will be enough interest I'll consider adding repository for addon themes and adding Install (from file and maybe later also GHNS) and Export actions to themes manager.


Life is unfair...
Reply to this

-

 suspend/hibernate

 
 by herrbatka on: Apr 26 2013
 
Score 50%

Hi,

For some reason this clock does not refresh itself correctly after resuming from suspend/hibernate. At least hour stays the same as in the moment of suspend. Could you take look into this issue?


Reply to this

-

 Re: suspend/hibernate

 
 by Emdek on: Apr 26 2013
 
Score 50%

Thanks for report.
There are two possible sources for that issue, data engine (but then all other clocks should have the same issue) or QtWebKit (it might ignore redraw requests).
Could you please check with rekonq (since both use QtWebKit) if animation on this page works after resuming (or some other, JavaScript driven animations would be best)?
http://attasi.com/labs/analog-clock/
Also, do all themes have such issue? Some use events to update (LCD, Binary, beClock...). It would be best to check with two instances, for example one with Digital and one with Binary.


Life is unfair...
Reply to this

-

 Re: Re: suspend/hibernate

 
 by herrbatka on: Apr 27 2013
 
Score 50%

http://attasi.com/labs/analog-clock/ works after resuming. Other clocks (including adjustable clock 3.0) works fine.

I use basic theme

<html><head></head><body style="font-family: Inconsolata; font-weight: bold; font-size: 48px; " background="true"><div style="text-align: center; font-size: 32px; font-family: Inconsolata; font-weight: bold; "><span component="Hour">12</span>:<span component="Minute">30</span></div></body></html>

Because default digital clock has text scaling issues.

It seems that after resuming hour component is not updated.


Reply to this

-

 Re: Re: Re: suspend/hibernate

 
 by Emdek on: Apr 27 2013
 
Score 50%

Only that one? That would be extremely weird.
I can't confirm that on my laptop (64 bit Kubuntu 11.10, KDE 4.8.4) using slightly modified version of your theme (seconds added), so it might be setup specific issue.
First we have to identify if it's redrawing, data updating issue or maybe something else.
Please add line:
qDebug() << "updating" << componentString;
To file applet/Clock.cpp after line 291 (const QLatin1String componentString = [...]), then recompile, open Konsole, kill plasma-desktop (kquitapp plasma-desktop), run plasma-desktop and observe output - if it will show lines like updating Second after resuming then it's not data updating issue and most probably something wrong with redrawing.

You can also try QML branch which uses WebView widget "directly" (well, through QML component ;-)):
https://github.com/Emdek/plasmoid-adjustable-clock/archive/qml.zip
Although it still has some issues, but should be usable (at least on desktop).


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: suspend/hibernate

 
 by herrbatka on: Apr 27 2013
 
Score 50%

QML branch clock is tiny. I can't make it bigger.

At the moment I'm not in the mood for debugging, sorry :/


Reply to this

-

 Re: Re: Re: Re: Re: suspend/hibernate

 
 by Emdek on: Apr 28 2013
 
Score 50%

You can try current snapshot, sizing in panels should be again correct.


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: suspend/hibernate

 
 by herrbatka on: May 16 2013
 
Score 50%

Problem does not exist anymore in the 4.1.



-

 Re: Re: Re: Re: Re: suspend/hibernate

 
 by Emdek on: May 16 2013
 
Score 50%

I like when issues resolve themselves. :-)


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: suspend/hibernate

 
 by herrbatka on: May 16 2013
 
Score 50%

Don't worry. There will be always some bugs to fix. ;-)



-

 Re: Re: Re: Re: Re: suspend/hibernate

 
 by Emdek on: May 16 2013
 
Score 50%

Surely, but most important ones, like numerous (Qt)WebKit issues (some of them even older than applet itself, but still not fixed...), are beyond my scope. ;-(


Life is unfair...
Reply to this

-

 QML themes

 
 by Emdek on: May 15 2013
 
Score 50%

Version 4.1 brings initial support for QML themes.
Currently it's pretty limited, there is no direct access to Clock API, no automatic zoom to fit contents to available rectangle (I'm not sure if it is even doable...), options are not available yet etc. Also it is not final yet and most probably will be not future compatible until next release.

Current approach is to define adjustableClock property on items which are supposed to display / process date and time components, for example:
property variant adjustableClock: {component: 'DayOfWeek', options: '\'text\': true'}
Will cause text property (by default, can be changed using attribute key) of specified item to be updated to current day of week in textual form.

Example theme:
http://paste.kde.org/744638/

I'm open for suggestions how to expose missing functionality in best way (and Plasma policies compatible).


Life is unfair...
Reply to this

-

 Re: QML themes

 
 by ksolsim on: May 15 2013
 
Score 50%

thanks for this new release... svg clock seems to not work, svg clock always gets 6:30..

http://postimg.org/image/bganfwn15/


Reply to this

-

 Re: Re: QML themes

 
 by Emdek on: May 15 2013
 
Score 50%

Kind of confirmed, thanks for report. It happens randomly and debugging JS environment fails to tell why, maybe it's some kind of QtWebKit quirk, not sending repaint request for some reason...

This theme is a bit tricky, it loads uncompressed SVG theme file and manipulates transform property of clock hands (like simple Analog Clock, but on SVG and preserving initial transforms).


Life is unfair...
Reply to this

goto page: prev  ... 4  5  6  7  8  9  10  11  12  13  14  15 

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.