mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
Update welcome messages & other UI fixes
This commit is contained in:
parent
5845c8ceb4
commit
85c0a632a7
@ -11,13 +11,13 @@
|
|||||||
|
|
||||||
Serial Studio es un programa de visualización de datos de puertos serial multiplataforma y multipropósito. El objetivo de este proyecto es permitir a los desarrolladores y creadores de sistemas embebidos visualizar, presentar y analizar fácilmente los datos generados por sus proyectos y dispositivos, sin la necesidad de escribir software especializado para cada proyecto.
|
Serial Studio es un programa de visualización de datos de puertos serial multiplataforma y multipropósito. El objetivo de este proyecto es permitir a los desarrolladores y creadores de sistemas embebidos visualizar, presentar y analizar fácilmente los datos generados por sus proyectos y dispositivos, sin la necesidad de escribir software especializado para cada proyecto.
|
||||||
|
|
||||||
La necesidad de este proyecto surgió durante el desarrollo del software de estación terrestre para varios concursos de CanSat. Simplemente no es sostenible desarrollar y mantener diferentes programas para cada competencia. La solución inteligente es tener un software de estación terrestre común y permitir que cada CanSat defina cómo se presentan los datos al usuario final mediante un protocolo de comunicación extensible.
|
La necesidad de este proyecto surgió durante el desarrollo del software de estación terrena para varios concursos de CanSat. Simplemente no es sostenible desarrollar y mantener diferentes programas para cada competencia. La solución inteligente es tener un software de estación terrena común y permitir que cada CanSat defina cómo se presentan los datos al usuario final mediante un protocolo de comunicación extensible.
|
||||||
|
|
||||||
Además, este enfoque se puede extender a casi cualquier tipo de proyecto que implique algún tipo de adquisición y medición de datos. Si desea una explicación más detallada de por qué existe este proyecto y de qué se trata, consulte [esta publicación de blog](https://www.alex-spataru.com/blog/introducing-serial-studio) (en inglés).
|
Además, este enfoque se puede extender a casi cualquier tipo de proyecto que implique algún tipo de adquisición y medición de datos. Si desea una explicación más detallada de por qué existe este proyecto y de qué se trata, consulte [esta publicación de blog](https://www.alex-spataru.com/blog/introducing-serial-studio) (en inglés).
|
||||||
|
|
||||||
**NOTA:** en el [wiki](https://github.com/Serial-Studio/Serial-Studio/wiki/Protocolo-de-Comunicación) se muestra más información acerca del protocolo de comunicación utilizado por Serial Studio.
|
**NOTA:** en el [wiki](https://github.com/Serial-Studio/Serial-Studio/wiki/Protocolo-de-Comunicación) se muestra más información acerca del protocolo de comunicación utilizado por Serial Studio.
|
||||||
|
|
||||||
*Lea esto en otros idiomas:* [English](README.md)
|
*Lea esto en otros idiomas:* [English](README.md) [简体中文](README_ZH.md)
|
||||||
|
|
||||||
![Software usage](doc/app-usage.gif)
|
![Software usage](doc/app-usage.gif)
|
||||||
|
|
||||||
|
@ -5,18 +5,22 @@ ____/ // __/ / _ / / /_/ /_ / ____/ // /_ / /_/ // /_/ / _ / / /_/ /
|
|||||||
/____/ \___//_/ /_/ \__,_/ /_/ /____/ \__/ \__,_/ \__,_/ /_/ \____/
|
/____/ \___//_/ /_/ \__,_/ /_/ /____/ \__/ \__,_/ \__,_/ /_/ \____/
|
||||||
|
|
||||||
|
|
||||||
Willkommen bei Serial Studio! Um zu beginnen, wählen Sie bitte einen COM-Port und eine Baudrate in dem
|
Willkommen bei Serial Studio! Um zu beginnen, wählen Sie bitte einen COM-Port
|
||||||
Geräte-Fenster auf der rechten Seite. Wenn die serielle Verbindung erfolgreich ist und die eingehenden Daten
|
und eine Baudrate in dem Geräte-Fenster auf der rechten Seite. Wenn die serielle
|
||||||
korrekt interpretiert werden, wird dieses Fenster automatisch geschlossen und das Dashboard
|
Verbindung erfolgreich ist und die eingehenden Daten korrekt interpretiert
|
||||||
wird angezeigt. Andernfalls können Sie die Konsole verwenden, um die Quelle Ihres Problemes zu finden.
|
werden, wird dieses Fenster automatisch geschlossen und das Dashboard wird
|
||||||
|
angezeigt. Andernfalls können Sie die Konsole verwenden, um die Quelle Ihres
|
||||||
|
Problemes zu finden.
|
||||||
|
|
||||||
Verwenden Sie die Schaltflächen der Symbolleiste, um die Funktionen anzuzeigen die Sie verwenden möchten.
|
Verwenden Sie die Schaltflächen der Symbolleiste, um die Funktionen anzuzeigen
|
||||||
Wenn Sie ein Problem mit Serial Studio haben, melden Sie es bitte an:
|
die Sie verwenden möchten. Wenn Sie ein Problem mit Serial Studio haben, melden
|
||||||
|
Sie es bitte an:
|
||||||
|
|
||||||
→ https://github.com/Serial-Studio/Serial-Studio/issues
|
→ https://github.com/Serial-Studio/Serial-Studio/issues
|
||||||
|
|
||||||
Sie können auch die Links im Fenster "Über" verwenden. Für Dokumentation bezüglich der
|
Sie können auch die Links im Fenster "Über" verwenden. Für Dokumentation
|
||||||
Verwendung von Serial Studio und Integration mit Ihren aktuellen MCU-Projekten, lesen Sie bitte das Wiki:
|
bezüglich der Verwendung von Serial Studio und Integration mit Ihren aktuellen
|
||||||
|
MCU-Projekten, lesen Sie bitte das Wiki:
|
||||||
|
|
||||||
→ https://github.com/Serial-Studio/Serial-Studio/wiki
|
→ https://github.com/Serial-Studio/Serial-Studio/wiki
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@ ____/ // __/ / _ / / /_/ /_ / ____/ // /_ / /_/ // /_/ / _ / / /_/ /
|
|||||||
Welcome to Serial Studio! To start, please select a COM port & baud rate in the
|
Welcome to Serial Studio! To start, please select a COM port & baud rate in the
|
||||||
devices pane on the right. If serial connection is successful & incoming data is
|
devices pane on the right. If serial connection is successful & incoming data is
|
||||||
interpreted correctly, this pane shall be automatically closed and the dashboard
|
interpreted correctly, this pane shall be automatically closed and the dashboard
|
||||||
shall be shown automatically. Otherwise, you can use the console to find the
|
shall be shown. Otherwise, you can use the console to find the source of your
|
||||||
source of your problem.
|
problem.
|
||||||
|
|
||||||
Use the toolbar buttons to display the features that you want to use. If you
|
Use the toolbar buttons to display the features that you want to use. If you
|
||||||
encounter a problem with Serial Studio, please report it at:
|
encounter a problem with Serial Studio, please report it at:
|
||||||
|
@ -8,9 +8,8 @@ ____/ // __/ / _ / / /_/ /_ / ____/ // /_ / /_/ // /_/ / _ / / /_/ /
|
|||||||
¡Bienvenido/a a Serial Studio! Para comenzar, seleccione un puerto COM y
|
¡Bienvenido/a a Serial Studio! Para comenzar, seleccione un puerto COM y
|
||||||
velocidad en baudios en el panel de dispositivos a la derecha. Si la conexión en
|
velocidad en baudios en el panel de dispositivos a la derecha. Si la conexión en
|
||||||
serie es exitosa y los datos entrantes se interpretan correctamente, este panel
|
serie es exitosa y los datos entrantes se interpretan correctamente, este panel
|
||||||
se cerrará automáticamente y el el tablero de instrumentos se mostrará
|
se cerrará automáticamente y el el tablero de instrumentos se mostrará.
|
||||||
automáticamente. De lo contrario, puede usar la consola para encontrar el origen
|
De lo contrario, puede usar la consola para encontrar el origen de su problema.
|
||||||
de su problema.
|
|
||||||
|
|
||||||
Utilice los botones de la barra de herramientas para mostrar las funciones que
|
Utilice los botones de la barra de herramientas para mostrar las funciones que
|
||||||
desea utilizar. Si encuentra un problema con Serial Studio, infórmelo en:
|
desea utilizar. Si encuentra un problema con Serial Studio, infórmelo en:
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import QtQuick 2.12
|
import QtQuick 2.12
|
||||||
import Qt.labs.settings 1.0
|
|
||||||
import QtQuick.Layouts 1.12
|
import QtQuick.Layouts 1.12
|
||||||
import QtQuick.Controls 2.12
|
import QtQuick.Controls 2.12
|
||||||
|
|
||||||
@ -50,14 +49,6 @@ Control {
|
|||||||
_tf.clear()
|
_tf.clear()
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Save settings
|
|
||||||
//
|
|
||||||
Settings {
|
|
||||||
category: "Console"
|
|
||||||
property alias writeEnabled: writeSw.checked
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Connections with serial manager
|
// Connections with serial manager
|
||||||
//
|
//
|
||||||
@ -124,15 +115,6 @@ Control {
|
|||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
Switch {
|
|
||||||
id: writeSw
|
|
||||||
checked: true
|
|
||||||
Layout.alignment: Qt.AlignHCenter
|
|
||||||
onCheckedChanged: CppSerialManager.writeEnabled = checked
|
|
||||||
opacity: CppSerialManager.readWrite ? 1 : (CppSerialManager.connected ? 0.5 : 1)
|
|
||||||
Behavior on opacity {NumberAnimation{}}
|
|
||||||
}
|
|
||||||
|
|
||||||
TextField {
|
TextField {
|
||||||
id: _tf
|
id: _tf
|
||||||
height: 24
|
height: 24
|
||||||
|
@ -35,6 +35,11 @@ Control {
|
|||||||
color: app.windowBackgroundColor
|
color: app.windowBackgroundColor
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Serial-open modes list
|
||||||
|
//
|
||||||
|
property var serialOpenModes: [qsTr("Read-only"), qsTr("Read/write")]
|
||||||
|
|
||||||
//
|
//
|
||||||
// Save settings
|
// Save settings
|
||||||
//
|
//
|
||||||
@ -45,6 +50,7 @@ Control {
|
|||||||
property alias dmParity: parity.currentIndex
|
property alias dmParity: parity.currentIndex
|
||||||
property alias dmStopBits: stopBits.currentIndex
|
property alias dmStopBits: stopBits.currentIndex
|
||||||
property alias dmDataBits: dataBits.currentIndex
|
property alias dmDataBits: dataBits.currentIndex
|
||||||
|
property alias dmOpenMode: openMode.currentIndex
|
||||||
property alias dmBaudRateIndex: baudRate.currentIndex
|
property alias dmBaudRateIndex: baudRate.currentIndex
|
||||||
property alias dmFlowControl: flowControl.currentIndex
|
property alias dmFlowControl: flowControl.currentIndex
|
||||||
property alias appLanguage: languageCombo.currentIndex
|
property alias appLanguage: languageCombo.currentIndex
|
||||||
@ -57,12 +63,17 @@ Control {
|
|||||||
target: CppTranslator
|
target: CppTranslator
|
||||||
function onLanguageChanged() {
|
function onLanguageChanged() {
|
||||||
var oldParityIndex = parity.currentIndex
|
var oldParityIndex = parity.currentIndex
|
||||||
|
var oldOpenModeIndex = openMode.currentIndex
|
||||||
var oldFlowControlIndex = flowControl.currentIndex
|
var oldFlowControlIndex = flowControl.currentIndex
|
||||||
|
|
||||||
|
root.serialOpenModes = [qsTr("Read-only"), qsTr("Read/write")]
|
||||||
|
openMode.model = root.serialOpenModes
|
||||||
|
|
||||||
parity.model = CppSerialManager.parityList
|
parity.model = CppSerialManager.parityList
|
||||||
flowControl.model = CppSerialManager.flowControlList
|
flowControl.model = CppSerialManager.flowControlList
|
||||||
|
|
||||||
parity.currentIndex = oldParityIndex
|
parity.currentIndex = oldParityIndex
|
||||||
|
openMode.currentIndex = oldOpenModeIndex
|
||||||
flowControl.currentIndex = oldFlowControlIndex
|
flowControl.currentIndex = oldFlowControlIndex
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -91,6 +102,7 @@ Control {
|
|||||||
// Comm mode selector
|
// Comm mode selector
|
||||||
//
|
//
|
||||||
Label {
|
Label {
|
||||||
|
font.bold: true
|
||||||
text: qsTr("Communication Mode") + ":" + CppTranslator.dummy
|
text: qsTr("Communication Mode") + ":" + CppTranslator.dummy
|
||||||
} RadioButton {
|
} RadioButton {
|
||||||
id: commAuto
|
id: commAuto
|
||||||
@ -135,6 +147,15 @@ Control {
|
|||||||
height: app.spacing * 2
|
height: app.spacing * 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// A lot of comboboxes
|
||||||
|
//
|
||||||
|
GridLayout {
|
||||||
|
columns: 2
|
||||||
|
Layout.fillWidth: true
|
||||||
|
rowSpacing: app.spacing
|
||||||
|
columnSpacing: app.spacing
|
||||||
|
|
||||||
//
|
//
|
||||||
// COM port selector
|
// COM port selector
|
||||||
//
|
//
|
||||||
@ -164,11 +185,32 @@ Control {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Open mode
|
||||||
|
//
|
||||||
|
Label {
|
||||||
|
text: qsTr("Open mode") + ":" + CppTranslator.dummy
|
||||||
|
} ComboBox {
|
||||||
|
id: openMode
|
||||||
|
Layout.fillWidth: true
|
||||||
|
model: root.serialOpenModes
|
||||||
|
onCurrentIndexChanged: {
|
||||||
|
if (currentIndex == 0)
|
||||||
|
CppSerialManager.setWriteEnabled(false)
|
||||||
|
else
|
||||||
|
CppSerialManager.setWriteEnabled(true)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Spacer
|
// Spacer
|
||||||
//
|
//
|
||||||
Item {
|
Item {
|
||||||
height: app.spacing * 2
|
Layout.minimumHeight: app.spacing / 2
|
||||||
|
Layout.maximumHeight: app.spacing / 2
|
||||||
|
} Item {
|
||||||
|
Layout.minimumHeight: app.spacing / 2
|
||||||
|
Layout.maximumHeight: app.spacing / 2
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -239,7 +281,11 @@ Control {
|
|||||||
// Spacer
|
// Spacer
|
||||||
//
|
//
|
||||||
Item {
|
Item {
|
||||||
height: app.spacing * 2
|
Layout.minimumHeight: app.spacing / 2
|
||||||
|
Layout.maximumHeight: app.spacing / 2
|
||||||
|
} Item {
|
||||||
|
Layout.minimumHeight: app.spacing / 2
|
||||||
|
Layout.maximumHeight: app.spacing / 2
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -253,6 +299,7 @@ Control {
|
|||||||
model: CppTranslator.availableLanguages
|
model: CppTranslator.availableLanguages
|
||||||
onCurrentIndexChanged: CppTranslator.setLanguage(currentIndex)
|
onCurrentIndexChanged: CppTranslator.setLanguage(currentIndex)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Spacer
|
// Spacer
|
||||||
|
Binary file not shown.
@ -478,6 +478,18 @@
|
|||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation>Sprache</translation>
|
<translation>Sprache</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open mode</source>
|
||||||
|
<translation>Öffnungsmodus</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Read-only</source>
|
||||||
|
<translation>Schreibgeschützt</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Read/write</source>
|
||||||
|
<translation>Lesen/schreiben</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>Toolbar</name>
|
<name>Toolbar</name>
|
||||||
@ -553,7 +565,7 @@
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Drop JSON and CSV files here</source>
|
<source>Drop JSON and CSV files here</source>
|
||||||
<translation type="unfinished">JSON und CSV Dateien hierher Ziehen</translation>
|
<translation>JSON und CSV Dateien hierher Ziehen</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
</TS>
|
</TS>
|
||||||
|
Binary file not shown.
@ -478,6 +478,18 @@
|
|||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open mode</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Read-only</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Read/write</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>Toolbar</name>
|
<name>Toolbar</name>
|
||||||
|
Binary file not shown.
@ -597,6 +597,18 @@
|
|||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation>Idioma</translation>
|
<translation>Idioma</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open mode</source>
|
||||||
|
<translation>Modo de apertura</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Read-only</source>
|
||||||
|
<translation>Solo lectura</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Read/write</source>
|
||||||
|
<translation>Lectura/escritura</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>Toolbar</name>
|
<name>Toolbar</name>
|
||||||
|
Binary file not shown.
@ -510,6 +510,18 @@
|
|||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation>语言</translation>
|
<translation>语言</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open mode</source>
|
||||||
|
<translation>开放模式</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Read-only</source>
|
||||||
|
<translation>只读</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Read/write</source>
|
||||||
|
<translation>读/写</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>Toolbar</name>
|
<name>Toolbar</name>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user