Working on the connection manager.
Made a list model for displaying them in a list. Also added controles to edit the most important properties.
This commit is contained in:
parent
be1892ac52
commit
f5eab84c24
14 changed files with 1100 additions and 9 deletions
30
connectionmanagerwindow.h
Normal file
30
connectionmanagerwindow.h
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
#ifndef CONNECTIONMANAGERWINDOW_H
|
||||
#define CONNECTIONMANAGERWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
namespace Ui {
|
||||
class ConnectionManagerWindow;
|
||||
}
|
||||
|
||||
class ConnectionListModel;
|
||||
|
||||
class ConnectionManagerWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ConnectionManagerWindow(QWidget *parent = 0);
|
||||
~ConnectionManagerWindow();
|
||||
|
||||
private slots:
|
||||
void on_actionAdd_Connection_triggered();
|
||||
void on_currentChanged(const QModelIndex ¤t, const QModelIndex &previous);
|
||||
void on_actionDelete_connection_triggered();
|
||||
|
||||
private:
|
||||
Ui::ConnectionManagerWindow *ui;
|
||||
ConnectionListModel *m_listModel = nullptr;
|
||||
};
|
||||
|
||||
#endif // CONNECTIONMANAGERWINDOW_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue