View Single Post
nokiaqueen's Avatar
Posts: 163 | Thanked: 38 times | Joined on Apr 2010
#322
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"
ok when I lock the screen by pressing the power button twice, upon unlock I see the default slider lock screen, and when I press the power button once and form the options select to lock screen and keys, I see sakya lock screen (but with black background, and not with the background image I chose)

so i have both lockscreens working currently on my phone
Attached Images
  

Last edited by nokiaqueen; 2011-07-27 at 16:01.