-
 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 89%
Adjustable Clock
zoom


Adjustable Clock
zoom


Adjustable Clock
zoom


Minimum required   KDE 4.x
Downloads:  10148
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   1  2  3  4  5  6  7  8  9  10  11  12  13 ...

-

 Bug when using

 
 by olenz on: May 11 2010
 
Score 50%

I'm using an adjustable clock in a vertical panel. Unfortunately, whenever I try to add a horizontal line (<hr>), the clock "flashes" wildly (resizes several times a second).

Steps to reproduce:
1. Create a vertical panel.
2. Add an adjustable clock to the panel.
3. Modify the settings of the clock: add an <hr> anywhere in the source code.
4. Click "Ok".
5. Watch the show.


Reply to this

-

 Re: Bug when using

 
 by Emdek on: May 11 2010
 
Score 50%

Thanks for report, I'll try to reproduce this later. :-)

For now you can try to add DIV tag with style attribute set to border-top:1px solid black;.


Life is unfair...
Reply to this

-

 /usr/bin/ld: cannot find -lpla

 
 by gytis on: May 12 2010
 
Score 50%

Hi, i'm on 10.04 KDE 4:4.3

Firstly it seemed that i was missing /usr/include/plasmaclock dir with files, fixed that, now seems that it cant build plasma_applet_adjustableclock.so. Whats wrong?

Code:

gytis@ltn-gytis:~/Downloads/adjustableclock-2.2$
gytis@ltn-gytis:/usr/bin$
gytis@ltn-gytis:~/Downloads/adjustableclock-2.2/applet$ ../install.sh
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.6.2 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Phonon Version: 4.3.1
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/qt4/KDE;/usr/include/qt4
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.4 include dir: /usr/include
-- Found KDE 4.4 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/gytis/Downloads/adjustableclock-2.2/applet/build
Scanning dependencies of target plasma_applet_adjustableclock_automoc
Generating AdjustableClock.moc
[ 0%] Built target plasma_applet_adjustableclock_automoc
[ 8%] Generating ui_clipboard.h
[ 16%] Generating ui_appearance.h
[ 25%] Generating ui_advanced.h
Scanning dependencies of target plasma_applet_adjustableclock
[ 33%] Building CXX object CMakeFiles/plasma_applet_adjustableclock.dir/plasma_applet_adjustableclock_automoc.o
[ 41%] Building CXX object CMakeFiles/plasma_applet_adjustableclock.dir/AdjustableClock.o
Linking CXX shared module lib/plasma_applet_adjustableclock.so
/usr/bin/ld: cannot find -lplasmaclock
collect2: ld returned 1 exit status
make[2]: *** [lib/plasma_applet_adjustableclock.so] Error 1
make[1]: *** [CMakeFiles/plasma_applet_adjustableclock.dir/all] Error 2
make: *** [all] Error 2

An error occured during compilation!
Check if you have installed all needed header files.


Reply to this

-

 Re: /usr/bin/ld: cannot find -lpla

 
 by Emdek on: May 13 2010
 
Score 50%

It looks like it can't find liplasmaclock files.
Check if packages containing library and it's devel files are properly installed.


Life is unfair...
Reply to this

-

 Re: Re: /usr/bin/ld: cannot find -lpla

 
 by gytis on: May 13 2010
 
Score 50%

Could you tell which packages?


Reply to this

-

 Re: Re: Re: /usr/bin/ld: cannot find -lpla

 
 by Emdek on: May 13 2010
 
Score 50%

It differs between distributions...
It's files might be in following packages (or with similar naming):
libplasmaclock, kdebase-workspace-devel, kdebase-devel, kdebase-workspace. In source tree it's located in workspace/lib, maybe it will help in finding it.


Life is unfair...
Reply to this

-

 Re: Re: Re: /usr/bin/ld: cannot find -lpla

 
 by Contrast on: Jun 10 2010
 
Score 50%
ContrastContrast
-
Mike Vaughn 37

United States of America, Georgetown, KY
Last visit Jul 30 2014
2 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

Hey there. I just saw you were having some trouble building a Plasma widget on Kubuntu 10.04. The packages you need to install are:
kdelibs5-dev kdebase-workspace-dev libqt4-dev
I'm actually not certain on whether that last one is needed, but it doesn't hurt to have it around, as it's necessary for building any Qt4-based application.


Reply to this

-
.

 Question

 
 by echoes on: May 24 2010
 
Score 50%

probably a stupid question but what is the code for the hour display for 12/hr (AM/PM) without the leading zero?


Reply to this

-

 Re: Question

 
 by Emdek on: May 24 2010
 
Score 50%

It's %l.
All codes are available in menu under button in top right corner of configuration dialog.


Life is unfair...
Reply to this

-

 Re: Re: Question

 
 by echoes on: May 24 2010
 
Score 50%

i knew it was somewhere but couldn't remember or find it. thanks.


Reply to this

-
.

 ToolTip Different Time Zone

 
 by EagleOrion on: Jul 18 2010
 
Score 50%

I would like the tool tip to show me the time in a time zone different from the local one. For example, my local time zone is Eastern U.S.A. and I want my tool tip to show the time in Amsterdam. What is the code for this request?


Reply to this

-

 Re: ToolTip Different Time Zone

 
 by Emdek on: Jul 22 2010
 
Score 50%

It's possible only by source code modification...

Simplest method is to add specified amount of seconds to m_dateTime in method AdjustableClock::updateToolTipContent. It should be easy to do using QDateTime class documentation.


Life is unfair...
Reply to this

-
.

 good, but broken

 
 by BETLOG on: Jul 22 2010
 
Score 50%

Linux 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 GNU/Linux
Lucid Lynx 10.04 KDE

It is a pity this clock misbehaves so badly on my system, it has just the right amount of customization i want, but feels so broken when grappling to configure its 'rich text' interface that I removed it.

Behavioral errors include:

-when text is selected in 'rich text' window
1)font is arbitrarily set to something else (i forget... but NOT what i was selecting)
2) text sizing is arbitrarily changed or perhaps reset, and formatting (bold etc) is lost each time rich text is selected
3) source code is a horrible mess after clicking in rich text screen.

-despite being of exactly the same font type/size as the default KDE clock, and having a 0 border set in 'source' panel the adjustable clock does not fit on the panel (it is pushed down a bit)

-the adjustable clock seems to refresh too often, or in a way that is to.. ?forceful? and gives a feeling of stealing focus from it's own config dialogs, that makes it feel inherently broken in general. Most noticeable in the 'rich text' window as described above.

*feature request:
1) double click clock automatically clipboards a preselected date/time format from the list.
2) single click can invoke a command (to activate a calendar/organizer or other application of the users choice)


Reply to this

-

 Re: good, but broken

 
 by Emdek on: Jul 22 2010
 
Score 50%

Well, KDE in Ubuntu, especially 64 bit has some issues, at least for some users (can't confirm, I've only 32 bit processor).

Graphical editing is limited and problematic (especially font sizing) because it uses WebKit rich text editing capabilities (that's why it produces so ugly output - which could be worse, it's partially filtered). Previously it used simpler editor based on simpler KDE widget (very limited HTML and CSS) but it was too limited. It's not easy situation, it's hard to improve but reverting would be also regression. :-/

To move text to right position you can try to experiment with setting width and height for top level most block container (for example DIV) and set negative margins (it became a bit broken recently - without touching it's code, at least with KDE 4.5 and Qt 4.7).

Which part steals focus? Applet? Parts of editor dialog? Can't confirm.

Currently you can copy time in specified format using middle click (format can be specified using clipboard actions page).

And I'm not sure if there should be additional option for changing click behavior (some Plasma developers hates "too many" options) but it could be done in future using special links, something like: <a href="exec:'app'">Run application</a> or using JavaScript.


Life is unfair...
Reply to this

-

 Re: Re: good, but broken

 
 by BETLOG on: Jul 22 2010
 
Score 50%

Perhaps an option to disable/remove the rich text input.
"if buggy, uncheck this box for raw edit"..sort of thing.
.. ugly, but at least users dont become frustrated when they click on the richtext after hand coding the stylesheet for it, only to have it mangled.
Or maybe just auto-disable richtext in incompatible versions?

re: 'steals focus'
Sorry, I expressed that poorly. It just *felt* slow and gluggy like some element of it was updating excessively, or trying to take focus when it shouldnt be, the rich text input section felt that way, probably because it persistently did something different to what i was trying to do.

Yes, i noticed the custom formats, but i didnt realize the middle click clipboarded them.. nice.

A leftclick option to start kcontact or korganizer (or whatever) would be perfect.

However the rich text input not working for me makes me sad. I have been looking for a nice simple clock ever since I used XFCE in xubuntu.. this one is sooo close.


Reply to this

-

 Re: Re: Re: good, but broken

 
 by Emdek on: Jul 22 2010
 
Score 50%

Well, for sure that rich text editor part needs more love but I don't like idea of locking it. When KDE 4.5 will be stabilized finally (and Qt 4.7 too) I'll try do something to do with these problems. And until something is changed using rich text part code is not changed in source part. Changing style for no reason during selection happens very rarely and is most probably something in WebKit itself (style change is triggered only by clicking buttons or using combo boxes).

That slowness is visible only when selecting test in rich text part? If yes then it might be byproduct of code that forces selection to contain also character after percent sign to avoid accidental destruction of placeholders. It's not easy to do things like that using web content comparing to "plain" rich text (it's more like nasty hacks comparing to clean and powerful API for "native" Qt / kdelibs widgets)...

By the way, I've also used that clock, but before I was using clock like that in IceWM.


Life is unfair...
Reply to this

-

 No config in KDE 4.5

 
 by Contrast on: Aug 16 2010
 
Score 50%
ContrastContrast
-
Mike Vaughn 37

United States of America, Georgetown, KY
Last visit Jul 30 2014
2 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

First and foremost, much thanks for your work on this widget-- It's been my #1 choice for quite some time since the default clock is pretty much hideous on the panel.
With that said, in KDE 4.5, the settings dialog for Adjustable Clock appears to be completely useless now. Any changes made by the user aren't applied after hitting OK; the widget itself doesn't reflect them and the settings are reset to their defaults upon re-opening AC's settings dialog. If the fixes to the problems BETLOG mentioned are still a ways off, hopefully this will be a quick fix. Otherwise, I'm on pins and needles for the next release. :D


Reply to this

-

 Re: No config in KDE 4.5

 
 by Emdek on: Aug 16 2010
 
Score 50%

Thanks. ;-)

Most probably the reason is that developers changed API of library used by clock applets (name of method which is called to save settings)...
Currently I'm busy working on other stuff, but I'll try to release new version with at least most important fixes soon (maybe during this week).
For now you can try to manually apply these changes:
http://websvn.kde.org/?view=revision&sortby=date&revision=1101251


Life is unfair...
Reply to this

-

 Re: Re: No config in KDE 4.5

 
 by Contrast on: Aug 16 2010
 
Score 50%
ContrastContrast
-
Mike Vaughn 37

United States of America, Georgetown, KY
Last visit Jul 30 2014
2 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

Friggin' awesome, man. Back to normal. Much thanks, especially for the quick reply. :)


Reply to this

goto page: prev   1  2  3  4  5  6  7  8  9  10  11  12  13 ...

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.