-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NoControlPanel: Add first version and integrate it in resource
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
- Loading branch information
1 parent
48ecaf4
commit f04a5c6
Showing
2 changed files
with
24 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import QtQml 2.2 | ||
import QtQuick 2.7 | ||
import QtQuick.Controls 2.2 | ||
import QtQuick.Layouts 1.3 | ||
|
||
GroupBox { | ||
id: root | ||
title: "No sensor" | ||
label.x: width/2 - label.contentWidth/2 | ||
ColumnLayout { | ||
Label { | ||
text: "Please connect with a device:" | ||
} | ||
Button { | ||
text: "Device Manager" | ||
Layout.fillWidth: true | ||
onClicked: { | ||
deviceManagerViewer.open() | ||
root.parent.hideItem = true | ||
} | ||
} | ||
} | ||
} |
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