-
-
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 pull request #546 from OpenHD/2.3-evo-consti-dev
android release
- Loading branch information
Showing
3 changed files
with
68 additions
and
10 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
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,55 @@ | ||
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" | ||
|
||
// This panel is only for users that run QOpenHD on an external device,e.g. android not on the ground station itself | ||
Item { | ||
Layout.fillHeight: true | ||
Layout.fillWidth: true | ||
|
||
property int rowHeight: 64 | ||
property int elementHeight: 48 | ||
property int elementComboBoxWidth: 300 | ||
|
||
// Tab bar for selecting items in stack layout | ||
TabBar { | ||
id: selectItemInStackLayoutBar | ||
width: parent.width | ||
TabButton { | ||
text: qsTr("USB Tether") | ||
} | ||
TabButton { | ||
text: qsTr("Ethernet / USB to Ethernet") | ||
} | ||
} | ||
|
||
// placed right below the top bar | ||
StackLayout { | ||
width: parent.width | ||
height: parent.height-selectItemInStackLayoutBar.height | ||
anchors.top: selectItemInStackLayoutBar.bottom | ||
anchors.left: selectItemInStackLayoutBar.left | ||
anchors.bottom: parent.bottom | ||
currentIndex: selectItemInStackLayoutBar.currentIndex | ||
|
||
Pane { | ||
TextArea{ | ||
text: "Connect your phone via high quality USB cable to your ground station and enable USB Tethering on your phone." | ||
} | ||
} | ||
Pane { | ||
TextArea{ | ||
text: "TODO" | ||
} | ||
} | ||
} | ||
} |