Skip to content

Commit

Permalink
Update to new UI
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Metsma <[email protected]>
  • Loading branch information
metsma committed Nov 4, 2024
1 parent a008d68 commit 024a498
Show file tree
Hide file tree
Showing 26 changed files with 1,023 additions and 1,313 deletions.
3 changes: 3 additions & 0 deletions client/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ struct Settings
void operator =(const T &value) const {
operator =(QVariant(value));
}
void operator() (const T &value) const {
operator =(QVariant(value));
}
template <typename P = T, typename = if_QString<P>>
void operator =(const std::string &value) const {
operator =(QString::fromStdString(value));
Expand Down
511 changes: 190 additions & 321 deletions client/dialogs/SettingsDialog.cpp

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions client/dialogs/SettingsDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ class SettingsDialog final: public QDialog
Q_OBJECT

public:
enum {
enum : quint8 {
GeneralSettings,
SigningSettings,
ValidationSettings,
EncryptionSettings,
NetworkSettings,
DiagnosticsSettings,
LicenseSettings
Expand All @@ -62,9 +63,7 @@ class SettingsDialog final: public QDialog
void togglePrinting(bool enable);

private:
void changePage(QAbstractButton *button);
void checkConnection();
void initFunctionality();
void retranslate(const QString& lang);
void saveFile(const QString &name, const QString &path);
void saveFile(const QString &name, const QByteArray &content);
Expand Down
Loading

0 comments on commit 024a498

Please sign in to comment.