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)

sakya 2011-07-23 09:50

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

Originally Posted by Hurrian (Post 1056677)
BUGS: Can't put a rectangle under the mediaplayer controls, hence the extended rectangle.

What's the problem? I'll test this but it should work by adding a rectangle widget and then the media player button over it.
Is the same thing with the extended rectangle.

Add a rectangle in the list (remember to update the Size of the list):
Code:

Widgets\16\Name="Rect.ChooseAName"
Widgets\Size=16

and then define it:
Code:

[ChooseAName]
SizeL="50;50"
PosL="100;200"
SizeP="50;50"
PosP="100;200"
Radius=0
Color="0;0;0;150"

Widgets are drawn in the order you create them: the last is the topmost.

Quote:

Sakya, care to share the PNGs used for the battery etc, so that I can blank them and put in the ones from my lockscreen mockups?
You should be able to use your own images (I din't try yet, people say it's not woriking but give it a try). :)

Code:

[Battery]
Images=":/images/battery_0.png;:/images/battery_1.png;:/images/battery_2.png;:/images/battery_3.png;:/images/battery_4.png;:/images/battery_5.png;:/images/battery_6.png"
PosL="700;15"
PosP="380;15"
PercentageFont=";8;normal;0"
PercentageColor="255;255;255;255"

try to change the
Code:

Images=":/images/battery_0.png;:/images/battery_1.png;:/images/battery_2.png;:/images/battery_3.png;:/images/battery_4.png;:/images/battery_5.png;:/images/battery_6.png"
with a list of images (they don't have to be 6, you can use the number of images you want) like this:
Code:

Images="/home/user/lockscreen/battery_0.png;/home/user/lockscreen/battery_1.png;/home/user/lockscreen/battery_2.png;/home/user/lockscreen/battery_3.png;/home/user/lockscreen/battery_4.png;/home/user/lockscreen/battery_5.png;/home/user/lockscreen/battery_6.png"
I forgot to include a "charging" icon, I'll add a separate setting for it.

Btw the original images can be found in the svn:
http://www.assembla.com/code/qtlocks...s/trunk/images

Hurrian 2011-07-23 09:55

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

Originally Posted by sakya (Post 1056686)
Widgets are drawn in the order you create them: the last is the topmost.

Oh, no wonder it didn't work.

On a side note, requesting am/pm support.

Anyways, the goods:
http://goput.it/hz6.png

rishabsp 2011-07-23 09:56

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
could anyone give me the link to download .png in both L and P

MaikEF 2011-07-23 09:57

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

Originally Posted by sakya (Post 1056686)
...
Btw the original images can be found in the svn:
http://www.assembla.com/code/qtlocks...s/trunk/images

Can you tell us the path on the N900?

sakya 2011-07-23 09:58

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

Originally Posted by Hurrian (Post 1056689)
Oh, no wonder it didn't work.

I forgot to mention this "detail". :)
I added it to the default configuration file, I'll update the first post.

Quote:

On a side note, requesting am/pm support.
http://talk.maemo.org/showpost.php?p...0&postcount=31

Nice layout. :)
The timeLabel seems clipped, try to change its size.

@MaikEF: they are in Qt resource (embedded in the binary), thus the path strating with ":/"

qw3rty 2011-07-23 10:23

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

Originally Posted by kishanW (Post 1056621)
How did you take a screenshot like this? I have no clue on how to do this.

Slide out the keyboard just enough to hit ctrl+shift+P, but not completely out so it doesn't unlock.

Sakya, is it possible to change the amount of time the lockscreen stays up? I'm liking it so much I get disappointed when it goes dark :D

MaikEF 2011-07-23 10:31

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
canīt change battery percentage font color.
have tried:
PercentageFontSize=8
PercentageColor="0;0;0;255" and
PercentageFontSize=8
PercentageColor="0;0;0;0"
but it isnīt black :mad:

sakya 2011-07-23 10:32

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

Originally Posted by MaikEF (Post 1056722)
canīt change battery percentage font color.
have tried:
PercentageFontSize=8
PercentageColor="0;0;0;255" and
PercentageFontSize=8
PercentageColor="0;0;0;0"
but it isnīt black :mad:

I know, I forgot to read that setting. :)
With the next update it will be fixed.

Hurrian 2011-07-23 10:36

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
...And the mockup finally comes to life!
Time to work on the icons.
And getting 12-hour support.

http://goput.it/4w5.png

MaikEF 2011-07-23 10:46

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

Originally Posted by Hurrian (Post 1056727)
...And the mockup finally comes to life!
Time to work on the icons.
And getting 12-hour support.

http://goput.it/4w5.png

can you share your config?
find your date/time- and mediaplayerbuttons-layout very nice.


All times are GMT. The time now is 18:21.

vBulletin® Version 3.8.8