-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '2.5-evo' into dev-release
- Loading branch information
Showing
2 changed files
with
49 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import QtQuick 2.12 | ||
import QtQuick.Controls 2.12 | ||
import QtQuick.Layouts 1.12 | ||
import QtQuick.Dialogs 1.0 | ||
import QtQuick.Controls.Material 2.12 | ||
|
||
import Qt.labs.settings 1.0 | ||
|
||
import OpenHD 1.0 | ||
|
||
import "../../../ui" as Ui | ||
import "../../elements" | ||
|
||
Rectangle{ | ||
width: parent.width | ||
height: parent.height | ||
ColumnLayout{ | ||
anchors.fill: parent | ||
spacing: 6 | ||
Text{ | ||
Layout.fillWidth: true | ||
Layout.alignment: Qt.AlignTop | ||
Layout.preferredHeight: 50 | ||
//width:parent.width | ||
wrapMode: Text.WordWrap | ||
verticalAlignment: Text.AlignTop | ||
text: "When running QOpenHD on an external device (e.g. android phone)\n"+ | ||
"you have to use one of the given choices to connect the device to the OpenHD ground station" | ||
} | ||
Text{ | ||
Layout.preferredHeight: 50 | ||
text: "You are already connected to your ground station - nothing to do." | ||
color: "#706F1D" // dark green | ||
visible: m_is_connected_gnd | ||
} | ||
Text{ | ||
Layout.preferredHeight: 50 | ||
text: "Looks like you are not connected to your ground station - please use one of the given choices to connect." | ||
color: "red" | ||
visible: !m_is_connected_gnd | ||
} | ||
Item{ | ||
Layout.fillHeight: true | ||
// filler | ||
} | ||
} | ||
} |