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
|
|
@ -11,7 +11,6 @@ class ConnectionManagerWindow;
|
|||
class ConnectionConfig;
|
||||
class ConnectionController;
|
||||
class MasterController;
|
||||
class QDataWidgetMapper;
|
||||
class QStandardItemModel;
|
||||
|
||||
/** \brief Class that holds glue code for the ConnectionManager UI.
|
||||
|
|
@ -25,7 +24,6 @@ public:
|
|||
|
||||
private slots:
|
||||
void on_actionAdd_Connection_triggered();
|
||||
void on_currentChanged(const QModelIndex ¤t, const QModelIndex &previous);
|
||||
void on_actionDelete_connection_triggered();
|
||||
void on_actionConnect_triggered();
|
||||
void on_actionQuit_application_triggered();
|
||||
|
|
@ -34,15 +32,12 @@ private slots:
|
|||
|
||||
void on_listView_activated(const QModelIndex &index);
|
||||
|
||||
void on_actionConfigure_connection_triggered();
|
||||
|
||||
private:
|
||||
Ui::ConnectionManagerWindow *ui;
|
||||
QDataWidgetMapper *m_mapper = nullptr;
|
||||
MasterController *m_masterController;
|
||||
ConnectionController *m_connectionController;
|
||||
|
||||
std::optional<size_t> prevSelection;
|
||||
|
||||
void setupWidgetMappings();
|
||||
};
|
||||
|
||||
#endif // CONNECTIONMANAGERWINDOW_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue