-
 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   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (30) .- Knowledge Base  . 

Adjustable Clock

   4.1.4 "Hello QML"  

Plasmoid Binary

Score 90%
Adjustable Clock
zoom


Adjustable Clock
zoom


Adjustable Clock
zoom


Minimum required   KDE 4.x
Downloads:  10084
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  Artwork  from Emdek
Report inappropriate content



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

-

 21:40 Thu 16 May

 
 by lionhater on: May 16 2013
 
Score 50%

Whenever Adjustable Clock is updated I try to make date/time like so (in one line in the panel):

21:40 Thu 16 May

But I can't. If you could implement this as a preset I would prey for you!

In every other DE/WM this is either the default implementation or can easily be configured, but not in the otherwise richest, most configurable DE (KDE).


Reply to this

-

 Re: 21:40 Thu 16 May

 
 by Emdek on: May 16 2013
 
Score 63%

Something like that? ;-)
http://paste.kde.org/745262/
I'm considering adding Get Hot New Stuff support, then such themes could go to own repository.


Life is unfair...
Reply to this

-

 Re: Re: 21:40 Thu 16 May

 
 by lionhater on: May 16 2013
 
Score 50%

THANKS!

Well, in fact just before implementing your code I've seen my configuration to be (this time surprisingly) working as well, but your official version is better! And I'll prey for you!

Thank you.


Reply to this

-

 Re: Re: Re: 21:40 Thu 16 May

 
 by lionhater on: May 16 2013
 
Score 50%

Well, plasma desktop crashes constantly (in Manjaro).


Reply to this

-

 Re: Re: Re: Re: 21:40 Thu 16 May

 
 by Emdek on: May 17 2013
 
Score 50%

Do you have any backtrace (generated by Dr Konqui)?


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: 21:40 Thu 16 May

 
 by lionhater on: May 17 2013
 
Score 50%

No, but I'd like to, if you can give a link to a howto.


Reply to this

-

 Re: Re: Re: Re: Re: Re: 21:40 Thu 16 May

 
 by Emdek on: May 17 2013
 
Score 50%

These links may be helpful:
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
http://techbase.kde.org/Development/FAQs/Debugging_FAQ
Which KDE version are you using? 32 or 64 bit?


Life is unfair...

-

 Re: Hot New Stuff

 
 by practica on: Oct 21 2013
 
Score 50%

Yes, I'd love to see a "Hot New Stuff" button on the Adjustable Clock...we were talking about this the other day. In the meantime, here's my code for a clock that we like, which works well for a semi-transparent vertical panel. It has shadowing and outline, so it stands out well on different backgrounds:

<html><head></head><body>
<div style="text-align: center;
font-family:'Ubuntu';
margin: 0 2 0 2;
color: rgb(0, 255, 0);
text-shadow: rgb(0, 0, 0) -2px 2px, rgb(0, 0, 0) 2px 2px, rgb(0, 0, 0) -2px -2px, rgb(0, 0, 0) 2px -2px, rgb(0, 0, 0) 0px 2px, rgb(0, 0, 0) 0px -2px, rgb(0, 0, 0) 2px 0px, rgb(0, 0, 0) -2px 0px, rgb(0, 170, 0) 0px 0px 15px, rgb(0, 170, 0) 0px 0px 15px;
font-weight: bold;">
<div style="font-size: 20px;"><span component="Hour" options="'short': true">12</span>:<span component="Minute">30</span></div>
<div style="font-size: 16px; text-transform: uppercase;"><span component="DayOfWeek" options="'short': true, 'text': true">Sat</span></div>
<div style="font-size: 13px; text-transform: uppercase;"><span component="Month" options="'short': true, 'text': true">Jan</span><span style="font-size: 21px;" component="DayOfMonth">01</span></div>
</div>
</body></html>


Reply to this

-

 64 bit

 
 by lionhater on: May 17 2013
 
Score 50%

64 bit. Will look at those links.


Reply to this

-

 Re: 64 bit

 
 by lionhater on: May 17 2013
 
Score 50%

Doesn't crash now!


Reply to this

-

 Re: Re: 64 bit

 
 by Emdek on: May 17 2013
 
Score 50%

But in case if it would happen again a backtrace would be very useful. :-)


Life is unfair...
Reply to this

-

 Re: Re: Re: 64 bit

 
 by lionhater on: May 17 2013
 
Score 50%

Yes, but I'll be very very careful not to crash!!


Reply to this

-

 Re: Re: Re: 64 bit

 
 by ksolsim on: May 17 2013
 
Score 50%

if I try to create a new theme in QML then plasma-desktop crashes... if it can be helpful here is the backtrace:

paste.kde.org/745976


Reply to this

-

 Re: Re: Re: Re: 64 bit

 
 by Emdek on: May 18 2013
 
Score 50%

Could you please rebuilt sources with debug symbols enabled (so backtrace will be more useful) and retry?


Life is unfair...
Reply to this

-

 Example for tooltips in v4, please

 
 by sash222 on: Jun 8 2013
 
Score 50%

Hi,
my old config dont work with adjust-clock v4

toolTipFormatMain=now %!d %$M<br>
toolTipFormatSub=also %!D day of %Y y.

I tried

toolTipExpressionMain=now <span component="DayOfMonth" options="'short': true"></span> <span component="Month" options="'text': true" title="Month"></span><br>

but "syntax eror: parse error"


Reply to this

-

 Re: Example for tooltips in v4, please

 
 by Emdek on: Jun 9 2013
 
Score 50%

You should use the same syntax as used in Clipboard Actions editor.
For example:
Clock.getValue(Clock.Year) + '-' + Clock.getValue(Clock.Month) + '-' + Clock.getValue(Clock.DayOfMonth) + ' ' + Clock.getValue(Clock.Hour) + ':' + Clock.getValue(Clock.Minute) + ':' + Clock.getValue(Clock.Second)


Life is unfair...
Reply to this

-

 Re: Re: Example for tooltips in v4, please

 
 by sash222 on: Jun 9 2013
 
Score 50%

thank you


Reply to this

-

 Issue on Resuming

 
 by tsujan on: Jun 12 2013
 
Score 50%

Yesterday I updated my installation of your great plasmoid from v3.1 to v4.1.2 and saw the same thing herrbatka had reported.

After resuming from hibernation, the hour figure isn't updated until the minute reaches 60. The same is true for the minute figure. The theme makes no difference. It seems that, in the code, the hour and minute figures are redrawn only once an hour and once a minute respectively (I haven't examined the code yet) so that the problem is visible only after >= 1 hour of hibernation/suspend.


Reply to this

-

 Fix for Resume Issue (Above)

 
 by tsujan on: Jun 12 2013
 
Score 50%

In the method DataSource::dataUpdated(), instead of the signal componentChanged() being emitted conditionally for the minute and hour components, I added its emission for them just after the second component and the resume problem is fixed. No side effect as far as I know but you are the one who masters the code.


Reply to this

-

 Re: Fix for Resume Issue (Above)

 
 by Emdek on: Jun 12 2013
 
Score 50%

Those are send conditionally for a reason. ;-)
Proper solution would be to intercept resume signal or change comparison to compare with cached previous QDateTime value.
The latter probably makes more sense.


Life is unfair...
Reply to this

-

 Re: Fix for Resume Issue (Above)

 
 by Emdek on: Jun 13 2013
 
Score 50%

I've modified comparison code in master, could you please confirm that it solves that issue?


Life is unfair...
Reply to this

-

 Re: Re: Fix for Resume Issue (Above)

 
 by tsujan on: Jun 13 2013
 
Score 50%

I'll test it and tell you about the result :)


Reply to this

-

 Re: Re: Fix for Resume Issue (Above)

 
 by tsujan on: Jun 13 2013
 
Score 50%

The problem is fixed. Thanks a lot.


Reply to this

-

 Re: Re: Re: Fix for Resume Issue (Above)

 
 by Emdek on: Jun 13 2013
 
Score 50%

Thanks for testing. :-)


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Fix for Resume Issue (Above)

 
 by fdservices on: Sep 27 2013
 
Score 50%

I have a similar problem. This morning, after resume from sleep, the time shown was the "sleep" time and the day says "Monday" - 27 Sept 13 is a Friday :(
Selecting the Adjustable Clock Settings and reinstalling the theme corrected the time but not the day.
Is the above fix in the downloads above 4.1.2? This is the one I used for installing on my Arch netbook

Andrew


Reply to this

-

 Re: Re: Re: Re: Re: Fix for Resume Issue (Above)

 
 by Emdek on: Sep 27 2013
 
Score 50%

Nope, it is not and I forgot about that. ;-(
I was planning to finish weather integration earlier and release it all together, but that got delayed...
I will release new version soon, for now you can use code from master branch (secondary source download link).


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: Fix for Resume Issue (Abov

 
 by fdservices on: Sep 27 2013
 
Score 50%

Wow - quick response, thanks.

I think that the day issue may be due to my theme, could you take a look please?

<span style="font-size: 12px;"><span component="Day">Monday</span></span><br>

FYI a restart did not correct the day, and hover does show the correct info.

Thanks

Andrew



-

 Re: Re: Re: Re: Re: Re: Fix for Resume Issue (Abov

 
 by fdservices on: Oct 5 2013
 
Score 50%

Sorry to say that I have upgraded to 4.1.3 and the time was still incorrectly shown at boot this morning. I have three time zones selected, London, Paris and Bangkok. Clock default/Local time is set to Paris. The time shown at start up was Paris minus one hour = London. Right hover showed all the correct times including the bold Paris time. Selecting Adjustable Clock settings and OK reset the time to the correct Paris time.

Andrew



-

 Re: Re: Re: Re: Re: Fix for Resume Issue (Above)

 
 by Emdek on: Sep 27 2013
 
Score 50%

It seems that you use incorrect component name, it should be:
<span component="DayOfWeek" options="'text': true">Saturday</span>
Anyway, thanks for reminding me that earlier mentioned fix should be finally released (along few other minor fixes). ;-)


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: Fix for Resume Issue (Abov

 
 by fdservices on: Sep 27 2013
 
Score 50%

Thank you



-

 Re: Re: Re: Re: Re: Fix for Resume Issue (Above)

 
 by Emdek on: Oct 6 2013
 
Score 50%

Is that new issue reproducible?
Could you add testing instance with the same configuration but showing some additional timezone data (like timezone city name)?
Tooltip is unimportant in this case, it is default one for all kinds of clocks in Plasma (unless overwritten by custom settings).


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: Fix for Resume Issue (Abov

 
 by fdservices on: Oct 7 2013
 
Score 50%

I will try, but it has not happened again yet.

Andrew



-

 Grab on certain windows over Panel

 
 by fdservices on: Sep 27 2013
 
Score 50%

When you bring up the dialogue windows: Adjustable Clock Setting > Editor or Options, they put a grab on the window which means that it is not possible to do anything in the panel while that window is open. Is that intentional?

Andrew


Reply to this

-

 Re: Grab on certain windows over Panel

 
 by Emdek on: Sep 27 2013
 
Score 50%

The answer is yes, and no. ;-)
These dialogs should block configuration dialog only but since whole Plasma is a single application then setModal(true) block access to desktop (which is also a kind of window)...
But it seems that there might be a way to do it properly (lock configuration dialog only) by using setWindowModality(Qt::WindowModal).
I will try that out and if it will work as intended then it will land in repository to be included in next release.


Life is unfair...
Reply to this

-

 Re: Re: Grab on certain windows over Panel

 
 by fdservices on: Sep 27 2013
 
Score 50%

A bit beyond me, but I am impressed anyway.

Thank you


Reply to this

-

 Re: Re: Re: Grab on certain windows over Panel

 
 by Emdek on: Sep 27 2013
 
Score 50%

I'm afraid that it has to stay as is for now, that alternative way does not lock configuration dialog at all...


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Grab on certain windows over Panel

 
 by ksolsim on: Sep 27 2013
 
Score 50%

hi, there's a little problem with "progress clock", seconds are cutted... here is an image:

http://postimg.org/image/ji09jr59f/


Reply to this

-

 Re: Re: Re: Re: Re: Grab on certain windows over P

 
 by Emdek on: Sep 27 2013
 
Score 50%

Does it have font set to default one?
AFAIR there might be issues with some fonts which are hard to avoid...


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: Grab on certain windows ov

 
 by ksolsim on: Sep 27 2013
 
Score 50%

yes it was to default (DejaVu Sans), but after I changed it then with the same font has returned to work well....



-

 Re: Re: Re: Re: Re: Grab on certain windows over P

 
 by Emdek on: Sep 27 2013
 
Score 50%

Well, in fact the true default there is Segoe WP (choice by submitter of this theme). ;-)
I will try to tweak it again when I will have some free time.

I cannot reproduce it using some random fonts, maybe that was some kind of random glitch, please report if it will hit you again.


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Grab on certain windows over Panel

 
 by fdservices on: Sep 28 2013
 
Score 50%

Strange that some of the other windows do not perform the same grab e.g. Clipboard > Edit

It is no great problem, it would have been nice to lookup help on html code while editing

Andrew


Reply to this

-

 Re: Re: Re: Re: Re: Grab on certain windows over P

 
 by Emdek on: Sep 28 2013
 
Score 50%

Do you mean Klipper?
It is not a plasmoid, but a separate application.
If you know about a plasmoid that is able to do such a trick then I could check how they do that. :-)


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: Grab on certain windows ov

 
 by fdservices on: Sep 28 2013
 
Score 50%

No, I was looking at Adjustable Clock Settings > Clipboard Actions > Edit

Andrew



-

 Re: Re: Re: Re: Re: Grab on certain windows over P

 
 by Emdek on: Sep 28 2013
 
Score 50%

Well, it is different scenario, these dialogs for sure will not mess one with another (except issues in case if too many of them will be opened simultaneously).
I will reevaluate that lock anyway, maybe there is a way to avoid it without introducing possible issues.


AFAIR alt_tab switcher will still work. :-)


Life is unfair...
Reply to this

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

Add commentBack






-

-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore




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

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

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.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.