-
 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:  10106
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  14 ...

-
.

 Plasmoid width

 
 by koso83 on: Aug 21 2010
 
Score 50%

Hello,

anyone else experiencing problems with plasmoid width when placed on panel in kde 4.5 (plasmoid version 2.5)?

Normally, plasmoid should be as wide, as is needed by configuration. But in my case, plasmoid seems to have some fixed width when placed on panel (no problem when placed on desktop). Graphics/text inside plasmoid is resized, so that it fits into this smaller container.


Reply to this

-

 Re: Plasmoid width

 
 by Emdek on: Aug 21 2010
 
Score 50%

If format contains strings with variable length (such as month names, weed day names etc.) then it tries to keep some extra space for their changes.
Could you show screenshot and paste format i comment? Also, which KDE and Qt versions on which distribution are you using?


Life is unfair...
Reply to this

-

 Re: Re: Plasmoid width

 
 by koso83 on: Aug 21 2010
 
Score 50%

I'm using kubuntu maverick, kde 4.5, Qt 4.7 (git version).

I can reproduce it also with default formating in plasmoid. Here is a screenshot:

http://yfrog.com/nddesktop1ep

There are side-by-side two versions, on left side is v2.2 and on right is v2.5. You can see, that new version is narrower, than it should be, and fonts are resized, so that they can fit this size. I also tried changing font sizes, but with no effect on width. It only changed size ratio between lines ...


Reply to this

-

 Re: Re: Re: Plasmoid width

 
 by Emdek on: Aug 21 2010
 
Score 50%

I think that it has something to do with always scale contents to fit...
Did you tried changing margins (also negative)?


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Plasmoid width

 
 by koso83 on: Aug 21 2010
 
Score 50%

Just tried changing left/right margins. After that, fonts are larger, but plasmoid width is still the same => I can see only part of time, side parts are "trimmed".


Reply to this

-

 Re: Re: Re: Re: Re: Plasmoid width

 
 by Emdek on: Aug 21 2010
 
Score 50%

Try top and bottom, starting with none.


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: Plasmoid width

 
 by koso83 on: Aug 21 2010
 
Score 50%

I am using margin-top in my custom format, so i have played with it, has no affect on plasmoid width, only displayed text was moving vertically according to actual settings.



-

 Re: Re: Re: Re: Re: Plasmoid width

 
 by Emdek on: Aug 21 2010
 
Score 50%

If that still doesn't help there is one more option, experiment a bit with width / height of main block, maybe it will help.
If not you can try to do some debugging with setting margins to 0 and some background for main block, for example red, to check if applet occupies the same height in both versions.

It's strange, for me default format works fine on panel (KDE 4.5, Qt 4.7):
http://simplest-image-hosting.net/jpg-0-plasma-desktopxh3918


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: Plasmoid width

 
 by koso83 on: Aug 21 2010
 
Score 50%

So finally I resolved it with plasma configuration wipe. After that, it worked. I tried to diff old and new config, but have no idea where was problem. Only differeces in clock configuration were items like geometry, zvalue and order.



-

 Re: Re: Re: Re: Re: Plasmoid width

 
 by Emdek on: Aug 21 2010
 
Score 50%

Yeah, removing Plasma configuration often helps with strange bugs (like applets rearranging themselves and disappearing after each login...)...
Also option to resize applets in panels like spacers could help in this case.


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: Plasmoid width

 
 by koso83 on: Aug 21 2010
 
Score 50%

ok, so now it broke again, so I made some more experiments and finally I can reproduce it :)

Lets say you place new adjus.clk. plasmoid on panel, ant let it's default width is 100px. Now modify format, so that width of plasmoid changes to 50px (remove some values). And now try to return back => set default profile. Result is, that plasmoid width stays at 50px! Even after desktop restart.

Another example. Place plasmoid on panel, and try to make it double width (copy formating values). It also fails to resize and stays at initial dimensions.

and now is question, who is responsible for plasmoid dimensions on panel. Plasmoid itself? Or panel? Or there are interfering some space consuming plasmoids? (in my case only default task manager).



-

 Re: Re: Re: Re: Re: Plasmoid width

 
 by Emdek on: Aug 21 2010
 
Score 50%

Yeah, very good observation. :-)
It happens because scaling is done in context of current applet size and will always make applet to fit in that rectangle so it could become only smaller...
I'll try to fix it soon.

All these factors are responsible.
Every plasmoid can change it's size itself, but usually it sets it only once and then it's size is saved and later only restored. There are also applets with dynamic size, which tries to use all available space (task managers, systray, spacers etc.). All items on panel are managed by layout.

You can read about layouts here:
http://doc.trolltech.com/4.6/layout.html


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Plasmoid width

 
 by Emdek on: Aug 23 2010
 
Score 50%

Should be fixed now, can you confirm if it's working correctly now?

I was thinking also about kind of question box shown when applying format which will ask what to do (scale, resize) if contents size is too big or too small, but that would be annoying. Additional checkbox like in the past is also bad (was removed during review), but current behavior should be enough, maximum space usage in panels and only scaling (with possibility to manually resize) on desktop.


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: Plasmoid width

 
 by koso83 on: Aug 23 2010
 
Score 50%

Thanks, now it works.

And I don't think there is needed any checkbox. One can use html/css parameters to limit plasmoid content dimensions (or I hope it can be done :P) if it is needed.



-

 Re: Re: Re: Re: Re: Plasmoid width

 
 by Emdek on: Aug 23 2010
 
Score 50%

Yeah, they can, but not everybody know that. ;-)


Life is unfair...
Reply to this

-

 Compile in Gentoo fail

 
 by ranmakuo on: Sep 7 2010
 
Score 50%

I got follow error messages in gentoo with KDE 4.4.5.Please help me to find out the problem, thank you so mush.

[100%] Building CXX object applet/CMakeFiles/plasma_applet_adjustableclock.dir/AdjustableClock.o
/var/tmp/portage/kde-misc/plasmoid-adjustableclock-2.6.1/work/adjustableclock-2.6.1/applet/AdjustableClock.cpp: In member function 'void AdjustableClock::selectColor()':
/var/tmp/portage/kde-misc/plasmoid-adjustableclock-2.6.1/work/adjustableclock-2.6.1/applet/AdjustableClock.cpp:533: error: 'class KColorDialog' has no member named 'setAlphaChannelEnabled'
make[2]: *** [applet/CMakeFiles/plasma_applet_adjustableclock.dir/AdjustableClock.o] Error 1
make[1]: *** [applet/CMakeFiles/plasma_applet_adjustableclock.dir/all] Error 2
make: *** [all] Error 2
emake failed


~~ Ranma ~~
Reply to this

-

 Re: Compile in Gentoo fail

 
 by Emdek on: Sep 7 2010
 
Score 50%

Applet was adapted to KDE 4.5 changes already, but you can try to modify it a bit and it should work with 4.4.
First remove that line which causes compilation fail:
/var/tmp/portage/kde-misc/plasmoid-adjustableclock-2.6.1/work/adjustableclock-2.6.1/applet/AdjustableClock.cpp:533
Now it should compile again but configuration dialog might not work (it will show up but saving settings will have no effect), to fix that you might need to revert this change:
http://websvn.kde.org/?view=revision&sortby=date&revision=1101251

Alternatively you can try old package but since it's release there were some more or less important changes:
http://kde-look.org/CONTENT/content-files/92825-adjustableclock-2.2.tar.bz2


Life is unfair...
Reply to this

-

 Re: Re: Compile in Gentoo fail

 
 by ranmakuo on: Sep 7 2010
 
Score 50%

Thank you for your reply. I can compile 2.5 and work in KDE 4.4.5 very well but cannot after version 2.6. Is version 2.6 must run after KDE 4.5?


Reply to this

-

 Re: Re: Re: Compile in Gentoo fail

 
 by Emdek on: Sep 7 2010
 
Score 50%

There are another compilation errors for 2.5?
Qt 4.6 is also required.


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Compile in Gentoo fail

 
 by ranmakuo on: Sep 7 2010
 
Score 50%

No. Version 2.5 has no any compilation error on KDE 4.4.5. By the way, My QT is version 4.6.3.


Reply to this

-

 Re: Re: Re: Re: Re: Compile in Gentoo fail

 
 by Emdek on: Sep 7 2010
 
Score 50%

Sorry, I mean 2.6.
Are there compilation errors or applet misbehaves?


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: Compile in Gentoo fail

 
 by ranmakuo on: Sep 7 2010
 
Score 50%

Yes, version 2.6 has compilation error and the message as shown as follow..

=======================================
Nabiki adjustableclock-2.6 # ./install.sh
-- Found Qt-Version 4.6.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Phonon Version: 4.4.2
-- Found KDE 4.4 include dir: /usr/include
-- Found KDE 4.4 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- <<< Gentoo configuration >>>
Build type
Install path /usr
Compiler flags:
C
C++
Linker flags:
Executable
Module
Shared

CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/kde-misc/plasmoid-adjustableclock-2.6/work/adjustableclock-2.6/build
[ 0%] Built target plasma_applet_adjustableclock_automoc
[ 8%] Building CXX object applet/CMakeFiles/plasma_applet_adjustableclock.dir/AdjustableClock.o
/var/tmp/portage/kde-misc/plasmoid-adjustableclock-2.6/work/adjustableclock-2.6/applet/AdjustableClock.cpp: In member function 'void AdjustableClock::selectColor()':
/var/tmp/portage/kde-misc/plasmoid-adjustableclock-2.6/work/adjustableclock-2.6/applet/AdjustableClock.cpp:533: error: 'class KColorDialog' has no member named 'setAlphaChannelEnabled'
make[2]: *** [applet/CMakeFiles/plasma_applet_adjustableclock.dir/AdjustableClock.o] Error 1
make[1]: *** [applet/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.
=====================================
It looks same as version 2.6.1.



-

 Re: Re: Re: Re: Re: Re: Compile in Gentoo fail

 
 by ranmakuo on: Sep 7 2010
 
Score 50%

Yes, version 2.6 has compilation error and the message as shown as follow..

=======================================
Nabiki adjustableclock-2.6 # ./install.sh
-- Found Qt-Version 4.6.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Phonon Version: 4.4.2
-- Found KDE 4.4 include dir: /usr/include
-- Found KDE 4.4 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- <<< Gentoo configuration >>>
Build type
Install path /usr
Compiler flags:
C
C++
Linker flags:
Executable
Module
Shared

CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/kde-misc/plasmoid-adjustableclock-2.6/work/adjustableclock-2.6/build
[ 0%] Built target plasma_applet_adjustableclock_automoc
[ 8%] Building CXX object applet/CMakeFiles/plasma_applet_adjustableclock.dir/AdjustableClock.o
/var/tmp/portage/kde-misc/plasmoid-adjustableclock-2.6/work/adjustableclock-2.6/applet/AdjustableClock.cpp: In member function 'void AdjustableClock::selectColor()':
/var/tmp/portage/kde-misc/plasmoid-adjustableclock-2.6/work/adjustableclock-2.6/applet/AdjustableClock.cpp:533: error: 'class KColorDialog' has no member named 'setAlphaChannelEnabled'
make[2]: *** [applet/CMakeFiles/plasma_applet_adjustableclock.dir/AdjustableClock.o] Error 1
make[1]: *** [applet/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.
=====================================
It looks same as version 2.6.1.



-

 Re: Re: Re: Re: Re: Re: Compile in Gentoo fail

 
 by ranmakuo on: Sep 7 2010
 
Score 50%

Yes, version 2.6 has compilation error and the message as shown as follow..

=======================================
Nabiki adjustableclock-2.6 # ./install.sh
-- Found Qt-Version 4.6.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Phonon Version: 4.4.2
-- Found KDE 4.4 include dir: /usr/include
-- Found KDE 4.4 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- <<< Gentoo configuration >>>
Build type
Install path /usr
Compiler flags:
C
C++
Linker flags:
Executable
Module
Shared

CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/kde-misc/plasmoid-adjustableclock-2.6/work/adjustableclock-2.6/build
[ 0%] Built target plasma_applet_adjustableclock_automoc
[ 8%] Building CXX object applet/CMakeFiles/plasma_applet_adjustableclock.dir/AdjustableClock.o
/var/tmp/portage/kde-misc/plasmoid-adjustableclock-2.6/work/adjustableclock-2.6/applet/AdjustableClock.cpp: In member function 'void AdjustableClock::selectColor()':
/var/tmp/portage/kde-misc/plasmoid-adjustableclock-2.6/work/adjustableclock-2.6/applet/AdjustableClock.cpp:533: error: 'class KColorDialog' has no member named 'setAlphaChannelEnabled'
make[2]: *** [applet/CMakeFiles/plasma_applet_adjustableclock.dir/AdjustableClock.o] Error 1
make[1]: *** [applet/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.
=====================================
It looks same as version 2.6.1.



-

 Re: Re: Re: Re: Re: Compile in Gentoo fail

 
 by Emdek on: Sep 7 2010
 
Score 50%

I've already wrote that you simply need to remove that line (533 in applet/AdjustableClock.cpp). ;-)


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: Compile in Gentoo fail

 
 by ranmakuo on: Sep 7 2010
 
Score 50%

Remove this line?

====================================
void AdjustableClock::selectColor()
{
KColorDialog colorDialog;
--> colorDialog.setAlphaChannelEnabled(true);



-

 Re: Re: Re: Re: Re: Compile in Gentoo fail

 
 by Emdek on: Sep 7 2010
 
Score 50%

Yes, that line:
[i]colorDialog.setAlphaChannelEnabled(true);/i]


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: Compile in Gentoo fail

 
 by ranmakuo on: Sep 7 2010
 
Score 50%

Thanks, it works and looks has no any problem.



-
.

 background always painted

 
 by janet on: Sep 11 2010
 
Score 50%

Just upgraded to 2.6,1 and now I cannot find the option th NOT paint the background anymore, the whole advanded configuration (tool-tip format, automatically rescale and paint background) is missing. I now have a black clock in a black rectangle instead of a white clock (dbstyle with shadow) with no background. How can I get the transparent background back?


Want Debian Sid with spices? Get sidux at sidux.com - it simply works :)
Reply to this

-

 Re: background always painted

 
 by Emdek on: Sep 11 2010
 
Score 50%

These options were removed during review process (to allow moving to more official KDE sections).
Tool tip format is still available but as hidden option in configuration file (using key toolTipFormat).
Automatic rescale is now always on (compliant with other clock widgets).
And transparent background can be now set by adding CSS rule background:none; to most top level container (it's set to most of default formats now, including default versions of dbClock).


Life is unfair...
Reply to this

-

 Re: Re: background always painted

 
 by janet on: Sep 11 2010
 
Score 50%

Thanks for your answer. But why make it more complicated? Why the user has to dig into CSS when formerly a simple option could be activated? Shouldn't this widget be also for non-geeks, non-programmers and just-users?

BTW: I cannot customize the color of the clock, it is always black and always reverts back to black.


Want Debian Sid with spices? Get sidux at sidux.com - it simply works :)
Reply to this

-

 Re: Re: Re: background always painted

 
 by Emdek on: Sep 11 2010
 
Score 50%

Well, I'm not sure if it's really much more complicated, it's simple CSS rule and as other appearance settings can be now set using markup. I'll add information about this feature to hints section.
Also according to guide applets should use background (only few formats are exception now).
http://community.kde.org/Plasma/PlasmoidGuidelines#What_These_Guidelines_Cover

You mean text color?
Is that default one for your Plasma theme?
Are you setting color using graphical editor or by modifying source directly?
Is it properly shown in graphical editor?
Can you paste somewhere source of that format and link here?


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: background always painted

 
 by janet on: Sep 11 2010
 
Score 50%

Plasma Theme color is white. I don't use any CSS - I just clicked on the black spot with the color, it changed to white and after saving back to black.

And believe me: it IS much more complicated. I know a lot of people whom you won't get to enter any CSS to configure something. They (and I) want to click at an option and there it is. No config files, no CSS code. That's fine vor advanced users who like to tweak everything to the highest point but it should also offer a simple way. Will tell my friends to stay with 2.2 for not to confuse them.


Want Debian Sid with spices? Get sidux at sidux.com - it simply works :)
Reply to this

-

 Re: Re: Re: Re: Re: background always painted

 
 by Emdek on: Sep 11 2010
 
Score 50%

Could you paste somewhere source code of that format (for example here: http://pastebin.ca/)? This will greatly help in checking what's going on.

I really do not recommend doing so, there were many important improvements, especially important for users using graphical editor which is now much more reliable.
For sure there is no chance that this option could return in it's previous form, as additional check box. The only possible way which I can think about now it to add kind of switch button to graphical editor that would add or remove needed code (yes, it would still remain as CSS rule, but could be toggled using GUI). But this is only idea and I can't guarantee that it will be done (I don't have too much free time recently and I'm not sure if it's doable in at least clean way).


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: background always painted

 
 by janet on: Sep 13 2010
 
Score 50%

If you could add that background option for the graphical editor that would be great!

Changing the color does work now. I had a bad plasma crash and couldn't log into KDE anymore after that, so I deleted the whole kdecache - and now it's ok...


Want Debian Sid with spices? Get AptoSid at aptosid.com - it simply works :)

-

 Re: Re: Re: Re: Re: background always painted

 
 by Emdek on: Sep 13 2010
 
Score 50%

Unfortunately clearing is the best way to get rid of strange issues that rarely but happens with Plasma...


Life is unfair...
Reply to this

-
.

 how to disable tooltip?

 
 by janet on: Jan 2 2011
 
Score 50%

I love the clock more and more :). But when I use the clock on the desktop the tooltip always gets in my way - and now has come the time that it really is getting on my nerves. Is there a way to disable it?


Want Debian Sid with spices? Get aptosid at aptosid.com - it simply works :)
Reply to this

-

 Re: how to disable tooltip?

 
 by Emdek on: Jan 4 2011
 
Score 50%

Try setting toolTipFormat option to empty string (how to do this is described in Tips section).


Life is unfair...
Reply to this

-

 Re: Re: how to disable tooltip?

 
 by janet on: Jan 5 2011
 
Score 50%

Thanks for your answer. Alas that doesn't change anything, the tooltip still appears. It just has cleared my special tooltip settings and got back to default tooltip content.

BTW: Why the tooltip content isn't adjustable via the settings gui anymore? Same as with the background. As it is now it's too complicated for Joe Average User.


Want Debian Sid with spices? Get aptosid at aptosid.com - it simply works :)
Reply to this

-

 Re: Re: Re: how to disable tooltip?

 
 by Emdek on: Jan 5 2011
 
Score 50%

It looks like that this one:
http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKConfigGroup.html#adccf3856e5efe5b93296cb5a749ad793
ignores keys with empty values from settings file. :-/
I'll try to workaround that in next days.

As far as I remember I've already explained why these options were removed. ;-)
It was done during review phase (started 15 months ago, but apparently somebody forgotten to make decision where it should be moved and it's still stuck in purgatory... I mean kdereview :-/), it was required to move it in some better place...


Life is unfair...
Reply to this

-

 nice plasmoid

 
 by maidis on: Feb 3 2011
 
Score 50%

a vista like calender would be nice :) unfortunately i'm not good at html.


http://www.tutorialguide.net/images/adobe_photoshop/0054/001.jpg
http://anilozbek.blogspot.com/2010/04/saatli-maarif-takvimi-programcg.html
http://i.imgur.com/0XyiY.png
http://pastebin.com/FnGNPfii


Reply to this

-

 Re: nice plasmoid

 
 by Emdek on: Feb 3 2011
 
Score 50%

Try this:

<div style="background:none;">
<pre style="background:-webkit-gradient(linear, left top, left bottom, from(#E5702B), to(#A33B03));border-radius:15px;text-align:center;color:white;font-weight:bold;font-size:30px;padding:30px 10px;font-family:sans serif;box-shadow: 5px 5px 5px #888;">
%A
<span style="font-size:120px;">%n</span>
<spn style="font-size:35px;">%B %Y</span>
</pre>
</div>


There should be shadow for main box but it seems to not work with Qt WebKit, at least on my PC without compositing (probably Intel break drivers recently...).


Life is unfair...
Reply to this

-

 Re: Re: nice plasmoid

 
 by maidis on: Feb 3 2011
 
Score 50%

Thanks :)

Is there any way to have 1:1 aspect ratio?


Reply to this

-

 Re: Re: Re: nice plasmoid

 
 by Emdek on: Feb 3 2011
 
Score 50%

Try this:

<div style="background:none;width:300px;height:300px;;">
<pre style="background:-webkit-gradient(linear, left top, left bottom, from(#E5702B), to(#A33B03));border-radius:20px;text-align:center;color:white;font-weight:bold;font-size:30px;padding:30px 10px;font-family:sans serif;box-shadow: 5px 5px 5px #888;opacity:0.7;">
%A
<span style="font-size:120px;">%n</span>
<spn style="font-size:35px;">%B %Y</span>
</pre>
</div>


It's also possible to have that top part if someone will do needed graphics (could be embedded into CSS and repeated as background of layer positioned on top) or maybe simple blocks with gradient will be enough.
I'll think about adding this one as one of default formats (maybe slightly modified, bo have something more original).


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: nice plasmoid

 
 by maidis on: Feb 3 2011
 
Score 50%

\o/ great news :)

I wrote %m (%n) mistakenly at my first comment. It has to be %e.


Reply to this

-

 Re: Re: Re: Re: Re: nice plasmoid

 
 by Emdek on: Feb 3 2011
 
Score 63%

Try this:

<div style="background:none;width:300px;height:300px;">
<div style="background:-webkit-gradient(linear, left top, left bottom, from(#E5702B), to(#A33B03));border-radius:20px;text-align:center;color:white;font-weight:bold;font-size:30px;padding:30px 20px 20px 20px;margin:30px 0 0 0;box-shadow: 5px 5px 5px #888;opacity:0.7;position:relative;">
%A<br />
<span style="font-size:130px;line-height:140px;">%e</span><br />
<span style="font-size:35px;">%B %Y</span>
<div style="position:absolute;top:-30px;left:-10px;width:310px;height:60px;padding:10px 20px;">
<div style="width:13px;height:40px;background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #757575), color-stop(0.5, #F7F7F7), color-stop(1, #757575));border:1px solid #999;margin:0 16px;float:left;"></div>
<div style="width:13px;height:40px;background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #757575), color-stop(0.5, #F7F7F7), color-stop(1, #757575));border:1px solid #999;margin:0 16px;float:left;"></div>
<div style="width:13px;height:40px;background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #757575), color-stop(0.5, #F7F7F7), color-stop(1, #757575));border:1px solid #999;margin:0 16px;float:left;"></div>
<div style="width:13px;height:40px;background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #757575), color-stop(0.5, #F7F7F7), color-stop(1, #757575));border:1px solid #999;margin:0 16px;float:left;"></div>
<div style="width:13px;height:40px;background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #757575), color-stop(0.5, #F7F7F7), color-stop(1, #757575));border:1px solid #999;margin:0 16px;float:left;"></div>
<div style="width:13px;height:40px;background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #757575), color-stop(0.5, #F7F7F7), color-stop(1, #757575));border:1px solid #999;margin:0 16px;float:left;"></div>
</div>
</div>
</div>


With shadows it would look nicer...
Maybe I'll later try with repeated image etc.


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: Re: Re: nice plasmoid

 
 by maidis on: Feb 3 2011
 
Score 50%

A very short review about Adjustable Clock :)
http://anilozbek.blogspot.com/2011/02/harika-programck-adjustable-clock.html [in Turkish]



-

 Re: Re: Re: Re: Re: nice plasmoid

 
 by Emdek on: Feb 3 2011
 
Score 50%

Thanks. :-)
Google translate is my friend, however it often gives funny results or can't translate some words but it's improving (I'm using it to validate own comments and I see it's progress). ;-)


Life is unfair...
Reply to this

-
.

 not resizable anymore

 
 by janet on: Mar 13 2011
 
Score 50%

I use KDE 4.5.4 and the 2.6.1 version of your clock, in dbclock style with reflection, sitting huge on the desktop. Now I upgraded some packages, rebooted - and suddenly the clock on the desktop is in tiny default size and with default font and is not adjustable in size anymore.

I can still configure style, font and color - but I cannot drag it to another size anymore!

It didn't help to remove the widget from desktop and to re-add and reconfigure it.

The packages that were updated are listed here: http://pastebin.com/a0T4zuY7

Can you identify the culprit?
And how do I get back the flexible size?


Want Debian Sid with spices? Get aptosid at aptosid.com - it simply works :)
Reply to this

-

 Re: not resizable anymore

 
 by Emdek on: Mar 13 2011
 
Score 50%

Are you able to resize other applets?
Or maybe applet handle moves as if it was resized?
If both are true then it might be broken scaling (for example WebKit ignoring requested value).
You can also try to add it to panel, then resize that panel and check if scaling works (preferably using fresh user account).

There are very slight chances that recompiling (after updating Qt) might help, but it shouldn't be required...


Life is unfair...
Reply to this

-

 Re: Re: not resizable anymore

 
 by janet on: Mar 22 2011
 
Score 50%

All other applets are resizable. And I have to correct myself, your clock is resizable too.

But only the widget area increases when I drag the handle, the font size always stays the same. I have also tested it with a fresh user. I can increase the font size in the settings, then it stays in that size. After that I also have to manually resize the widget because it's size does not automatically adjust to the bigger font.

It's the automatic size adjustment (of the font & of the widget) that is gone.


Want Debian Sid with spices? Get aptosid at aptosid.com - it simply works :)
Reply to this

-

 Re: Re: Re: not resizable anymore

 
 by Emdek on: Mar 22 2011
 
Score 50%

There are probably only two possibilities:
1. Qt WebKit is ignoring scaling requests (you can check if zooming works in Arora / rekonq / other Qt WebKit based browser or application).
2. Wrong applet size is send and algorithm that calculates zoom always returns 1 (much less possible).


Life is unfair...
Reply to this

-

 Re: Re: Re: Re: not resizable anymore

 
 by janet on: Mar 27 2011
 
Score 50%

Zooming works in Arora...


Want Debian Sid with spices? Get aptosid at aptosid.com - it simply works :)
Reply to this

-

 Re: Re: Re: Re: Re: not resizable anymore

 
 by Emdek on: Mar 27 2011
 
Score 50%

This is weird then, for now I don't have no idea how to workaround that, hopefully that's only something weird in current distribution packages and maybe it will resolve itself after next upgrade...
For now I can only suggest to set values to fit or more easily, use CSS transforms to scale contents (similar to method used by applet but requires manual setting of zoom factor), you can use information from this site as an example:
http://cat-in-136.blogspot.com/2010/09/unofficial-css-property-zoom.html

If this doesn't help then I can prepare code with some debug information (applet size, zoom factor etc.) but it will require source recompiling and will take some time (I'm a bit busy recently...).


Life is unfair...
Reply to this

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

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.