30 SettingsDialog(QWidget *parent,
const IServerConfig &serverConfig,
const CoreProcess &coreProcess);
37 void initConnections()
const;
38 void regenCertificates();
39 void browseCertificatePath();
41 void setLogToFile(
bool logToFile);
42 void accept()
override;
43 void showEvent(QShowEvent *event)
override;
44 bool isClientMode()
const;
45 void updateTlsControls();
46 void updateTlsControlsEnabled();
47 void showReadOnlyMessage();
50 void loadFromConfig();
53 void updateKeyLengthOnFile(
const QString &path);
56 void updateControls();
59 void updateRequestedKeySize()
const;
61 std::unique_ptr<Ui::SettingsDialog> ui;
62 const IServerConfig &m_serverConfig;
63 const CoreProcess &m_coreProcess;