View Single Post
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#121
Originally Posted by Hurrian View Post
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.

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
 

The Following 2 Users Say Thank You to sakya For This Useful Post: