Updated version, added two new windows (not done), fixed more issues
with how connecting works - it now also stores the last connection so you can resume using it the next time the program is run.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <QSerialPortInfo>
|
||||
#include <QDialog>
|
||||
#include <QDebug>
|
||||
#include <QSettings>
|
||||
|
||||
namespace Ui {
|
||||
class ConnectionWindow;
|
||||
@@ -46,6 +47,11 @@ private slots:
|
||||
private:
|
||||
Ui::ConnectionWindow *ui;
|
||||
QList<QSerialPortInfo> ports;
|
||||
QSettings *settings;
|
||||
|
||||
ConnectionType::ConnectionType currentConnType;
|
||||
QString currentPortName;
|
||||
int currentSpeed1, currentSpeed2;
|
||||
|
||||
void getSerialPorts();
|
||||
void getKvaserPorts();
|
||||
|
||||
Reference in New Issue
Block a user