Preferences UI: split network preferences

Split the Network Preferences page into two screens:
1) Network preferences
2) Cloud storage preferences
Enable storing these preferences locally.

Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
willemferguson 2019-12-06 15:53:14 +02:00 committed by Dirk Hohndel
parent b16570c715
commit c121afc96c
11 changed files with 328 additions and 188 deletions

View file

@ -0,0 +1,28 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef PREFERENCES_CLOUD_H
#define PREFERENCES_CLOUD_H
#include "abstractpreferenceswidget.h"
namespace Ui {
class PreferencesCloud;
}
class PreferencesCloud : public AbstractPreferencesWidget {
Q_OBJECT
public:
PreferencesCloud();
~PreferencesCloud();
void refreshSettings() override;
void syncSettings() override;
public slots:
void updateCloudAuthenticationState();
void passwordUpdateSuccessful();
private:
Ui::PreferencesCloud *ui;
};
#endif