Made connection window store window size/position. Tweaked teardown

code.
This commit is contained in:
Collin Kidder
2017-08-21 20:29:08 -04:00
parent d869b6a126
commit a109b7b22c
5 changed files with 47 additions and 7 deletions
+4 -1
View File
@@ -27,7 +27,6 @@ class ConnectionWindow : public QDialog
public:
explicit ConnectionWindow(QWidget *parent = 0);
~ConnectionWindow();
void showEvent(QShowEvent *);
CANCon::type getConnectionType();
bool getSWMode();
@@ -78,6 +77,10 @@ private:
CANConnection* create(CANCon::type pTye, QString pPortName);
void loadConnections();
void saveConnections();
void showEvent(QShowEvent *);
void closeEvent(QCloseEvent *event);
void readSettings();
void writeSettings();
};
#endif // CONNECTIONWINDOW_H