//TODO add option "logclftime" "Write full CLF-formatted date and time to log (default: write only time)"
initCheckBox(OPTION("","logclftime",[]{return"false";}),uiSettings->logclftimeCheckBox);//"Write full CLF-formatted date and time to log (default: write only time)"
//TODO add option "share" Max % of bandwidth limit for transit. 0-100. 100 by default
initIntegerBox(OPTION("","share",[]{return"100";}),uiSettings->shareLineEdit,tr("Share"));//Max % of bandwidth limit for transit. 0-100. 100 by default
initStringBox(OPTION("httpproxy","i2cp.leaseSetType",[]{return"1";}),uiSettings->httpProxyI2cpLeaseSetTypeLineEdit);//TODO add option Type of LeaseSet to be sent. 1, 3 or 5. 1 by default
initStringBox(OPTION("httpproxy","i2cp.leaseSetEncType",[]{return"";}),uiSettings->httpProxyI2cpLeaseSetEncTypeLineEdit);//TODO add option Comma separated encryption types to be used in LeaseSet type 3 or 5
initStringBox(OPTION("socksproxy","i2cp.leaseSetType",[]{return"1";}),uiSettings->socksProxyI2cpLeaseSetTypeLineEdit);//TODO add option Type of LeaseSet to be sent. 1, 3 or 5. 1 by default
initStringBox(OPTION("socksproxy","i2cp.leaseSetEncType",[]{return"";}),uiSettings->socksProxyI2cpLeaseSetEncTypeLineEdit);//TODO add option Comma separated encryption types to be used in LeaseSet type 3 or 5
//TODO add option "sam.singlethread If false every SAM session runs in own thread. true by default
initCheckBox(OPTION("sam","singlethread",[]{return"true";}),uiSettings->samSingleThreadCheckBox);//If false every SAM session runs in own thread. true by default
//TODO add option "i2cp.singlethread If false every I2CP session runs in own thread. true by default
//initCheckBox( OPTION("i2cp","singlethread",[]{return "true";}), uiSettings->i2cpSingleThreadCheckBox);//If false every I2CP session runs in own thread. true by default
//TODO add option "reseed.zipfile Path to local .zip file to reseed from
//TODO add option "reseed.threshold Minimum number of known routers before requesting reseed. 25 by default
//TODO add option "reseed.proxy Url for https/socks reseed proxy
initFileChooser(OPTION("reseed","zipfile",[]{return"";}),uiSettings->reseedZipFileLineEdit,uiSettings->reseedZipFileBrowsePushButton);//Path to local .zip file to reseed from
initUInt16Box(OPTION("reseed","threshold",[]{return"25";}),uiSettings->reseedThresholdNumberLineEdit,tr("reseedThreshold"));//Minimum number of known routers before requesting reseed. 25 by default
initStringBox(OPTION("reseed","proxy",[]{return"";}),uiSettings->reseedProxyLineEdit);//URL for https/socks reseed proxy
//TODO add option "websockets.enabled Enable websocket server. Disabled by default
//TODO add option "websockets.address Address to bind websocket server on. 127.0.0.1 by default
//TODO add option "websockets.port Port to bind websocket server on. 7666 by default
initCheckBox(OPTION("websockets","enabled",[]{return"false";}),uiSettings->checkBoxWebsocketsEnable);//Enable websocket server. Disabled by default
initIPAddressBox(OPTION("websockets","address",[]{return"127.0.0.1";}),uiSettings->websocketsAddressLineEdit,tr("Websockets -> IP address"));//Address to bind websocket server on. 127.0.0.1 by default
initTCPPortBox(OPTION("websockets","port",[]{return"7666";}),uiSettings->websocketsPortLineEdit,tr("Websockets -> Port"));//Port to bind websocket server on. 7666 by default
//TODO add option "ntcp2.port Port to listen for incoming NTCP2 connections (default: auto)
//TODO add option "ntcp2.addressv6 External IPv6 for incoming connections
//TODO add option "ntcp2.proxy Specify proxy server for NTCP2. Should be http://address:port or socks://address:port
initCheckBox(OPTION("ntcp2","enabled",[]{return"true";}),uiSettings->checkBoxNtcp2Enable);//Enable NTCP2. Enabled by default
initCheckBox(OPTION("ntcp2","published",[]{return"false";}),uiSettings->checkBoxNtcp2Published);//Enable incoming NTCP2 connections. Disabled by default
initTCPPortBox(OPTION("ntcp2","port",[]{return"0";}),uiSettings->ntcp2PortLineEdit,tr("NTCP2 -> Port"));//Port to listen for incoming NTCP2 connections (default: auto)
initIPAddressBox(OPTION("ntcp2","addressv6",[]{return"::";}),uiSettings->ntcp2AddressV6LineEdit,tr("NTCP2 -> IPv6 address"));//External IPv6 for incoming connections
initStringBox(OPTION("ntcp2","proxy",[]{return"";}),uiSettings->lineEditNtcp2Proxy);//Specify proxy server for NTCP2. Should be http://address:port or socks://address:port
//TODO add option "nettime.enabled Enable NTP sync. Disabled by default
//TODO add option "nettime.ntpservers Comma-separated list of NTP server. pool.ntp.org by default
//TODO add option "nettime.ntpsyncinterval NTP time sync interval in hours. 72 by default
initCheckBox(OPTION("nettime","enabled",[]{return"false";}),uiSettings->checkBoxNettimeEnable);//Enable NTP sync. Disabled by default
initStringBox(OPTION("nettime","ntpservers",[]{return"pool.ntp.org";}),uiSettings->lineEditNetTimeNtpServers);//Comma-separated list of NTP servers. pool.ntp.org by default
initIntegerBox(OPTION("nettime","ntpsyncinterval",[]{return"72";}),uiSettings->nettimeNtpSyncIntervalNumberLineEdit,tr("nettimeNtpSyncInterval"));//NTP time sync interval in hours. 72 by default
//TODO add option "persist.profiles Enable peer profile persisting to disk. Enabled by default
initCheckBox(OPTION("persist","profiles",[]{return"true";}),uiSettings->checkBoxPersistProfiles);//Enable peer profile persisting to disk. Enabled by default