maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] QtLockscreen: highly configurable lockscreen replacement (https://talk.maemo.org/showthread.php?t=75150)

Harick 2011-08-23 14:12

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
hey sakya, thanx for fixing the stuck issue and adding the sliderpressedimage, both works flawlessly

now i have 1 bug (it was in 1.9 too). when i lock in landscape, rotate works without problem, but when lock in protrait, rotation doesn't work, it stuck in portrait

and i have a request, i wish it was possible, for the weather widget, to hide somehow the weather icon. and if is possible, to add the current weather description (like "mostly cloudy" or "sunny"etc). i want to do something like "28ºC - mostly cloudy" just like that, without icon

that's all for now, thanx again

trisha02 2011-08-23 17:11

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Quote:

Originally Posted by Harick (Post 1075289)
hey sakya, thanx for fixing the stuck issue and adding the sliderpressedimage, both works flawlessly

now i have 1 bug (it was in 1.9 too). when i lock in landscape, rotate works without problem, but when lock in protrait, rotation doesn't work, it stuck in portrait

and i have a request, i wish it was possible, for the weather widget, to hide somehow the weather icon. and if is possible, to add the current weather description (like "mostly cloudy" or "sunny"etc). i want to do something like "28ºC - mostly cloudy" just like that, without icon

that's all for now, thanx again

facing the same problem

sakya 2011-08-23 20:04

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Updated to version 0.1.11

Changelog:
* Added ShowImage (to show/hide the forecast image), ConditionsText, ConditionsPos, ConditionsFont, ConditionsColor (for the current conditions text) settings to weather widget
* Added setting to turn on/off antialiasing (was on by default in previous versions)
* Added PercentageType setting to BatteryWidget (can be "default", "bq27200" or "dr_frost_dk")
* Fixed dateTime day and month display when Locale setting is set
* Fixed alignment settings, now you can set horizontal alignment and vertical alignment:
Example (horizontally centered and top aligned):
Alignment="center;top"

I started to code a utility to set the active theme (I don't know when I'll release it).
The utility generates the screenshots using QtLockscreen, and save them to /home/user/.config/sakya/qtlscreenshot, so there's no need to include screenshots in the themes.
The screenshots will display all possible widgets (sms, missed call, also the weather if you're connected to the internet when generating the screenshots).

Here's a screenshot:
http://s1.postimage.org/1x1eaeex0/Sc...823_210819.jpg

Themes will be read from /opt/qtlockscreen
A theme should be composed by:
-The configuration file (name it themeName.ini) in /opt/qtlockscreen
-A directory containing the images (name it /opt/qtlockscreen/themeName)
-Fonts (if needed) to be installed in /usr/share/fonts

To all theme makers: please set the ThemeName and ThemeAuthor in your themes
Code:

ThemeName="Default"
ThemeAuthor="sakya"

and follow these schema for your themes, so when the utility will be released the themes will be in the correct place.

It is possible to make deb files to install themes in /opt/qtlockscreen and then set it as the active one with the configuration utility.

don_falcone 2011-08-23 20:36

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Special "thank you" for the alignment update! :D

Btw: as we already have the rendering code, would it be possible to start this in "Designer" mode? So to actually see all widgets, specially those for notifications, drawn? Or, as a separate executable.

sakya 2011-08-23 20:39

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Quote:

Originally Posted by don_falcone (Post 1075464)
Special "thank you" for the alignment update! :D

Please note that "TextAlignment" for notification works as before (it should be named TextPosition but all themes out now uses TextAlignment, so...).
DateTime and text widget uses the "new" alignment horizontal+vertical

"Designer mode" is there. It displays all widgets (notification, wifi, ...)
Code:

/usr/bin/qtlockscreen -d
To test a specific configuration file use:
Code:

/usr/bin/qtlockscreen -d -c "path to config file"
To take a screenshot use:
Code:

/usr/bin/qtlockscreen -c "path to config file" -s "path to image to be saved"
The application exits when you unlock it using the slidetounlock or unlock button.

don_falcone 2011-08-23 20:45

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Cool! That's the way... I've updated the wiki accordingly.

PS.: some existing Themes are a mess anyway ;)

zurrain101 2011-08-23 21:20

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
can someone please tell me why it is laggy? like for example if i unlock my phone using the slide unlock instead of the power button, sometimes qtlockscreen shows up for 2 seconds n then phone gets unlocked

Harick 2011-08-24 01:18

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Quote:

Originally Posted by sakya (Post 1075449)
Updated to version 0.1.11

Changelog:
* Added ShowImage (to show/hide the forecast image), ConditionsText, ConditionsPos, ConditionsFont, ConditionsColor (for the current conditions text) settings to weather widget

[...]

hi sakya, thanx for the Showimage and the conditions, but it seems that conditions does not retrieve anything

i tried with /usr/bini/qtlockscreen -d and as result i got something like this

Code:

[...]
Weather widget command output : "Current: 13
Conditions:
High: 13
Low: 9
Image: /tmp/ywtemp.png
"
[...]

can anyone confirm this?

sakya 2011-08-24 07:23

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Quote:

Originally Posted by Harick (Post 1075567)
hi sakya, thanx for the Showimage and the conditions, but it seems that conditions does not retrieve anything

Mine seems to work, try to execute the script:
Code:

/opt/qtlockscreen/weatherwidget.sh

TMavica 2011-08-24 08:06

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
what is antialiasing??


All times are GMT. The time now is 07:30.

vBulletin® Version 3.8.8