;prefix: ast_
;hascolumns: y
:assistant name: wnd var: y sig(cancel): astcancel sig(close): astcancel sig(prepare): astupdate sig: apply title: "Dolda Connect configurator"
:align title: Introduction ptype: INTRO cmpl: TRUE xs: 0 ys: 0 xa: 0 ya: 0
$lbl wrap: y label: "This assistent will guide you through the steps minimally required for setting up Dolda Connect as a normal Direct Connect client.\\nIf you wish to set up the more advanced features of Dolda Connect, please either use the more complete setup form of this program, which will be available after this assistant is complete, or edit the configuration file (~/.doldacond.conf) manually."
end
:vbox title: "Published info" var: y name: page1
$lbl label: "Please enter how you wish to present yourself to other users:"
:table rows: 2 cols: 2 fill: TRUE
$mlbl label: "_Screen name" mwidget: nick tx: 0 ty: 0
$text name: nick var: y expand: y fill: y sig: changed tx: 1 ty: 0
$mlbl label: "_Description" mwidget: desc tx: 0 ty: 1
$text name: desc var: y expand: y fill: y tx: 1 ty: 1
end
end
:vbox title: "Shared directories" var: y name: page2
$lbl label: "Please choose the directories that you wish to share:"
:vbox expand: TRUE fill: TRUE
:sw expand: TRUE fill: TRUE
:treeview name: sharelist var: y
$tvcol title: Path text: 1 sortcol: 1
end
end
:hbox
$sbtn name: shareadd stock: ADD sig: clicked
$sbtn name: sharerem stock: REMOVE sig: clicked
end
end
end
:vbox title: "Network" cmpl: TRUE var: y name: page3
$lbl label: "Please choose the network mode to use"
$radio label: "_Active mode" var: y name: mode_act
$lbl markup: "Active mode is the best choice when this computer is connected directly to the internet." wrap: y align: "0:0.5" wpad: "20:0"
$radio label: "Active with specified _port" var: y name: mode_nat group: mode_act sig: toggled
:vbox sensitive: FALSE var: y name: portbox
:hbox spacing: 10
$mlbl label: "_TCP port:" mwidget: tcpport
$text name: tcpport var: y fill: y expand: y sig(changed): cb_ast_checkports
$mlbl label: "_UDP port:" mwidget: udpport
$text name: udpport var: y fill: y expand: y sig(changed): cb_ast_checkports
end
:hbox spacing: 10
$mlbl label: "_IP address:" mwidget: extip
$text name: extip var: y fill: y expand: y sig(changed): cb_ast_checkports
end
end
$lbl markup: "Specify a port when this computer is behind a NAT router or another device blocking incoming connections. You will also need to configure your NAT router to forward that port to this computer, and specify what external IP address to use. Note also that the ports need to be above 1024." wrap: y align: "0:0.5" wpad: "20:0"
$radio label: "Passi_ve mode" var: y name: mode_psv group: mode_act
$lbl markup: "Passive mode can be used as a last resort if you truly cannot use active mode. It is highly likely that using passive mode will lead to impaired performance." wrap: y align: "0:0.5" wpad: "20:0"
end
:vbox title: "Confirmation" ptype: CONFIRM cmpl: TRUE
$lbl label: "Please confirm that you wish to apply the following options:"
:sw fill: TRUE expand: TRUE
$textview name: summary var: y editable: FALSE
end
$lbl label: "What do you want to do after confirming?"
$radio label: "_Run Dolda Connect normally" var: y name: action_dolcon
$radio label: "_Exit this configuration program" var: y name: action_exit group: action_dolcon
$radio label: "_Open the complete configuration form" var: y name: action_wnd group: action_dolcon
end
end