Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
e5c843ca
Commit
e5c843ca
authored
Dec 01, 2015
by
dogmaphobic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Serial Configuration Done (QML)
parent
6541cbf0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
LinkSettings.qml
src/ui/preferences/LinkSettings.qml
+7
-5
No files found.
src/ui/preferences/LinkSettings.qml
View file @
e5c843ca
...
@@ -362,6 +362,8 @@ Rectangle {
...
@@ -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 {
...
@@ -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 {
...
@@ -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 {
...
@@ -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 {
...
@@ -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 {
...
@@ -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
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment