|
2011-07-27
, 15:29
|
|
Posts: 163 |
Thanked: 38 times |
Joined on Apr 2010
|
#322
|
[Main] #This is the configuration file for QtLockscreen. #Here you can customize the look of the lockscreen. # #Some notes on settings: # -Fonts: to set a font use a string composed with: # "fontName;fontSize;fontWeight;italic" # If fontName is empty it will be used the default system font. # For italic use 1 to enable it. # For fontWeight use one of the following value: light, normal, demibold, bold, black # Example: # Font=";14;normal;0" # # -Colors: to specify a color use R;G;B;A notation. # Example: # Color="255;255;255;255" # # -Position: you can set different position for portrait and landscape. # PosL is the position in landscape # PosP is the position in portrait # For position you can use the special value: left, center, right, top, bottom # # -Size: : you can set different size for portrait and landscape. # SizeL is the size in landscape # SizeP is the size in portrait #Orientation: auto, landscape, portrait Orientation="auto" #Path to background image for Portrait (P) and Landscape (L) BackGroundImageP="/etc/hildon/theme/backgrounds/lockslider1-1.png" BackGroundImageL="/etc/hildon/theme/backgrounds/lockslider-1.png" #List of widgets. # Name is composed by WidgetType.WidgetName # The WidgetName must be unique. # Please respect the numeric order, don't leave "holes" in the list and set a correct Size. # If you add/remove widget remember to update the Size at the end of the list. # Widgets are drawn using this order: the higher number is the topmost widget Widgets\1\Name="Rect.Rect_Bottom" Widgets\2\Name="Rect.Rect_Top" Widgets\3\Name="DateTime.DateTime" Widgets\4\Name="Battery.Battery" Widgets\5\Name="UnlockButton.UnlockButton" Widgets\6\Name="MediaPlayPauseButton.PlayPauseButton" Widgets\7\Name="MediaNextButton.NextButton" Widgets\8\Name="MediaBackButton.BackButton" Widgets\9\Name="MediaMetadata.Metadata" Widgets\10\Name="MediaAlbumArt.AlbumArt" Widgets\11\Name="Rect.TimeLabelBackground" Widgets\12\Name="MediaTimeLabel.TimeLabel" Widgets\13\Name="Notification.MissedCalls" Widgets\14\Name="Notification.UnreadSMS" Widgets\15\Name="Notification.UnreadEmails" Widgets\16\Name="Notification.NewIM" Widgets\Size=16 #Widgets # The [Name] must match the WidgetName defined in the Widgets list [DateTime] Alignment="center" PosL="center;0" PosP="center;0" SizeL="200;80" DateFont=";12;normal;0" DateColor="255;255;255;255" TimeFont=";30;normal;0" TimeColor="255;255;255;255" TimeFormat="hh:mm" DateFormat="dddd dd/MM/yyyy" [Rect_Bottom] SizeL="800;70" PosL="0;410" SizeP="480;70" PosP="0;730" Radius=0 Color="0;0;0;150" [Rect_Top] SizeL="800;80" PosL="0;0" SizeP="480;80" PosP="0;0" Radius=0 Color="0;0;0;150" [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" ChargingImage=":/images/battery_charging.png" PosL="700;15" PosP="380;15" PercentageFont=";8;normal;0" PercentageColor="255;255;255;255" [UnlockButton] WaitTimeMsec=800 BackGroundImage=":/images/unlock.png" BackGroundImagePressed=":/images/unlockPressed.png" PosL="center;410" PosP="center;730" [PlayPauseButton] BackGroundImagePause=":/images/pause.png" BackGroundImagePausePressed=":/images/pausePressed.png" BackGroundImagePlay=":/images/play.png" BackGroundImagePlayPressed=":/images/playPressed.png" PosL="210;160" PosP="210;160" [NextButton] BackGroundImage=":/images/forward.png" BackGroundImagePressed=":/images/forwardPressed.png" PosL="280;160" PosP="280;160" [BackButton] BackGroundImage=":/images/back.png" BackGroundImagePressed=":/images/backPressed.png" PosL="140;160" PosP="140;160" [Metadata] TitleFont=";20;normal;0" TitleColor="255;255;255;255" ArtistFont=";14;normal;0" ArtistColor="255;255;255;255" Alignment="left" SizeL="400;100" PosL="140;90" [AlbumArt] SizeL="120;120" PosL="5;90" [TimeLabelBackground] PosL="5;190" SizeL="50;20" Color="0;0;0;150" Radius=0 [TimeLabel] PosL="5;190" SizeL="50;20" Font=";10;normal;0" Color="255;255;255;255" [MissedCalls] Icon=":/images/call.png" PosL="224;250" PosP="center;360" SizeL="160;100" Type="call" Font=";14;normal;0" Color="255;255;255;255" [UnreadSMS] Icon=":/images/message.png" PosL="32;250" PosP="left;360" SizeL="160;100" Type="sms" Font=";14;normal;0" Color="255;255;255;255" [UnreadEmails] Icon=":/images/email.png" PosL="416;250" PosP="right;360" SizeL="160;100" Type="email" Font=";14;normal;0" Color="255;255;255;255" [NewIM] Icon=":/images/message.png" PosL="608;250" PosP="center;460" SizeL="160;100" Type="im" Font=";14;normal;0" Color="255;255;255;255"
|
2011-07-27
, 15:55
|
|
Posts: 127 |
Thanked: 49 times |
Joined on Nov 2010
@ Ipswich, Uk
|
#323
|
ok I'm having issues...when I installed the app it ran fine but now that I'm trying to change the background it just won't work
Code:[Main] #This is the configuration file for QtLockscreen. #Here you can customize the look of the lockscreen. # #Some notes on settings: # -Fonts: to set a font use a string composed with: # "fontName;fontSize;fontWeight;italic" # If fontName is empty it will be used the default system font. # For italic use 1 to enable it. # For fontWeight use one of the following value: light, normal, demibold, bold, black # Example: # Font=";14;normal;0" # # -Colors: to specify a color use R;G;B;A notation. # Example: # Color="255;255;255;255" # # -Position: you can set different position for portrait and landscape. # PosL is the position in landscape # PosP is the position in portrait # For position you can use the special value: left, center, right, top, bottom # # -Size: : you can set different size for portrait and landscape. # SizeL is the size in landscape # SizeP is the size in portrait #Orientation: auto, landscape, portrait Orientation="auto" #Path to background image for Portrait (P) and Landscape (L) BackGroundImageP="/etc/hildon/theme/backgrounds/lockslider1-1.png" BackGroundImageL="/etc/hildon/theme/backgrounds/lockslider-1.png" #List of widgets. # Name is composed by WidgetType.WidgetName # The WidgetName must be unique. # Please respect the numeric order, don't leave "holes" in the list and set a correct Size. # If you add/remove widget remember to update the Size at the end of the list. # Widgets are drawn using this order: the higher number is the topmost widget Widgets\1\Name="Rect.Rect_Bottom" Widgets\2\Name="Rect.Rect_Top" Widgets\3\Name="DateTime.DateTime" Widgets\4\Name="Battery.Battery" Widgets\5\Name="UnlockButton.UnlockButton" Widgets\6\Name="MediaPlayPauseButton.PlayPauseButton" Widgets\7\Name="MediaNextButton.NextButton" Widgets\8\Name="MediaBackButton.BackButton" Widgets\9\Name="MediaMetadata.Metadata" Widgets\10\Name="MediaAlbumArt.AlbumArt" Widgets\11\Name="Rect.TimeLabelBackground" Widgets\12\Name="MediaTimeLabel.TimeLabel" Widgets\13\Name="Notification.MissedCalls" Widgets\14\Name="Notification.UnreadSMS" Widgets\15\Name="Notification.UnreadEmails" Widgets\16\Name="Notification.NewIM" Widgets\Size=16 #Widgets # The [Name] must match the WidgetName defined in the Widgets list [DateTime] Alignment="center" PosL="center;0" PosP="center;0" SizeL="200;80" DateFont=";12;normal;0" DateColor="255;255;255;255" TimeFont=";30;normal;0" TimeColor="255;255;255;255" TimeFormat="hh:mm" DateFormat="dddd dd/MM/yyyy" [Rect_Bottom] SizeL="800;70" PosL="0;410" SizeP="480;70" PosP="0;730" Radius=0 Color="0;0;0;150" [Rect_Top] SizeL="800;80" PosL="0;0" SizeP="480;80" PosP="0;0" Radius=0 Color="0;0;0;150" [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" ChargingImage=":/images/battery_charging.png" PosL="700;15" PosP="380;15" PercentageFont=";8;normal;0" PercentageColor="255;255;255;255" [UnlockButton] WaitTimeMsec=800 BackGroundImage=":/images/unlock.png" BackGroundImagePressed=":/images/unlockPressed.png" PosL="center;410" PosP="center;730" [PlayPauseButton] BackGroundImagePause=":/images/pause.png" BackGroundImagePausePressed=":/images/pausePressed.png" BackGroundImagePlay=":/images/play.png" BackGroundImagePlayPressed=":/images/playPressed.png" PosL="210;160" PosP="210;160" [NextButton] BackGroundImage=":/images/forward.png" BackGroundImagePressed=":/images/forwardPressed.png" PosL="280;160" PosP="280;160" [BackButton] BackGroundImage=":/images/back.png" BackGroundImagePressed=":/images/backPressed.png" PosL="140;160" PosP="140;160" [Metadata] TitleFont=";20;normal;0" TitleColor="255;255;255;255" ArtistFont=";14;normal;0" ArtistColor="255;255;255;255" Alignment="left" SizeL="400;100" PosL="140;90" [AlbumArt] SizeL="120;120" PosL="5;90" [TimeLabelBackground] PosL="5;190" SizeL="50;20" Color="0;0;0;150" Radius=0 [TimeLabel] PosL="5;190" SizeL="50;20" Font=";10;normal;0" Color="255;255;255;255" [MissedCalls] Icon=":/images/call.png" PosL="224;250" PosP="center;360" SizeL="160;100" Type="call" Font=";14;normal;0" Color="255;255;255;255" [UnreadSMS] Icon=":/images/message.png" PosL="32;250" PosP="left;360" SizeL="160;100" Type="sms" Font=";14;normal;0" Color="255;255;255;255" [UnreadEmails] Icon=":/images/email.png" PosL="416;250" PosP="right;360" SizeL="160;100" Type="email" Font=";14;normal;0" Color="255;255;255;255" [NewIM] Icon=":/images/message.png" PosL="608;250" PosP="center;460" SizeL="160;100" Type="im" Font=";14;normal;0" Color="255;255;255;255"
|
2011-07-27
, 16:42
|
|
Posts: 163 |
Thanked: 38 times |
Joined on Apr 2010
|
#324
|
Dont think youve done anything wrong but what I had to do was the image i imported were jpg and Im assuming that yours are jpg too? and so what i did was at the end of the line were it finishes png" lose the little " and type .jpg" then see how you go.
Loz.
|
2011-07-27
, 16:54
|
|
Posts: 127 |
Thanked: 49 times |
Joined on Nov 2010
@ Ipswich, Uk
|
#325
|
my images are .png so changing it to .jpg won't work.
i tried adding .jpg images into it as well but still i'm getting same black background.
The Following User Says Thank You to Loz For This Useful Post: | ||
|
2011-07-27
, 20:26
|
Posts: 270 |
Thanked: 45 times |
Joined on May 2010
@ UK
|
#326
|
my images are .png so changing it to .jpg won't work.
i tried adding .jpg images into it as well but still i'm getting same black background.
The Following 2 Users Say Thank You to romiiio For This Useful Post: | ||
|
2011-07-27
, 21:09
|
|
Posts: 163 |
Thanked: 38 times |
Joined on Apr 2010
|
#327
|
|
2011-07-27
, 21:33
|
Posts: 270 |
Thanked: 45 times |
Joined on May 2010
@ UK
|
#328
|
The Following 2 Users Say Thank You to romiiio For This Useful Post: | ||
|
2011-07-28
, 07:38
|
Posts: 52 |
Thanked: 42 times |
Joined on Jan 2010
@ Bulgaria
|
#329
|
|
2011-07-28
, 08:15
|
|
Posts: 533 |
Thanked: 1,341 times |
Joined on Dec 2010
@ Italy
|
#330
|
Every hero becomes a bore at last.
www.itechiapk.com