-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
233 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,22 +4,12 @@ The SW DLTRelais is used to control Relais for Test Automation. | |
It is based on a SW for the Arduino SW for the Wemos Mini D1 platform. | ||
It provides an interface to DLT for Logging and Test Automation. | ||
|
||
![Image of DLTRelais](https://github.com/alexmucde/DLTRelais/blob/main/doc/images/DLTRelais.jpg) | ||
|
||
For further information about DLT visit the DLT Viewer project: | ||
|
||
https://github.com/GENIVI/dlt-viewer | ||
|
||
## Donation | ||
|
||
If you find my SW useful and you want to donate my work please select one of the following donations: | ||
|
||
Github Sponsors: | ||
|
||
https://github.com/sponsors/alexmucde | ||
|
||
Paypal Donation: | ||
|
||
https://www.paypal.com/donate?hosted_button_id=YBWSNXYWJJP2Q | ||
|
||
## Ardunio SW | ||
|
||
The currently sused Arduino SW can be found in the folder Arduino/DLTRelais/DLTRelais.ino | ||
|
@@ -38,13 +28,24 @@ To build this SW the Qt Toolchain must be used. | |
|
||
DLTRelais.exe | ||
|
||
|
||
## Contributing | ||
|
||
Contibutions are always welcome! Please provide a Pull Request on Github. | ||
|
||
https://github.com/alexmucde/DLTRelais | ||
|
||
## Donation | ||
|
||
If you find this SW useful and you want to donate my work please select one of the following donations: | ||
|
||
Github Sponsors: | ||
|
||
https://github.com/sponsors/alexmucde | ||
|
||
Paypal Donation: | ||
|
||
https://www.paypal.com/donate?hosted_button_id=YBWSNXYWJJP2Q | ||
|
||
## Copyright | ||
|
||
Alexander Wenzel <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
|
||
#include <QFileDialog> | ||
#include <QFile> | ||
#include <QMessageBox> | ||
|
||
Dialog::Dialog(QWidget *parent) | ||
: QDialog(parent) | ||
|
@@ -246,4 +247,25 @@ void Dialog::on_pushButtonSettings_clicked() | |
restoreSettings(); | ||
} | ||
|
||
void Dialog::on_pushButtonInfo_clicked() | ||
{ | ||
QMessageBox msgBox(this); | ||
|
||
msgBox.setWindowTitle("Info DLTRelais"); | ||
msgBox.setTextFormat(Qt::RichText); | ||
|
||
QString text; | ||
text += "Information and Documentation can be found here:<br>"; | ||
text += "<br>"; | ||
text += "<a href='https://github.com/alexmucde/DLTRelais'>https://github.com/alexmucde/DLTRelais</a><br>"; | ||
text += "<br>"; | ||
text += "This SW is licensed under GPLv3.<br>"; | ||
text += "<br>"; | ||
text += "(C) 2021 Alexander Wenzel <[email protected]>"; | ||
|
||
msgBox.setText(text); | ||
|
||
msgBox.setStandardButtons(QMessageBox::Ok); | ||
|
||
msgBox.exec(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#include "infodialog.h" | ||
#include "ui_infodialog.h" | ||
|
||
InfoDialog::InfoDialog(QWidget *parent) : | ||
QDialog(parent), | ||
ui(new Ui::InfoDialog) | ||
{ | ||
ui->setupUi(this); | ||
} | ||
|
||
InfoDialog::~InfoDialog() | ||
{ | ||
delete ui; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#ifndef INFODIALOG_H | ||
#define INFODIALOG_H | ||
|
||
#include <QDialog> | ||
|
||
namespace Ui { | ||
class InfoDialog; | ||
} | ||
|
||
class InfoDialog : public QDialog | ||
{ | ||
Q_OBJECT | ||
|
||
public: | ||
explicit InfoDialog(QWidget *parent = nullptr); | ||
~InfoDialog(); | ||
|
||
private: | ||
Ui::InfoDialog *ui; | ||
}; | ||
|
||
#endif // INFODIALOG_H |
Oops, something went wrong.