|
|
@ -362,6 +362,8 @@ Rectangle { |
|
|
|
QGCButton { |
|
|
|
QGCButton { |
|
|
|
width: ScreenTools.defaultFontPixelWidth * 10 |
|
|
|
width: ScreenTools.defaultFontPixelWidth * 10 |
|
|
|
text: "OK" |
|
|
|
text: "OK" |
|
|
|
|
|
|
|
//-- TODO: For now, only allow Serial (the only one completed) |
|
|
|
|
|
|
|
enabled: editConfig && editConfig.linkType === LinkConfiguration.TypeSerial |
|
|
|
onClicked: { |
|
|
|
onClicked: { |
|
|
|
// Save editting |
|
|
|
// Save editting |
|
|
|
editConfig.name = nameField.text |
|
|
|
editConfig.name = nameField.text |
|
|
@ -393,7 +395,7 @@ Rectangle { |
|
|
|
Component { |
|
|
|
Component { |
|
|
|
id: serialLinkSettings |
|
|
|
id: serialLinkSettings |
|
|
|
Column { |
|
|
|
Column { |
|
|
|
width: parent.width |
|
|
|
width: serialLinkSettings.width |
|
|
|
spacing: ScreenTools.defaultFontPixelHeight / 2 |
|
|
|
spacing: ScreenTools.defaultFontPixelHeight / 2 |
|
|
|
QGCLabel { |
|
|
|
QGCLabel { |
|
|
|
id: serialLabel |
|
|
|
id: serialLabel |
|
|
@ -601,7 +603,7 @@ Rectangle { |
|
|
|
Component { |
|
|
|
Component { |
|
|
|
id: udpLinkSettings |
|
|
|
id: udpLinkSettings |
|
|
|
Column { |
|
|
|
Column { |
|
|
|
width: parent.width |
|
|
|
width: udpLinkSettings.width |
|
|
|
spacing: ScreenTools.defaultFontPixelHeight / 2 |
|
|
|
spacing: ScreenTools.defaultFontPixelHeight / 2 |
|
|
|
QGCLabel { |
|
|
|
QGCLabel { |
|
|
|
id: udpLabel |
|
|
|
id: udpLabel |
|
|
@ -637,7 +639,7 @@ Rectangle { |
|
|
|
Component { |
|
|
|
Component { |
|
|
|
id: tcpLinkSettings |
|
|
|
id: tcpLinkSettings |
|
|
|
Column { |
|
|
|
Column { |
|
|
|
width: parent.width |
|
|
|
width: tcpLinkSettings.width |
|
|
|
spacing: ScreenTools.defaultFontPixelHeight / 2 |
|
|
|
spacing: ScreenTools.defaultFontPixelHeight / 2 |
|
|
|
QGCLabel { |
|
|
|
QGCLabel { |
|
|
|
id: tcpLabel |
|
|
|
id: tcpLabel |
|
|
@ -681,7 +683,7 @@ Rectangle { |
|
|
|
Component { |
|
|
|
Component { |
|
|
|
id: logLinkSettings |
|
|
|
id: logLinkSettings |
|
|
|
Column { |
|
|
|
Column { |
|
|
|
width: parent.width |
|
|
|
width: logLinkSettings.width |
|
|
|
spacing: ScreenTools.defaultFontPixelHeight / 2 |
|
|
|
spacing: ScreenTools.defaultFontPixelHeight / 2 |
|
|
|
QGCLabel { |
|
|
|
QGCLabel { |
|
|
|
text: "Log Replay Link Settings" |
|
|
|
text: "Log Replay Link Settings" |
|
|
@ -700,7 +702,7 @@ Rectangle { |
|
|
|
Component { |
|
|
|
Component { |
|
|
|
id: mockLinkSettings |
|
|
|
id: mockLinkSettings |
|
|
|
Column { |
|
|
|
Column { |
|
|
|
width: parent.width |
|
|
|
width: mockLinkSettings.width |
|
|
|
spacing: ScreenTools.defaultFontPixelHeight / 2 |
|
|
|
spacing: ScreenTools.defaultFontPixelHeight / 2 |
|
|
|
QGCLabel { |
|
|
|
QGCLabel { |
|
|
|
text: "Mock Link Settings" |
|
|
|
text: "Mock Link Settings" |
|
|
|