ConnectionManager overhaul
- connection settings are now changed by seperate component currently called in a seperate window - old settings pane on the right of the connections had been removed - new edit config button added between new connection and remove connection
This commit is contained in:
parent
78247c7abe
commit
b09e8a6d4b
20 changed files with 836 additions and 733 deletions
20
pglab/SslModeModel.h
Normal file
20
pglab/SslModeModel.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef SSLMODEMODEL_H
|
||||
#define SSLMODEMODEL_H
|
||||
|
||||
#include <QAbstractListModel>
|
||||
|
||||
class SslModeModel : public QAbstractListModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
enum Column { Name, Description, ColCount };
|
||||
|
||||
SslModeModel(QObject *parent = nullptr);
|
||||
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||
|
||||
};
|
||||
|
||||
#endif // SSLMODEMODEL_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue