
Dialog#main
{
    title:"${install}"
    icon:"icons/16/home.svg" 
    layout:VBoxLayout
    width:500
    height:450

    Edit
    {
        readonly:true
        value:"<h2 style='text-align:center'>${software_name_} ${__version__}</h2>${install_notice_}<br/>"
    }
    GridLayout
    {
        "${language}:" ComboBox#language{
            name:lang
            stretch:expand
            vtype:data
            "${auto}"
        }
        "${software_name}: " LineEdit{
            name:software_name
            value:"${software_name_}"
        }
    }
    GroupBox#options
    {
        title:"${options}"
        layout:VBoxLayout
        
        HBoxLayout{
            CheckBox{
                name:desktop_shortcuts
                text:"${desktop_shortcuts}"
                value:true
            }
            CheckBox{
                name:tray_icon
                text:"${tray_icon}"
                value:false
            }
            CheckBox{
                name:autostart
                text:"${autostart} (windows)"
            }
            CheckBox{
                name:system_service
                text:"${system_service}(${recommended})"
                value:true
                css:"color:green"
            }
            
        }
    }

    GroupBox
    {
        title:"${installation_directory}"
        layout:VBoxLayout
        
        HBoxLayout
        {
    
            PathEdit#path{
                mode:dir
                placeholder:"${path}"
            }
        }
        RadioGroup{${#to_current_dir},${#to_other_dir}}
    }
    
  
    HBoxLayout
    {
        
        <==>
        Button#btn_install{
            icon:"icons/16/home.svg"
            text:"${install}"
        }
        Button#btn_cancel{
            text:"${cancel}"
        }
    }
}
 
