added a drawer to change the server name and moved the display of the exported config to a separate drawer
This commit is contained in:
parent
4224e8314b
commit
3a264e6baf
30 changed files with 276 additions and 159 deletions
|
|
@ -19,6 +19,7 @@ public:
|
|||
NameRole = Qt::UserRole + 1,
|
||||
HostNameRole,
|
||||
CredentialsRole,
|
||||
CredentialsLoginRole,
|
||||
IsDefaultRole,
|
||||
IsCurrentlyProcessedRole
|
||||
};
|
||||
|
|
@ -29,6 +30,7 @@ public:
|
|||
|
||||
bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override;
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||
QVariant data(const int index, int role = Qt::DisplayRole) const;
|
||||
|
||||
public slots:
|
||||
const int getDefaultServerIndex();
|
||||
|
|
@ -38,7 +40,6 @@ public slots:
|
|||
|
||||
void setCurrentlyProcessedServerIndex(int index);
|
||||
int getCurrentlyProcessedServerIndex();
|
||||
ServerCredentials getCurrentlyProcessedServerCredentials();
|
||||
|
||||
void addServer(const QJsonObject &server);
|
||||
void removeServer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue