clouseau/src/bin/gui

596 lines
14 KiB
Plaintext

{
"JSON_Version":"1",
"Settings":
{
"project":"gui",
"start_points":["main_win"]
},
"Resources":
{
"Images":
{
"SCREENSHOT_ICON":"../../data/images/show-screenshot.png"
},
"Eo_Callbacks":
{
"profile_close":"_profile_win_close_cb",
"new_profile_save":"_new_profile_save_cb",
"new_profile_cancel":"_new_profile_cancel_cb",
"profile_del":"_profile_del_cb",
"screenshot_request":"screenshot_req_cb"
}
},
"Widgets":
{
"main_win":
{
"Desc":
{
"parent":null,
"class":"Elm.Win",
"public":true
},
"Properties":
{
"Elm.Win.type":["ELM_WIN_BASIC"],
"Elm.Widget.part_text":[null, "Window"],
"Elm.Win.autodel":[true],
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[478, 484]
},
"Contains":["elm_bg1", "elm_box1"]
},
"elm_bg1":
{
"Desc":
{
"parent":"main_win",
"class":"Elm.Bg"
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.position":[0, 0]
}
},
"elm_box1":
{
"Desc":
{
"parent":"main_win",
"class":"Elm.Box"
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[643, 598],
"Efl.Gfx.Base.position":[-7, -2],
"Elm.Box.padding":[0, 0],
"Elm.Box.align":[0, 0]
},
"Contains":["apps_selector", "elm_panes1"]
},
"apps_selector":
{
"Desc":
{
"parent":"elm_box1",
"class":"Elm.Hoversel",
"public":true
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 0],
"Evas.Object.size_hint_align":[0.50, 0],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[1174, 643],
"Efl.Gfx.Base.position":[-8, -2],
"Elm.Widget.part_text":[null, "Select App"]
}
},
"elm_panes1":
{
"Desc":
{
"parent":"elm_box1",
"class":"Elm.Panes"
},
"Properties":
{
"Elm.Panes.content_right_size":[0.60],
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.size":[75, 75],
"Efl.Gfx.Base.visible":[true],
"Evas.Object.size_hint_weight":[1, 1],
"Evas.Object.size_hint_align":[-1, -1]
},
"Contains":
{
"objects_list":["left"],
"object_infos_list":["right"]
}
},
"object_infos_list":
{
"Desc":
{
"parent":"elm_panes1",
"class":"Elm.Genlist",
"public":true
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true]
}
},
"objects_list":
{
"Desc":
{
"parent":"elm_panes1",
"class":"Elm.Genlist",
"public":true
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true]
}
},
"profiles_win":
{
"Desc":
{
"parent":null,
"class":"Elm.Win",
"public":true
},
"Properties":
{
"Elm.Win.name":["Win"],
"Elm.Win.type":["ELM_WIN_BASIC"],
"Elm.Win.autodel":[true],
"Elm.Widget.part_text":[null, "Window"],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[347, 362],
"Evas.Object.size_hint_weight":[1, 1],
"Evas.Object.freeze_events":[false],
"Evas.Object.repeat_events":[false],
"Elm.Win.title":["Profiles"]
},
"Contains":["elm_bg2", "elm_box2"]
},
"elm_bg2":
{
"Desc":
{
"parent":"profiles_win",
"class":"Elm.Bg"
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true]
}
},
"elm_box2":
{
"Desc":
{
"parent":"profiles_win",
"class":"Elm.Box"
},
"Properties":
{
"Elm.Box.padding":[7, 0],
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.size":[200, 200],
"Efl.Gfx.Base.visible":[true]
},
"Contains":["profiles_list", "elm_box3"]
},
"elm_box3":
{
"Desc":
{
"parent":"elm_box2",
"class":"Elm.Box"
},
"Properties":
{
"Elm.Box.padding":[7, 0],
"Evas.Object.size_hint_align":[-1, -1],
"Efl.Gfx.Base.visible":[true],
"Elm.Box.horizontal":[true],
"Efl.Gfx.Base.size":[200, 139],
"Efl.Gfx.Base.position":[289, 742],
"Evas.Object.size_hint_weight":[1, 0.20]
},
"Contains":["profile_ok_button", "profile_cancel_button", "profile_new_button", "profile_delete_button"]
},
"profile_delete_button":
{
"Desc":
{
"parent":"elm_box3",
"class":"Elm.Button",
"public":true
},
"Properties":
{
"Efl.Gfx.Base.visible":[true],
"Elm.Widget.disabled":[true],
"Elm.Widget.part_text":[null, "Delete profile"],
"Efl.Gfx.Base.size":[115, 30],
"Efl.Gfx.Base.position":[-42, 0],
"Evas.Object.size_hint_align":[0.50, 0.50],
"Evas.Object.size_hint_weight":[1, 1]
},
"Callbacks":
{
"clicked":["Invoke", "profile_del", null]
}
},
"profile_ok_button":
{
"Desc":
{
"parent":"elm_box3",
"class":"Elm.Button",
"public":true
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[73, 30],
"Elm.Widget.part_text":[null, "Ok"],
"Elm.Widget.disabled":[true]
},
"Callbacks":
{
"clicked":["Invoke", "profile_close", null]
}
},
"profile_cancel_button":
{
"Desc":
{
"parent":"elm_box3",
"class":"Elm.Button",
"public":true
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[73, 30],
"Elm.Widget.part_text":[null, "Cancel"]
}
},
"profile_new_button":
{
"Desc":
{
"parent":"elm_box3",
"class":"Elm.Button"
},
"Properties":
{
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[73, 30],
"Elm.Widget.part_text":[null, "New profile"],
"Evas.Object.size_hint_weight":[1, 1],
"Evas.Object.size_hint_align":[0.50, 0.50]
},
"Callbacks":
{
"clicked":["Create", "new_profile_win", null]
}
},
"profiles_list":
{
"Desc":
{
"parent":"elm_box2",
"class":"Elm.Genlist",
"public":true
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true],
"Evas.Object.size_hint_align":[-1, -1]
}
},
"new_profile_win":
{
"Desc":
{
"parent":null,
"class":"Elm.Win",
"public":true
},
"Properties":
{
"Elm.Win.type":["ELM_WIN_BASIC"],
"Elm.Win.autodel":[true],
"Elm.Widget.part_text":[null, "Window"],
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[689, 390],
"Elm.Win.title":["New profile..."],
"Elm.Win.modal":[true]
},
"Contains":["elm_bg4", "elm_box5"]
},
"elm_bg4":
{
"Desc":
{
"parent":"new_profile_win",
"class":"Elm.Bg"
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true]
}
},
"elm_box5":
{
"Desc":
{
"parent":"new_profile_win",
"class":"Elm.Box"
},
"Properties":
{
"Elm.Box.padding":[7, 0],
"Evas.Object.size_hint_weight":[1, 1],
"Evas.Object.size_hint_align":[-1, -1],
"Efl.Gfx.Base.size":[200, 200],
"Efl.Gfx.Base.visible":[true]
},
"Contains":["elm_box6", "elm_label1", "new_profile_command", "elm_label2", "new_profile_script", "elm_box4"]
},
"elm_box4":
{
"Desc":
{
"parent":"elm_box5",
"class":"Elm.Box"
},
"Properties":
{
"Elm.Box.padding":[7, 0],
"Evas.Object.size_hint_weight":[1, 1],
"Evas.Object.size_hint_align":[-1, -1],
"Efl.Gfx.Base.size":[200, 200],
"Efl.Gfx.Base.visible":[true],
"Elm.Box.horizontal":[true]
},
"Contains":["new_profile_save_button", "new_profile_cancel_button"]
},
"new_profile_cancel_button":
{
"Desc":
{
"parent":"elm_box4",
"class":"Elm.Button",
"public":true
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[73, 30],
"Elm.Widget.part_text":[null, "Cancel"]
}
},
"new_profile_save_button":
{
"Desc":
{
"parent":"elm_box4",
"class":"Elm.Button",
"public":true
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[73, 30],
"Elm.Widget.part_text":[null, "Save"]
},
"Callbacks":
{
"clicked":["Invoke", "new_profile_save", null]
}
},
"elm_box6":
{
"Desc":
{
"parent":"elm_box5",
"class":"Elm.Box"
},
"Properties":
{
"Elm.Box.padding":[7, 0],
"Evas.Object.size_hint_weight":[1, 1],
"Evas.Object.size_hint_align":[-1, -1],
"Efl.Gfx.Base.size":[200, 200],
"Efl.Gfx.Base.visible":[true],
"Elm.Box.horizontal":[true]
},
"Contains":["new_profile_type_selector", "elm_label3", "new_profile_name"]
},
"new_profile_type_selector":
{
"Desc":
{
"parent":"elm_box6",
"class":"Elm.Hoversel",
"public":true
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[60, 40],
"Evas.Object.size_hint_align":[0, 0.50],
"Elm.Widget.part_text":[null, "Choose the profile type"]
}
},
"elm_label3":
{
"Desc":
{
"parent":"elm_box6",
"class":"Elm.Label"
},
"Properties":
{
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[60, 30],
"Evas.Object.size_hint_align":[1, -1],
"Elm.Widget.part_text":[null, "Name: "],
"Evas.Object.size_hint_weight":[0, 1]
}
},
"new_profile_name":
{
"Desc":
{
"parent":"elm_box6",
"class":"Elm.Entry",
"public":true
},
"Properties":
{
"Evas.Object.size_hint_align":[-1, -1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[65, 35],
"Elm.Entry.scrollable":[true],
"Elm.Entry.single_line":[true],
"Evas.Object.size_hint_weight":[4, 1],
"Elm.Entry.editable":[true],
"Elm.Widget.part_text":[null, ""]
}
},
"elm_label1":
{
"Desc":
{
"parent":"elm_box5",
"class":"Elm.Label"
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[115, 30],
"Efl.Gfx.Base.position":[847, 0],
"Elm.Widget.part_text":[null, "Command: "],
"Evas.Object.size_hint_align":[0, 2]
}
},
"new_profile_command":
{
"Desc":
{
"parent":"elm_box5",
"class":"Elm.Entry",
"public":true
},
"Properties":
{
"Elm.Entry.scrollable":[true],
"Evas.Object.size_hint_align":[-1, -1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[65, 35],
"Elm.Entry.single_line":[true],
"Evas.Object.size_hint_weight":[1, 2],
"Elm.Widget.disabled":[true]
}
},
"elm_label2":
{
"Desc":
{
"parent":"elm_box5",
"class":"Elm.Label"
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[60, 30],
"Evas.Object.size_hint_align":[0, 1],
"Elm.Widget.part_text":[null, "Script: "]
}
},
"new_profile_script":
{
"Desc":
{
"parent":"elm_box5",
"class":"Elm.Entry",
"public":true
},
"Properties":
{
"Elm.Entry.scrollable":[true],
"Evas.Object.size_hint_align":[-1, -1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[65, 35],
"Evas.Object.size_hint_weight":[1, 8],
"Elm.Widget.disabled":[true]
}
},
"screenshot_button":
{
"Desc":
{
"parent":null,
"class":"Elm.Button",
"public":true
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[73, 30]
},
"Callbacks":
{
"clicked":["Invoke", "screenshot_request", null]
},
"Contains":
{
"elm_icon1":["icon"]
}
},
"elm_icon1":
{
"Desc":
{
"parent":"screenshot_button",
"class":"Elm.Icon"
},
"Properties":
{
"Evas.Object.size_hint_weight":[1, 1],
"Efl.Gfx.Base.visible":[true],
"Efl.Gfx.Base.size":[40, 40],
"Efl.File.file":["SCREENSHOT_ICON", null]
}
}
}
}