Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
1048dacc
Commit
1048dacc
authored
Feb 27, 2017
by
Don Gagne
Browse files
New QGCGroupBox control
parent
5c0dfa95
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
qgroundcontrol.qrc
View file @
1048dacc
...
...
@@ -79,6 +79,7 @@
<file alias="QGroundControl/Controls/QGCFlickable.qml">src/QmlControls/QGCFlickable.qml</file>
<file alias="QGroundControl/Controls/QGCFlickableHorizontalIndicator.qml">src/QmlControls/QGCFlickableHorizontalIndicator.qml</file>
<file alias="QGroundControl/Controls/QGCFlickableVerticalIndicator.qml">src/QmlControls/QGCFlickableVerticalIndicator.qml</file>
<file alias="QGroundControl/Controls/QGCGroupBox.qml">src/QmlControls/QGCGroupBox.qml</file>
<file alias="QGroundControl/Controls/QGCLabel.qml">src/QmlControls/QGCLabel.qml</file>
<file alias="QGroundControl/Controls/QGCListView.qml">src/QmlControls/QGCListView.qml</file>
<file alias="QGroundControl/Controls/QGCMapLabel.qml">src/QmlControls/QGCMapLabel.qml</file>
...
...
src/AutoPilotPlugins/PX4/PowerComponent.qml
View file @
1048dacc
This diff is collapsed.
Click to expand it.
src/QmlControls/QGCGroupBox.qml
0 → 100644
View file @
1048dacc
/****************************************************************************
*
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
****************************************************************************/
import
QtQuick
2.2
import
QtQuick
.
Controls
2.0
import
QGroundControl
.
Palette
1.0
import
QGroundControl
.
ScreenTools
1.0
GroupBox
{
id
:
control
QGCPalette
{
id
:
qgcPal
;
colorGroupEnabled
:
enabled
}
background
:
Rectangle
{
y
:
control
.
topPadding
-
control
.
padding
width
:
parent
.
width
height
:
parent
.
height
-
control
.
topPadding
+
control
.
padding
color
:
qgcPal
.
windowShade
}
label
:
QGCLabel
{
width
:
control
.
availableWidth
text
:
control
.
title
}
}
src/QmlControls/QGroundControl.Controls.qmldir
View file @
1048dacc
...
...
@@ -31,6 +31,7 @@ QGCCheckBox 1.0 QGCCheckBox.qml
QGCColoredImage 1.0 QGCColoredImage.qml
QGCComboBox 1.0 QGCComboBox.qml
QGCFlickable 1.0 QGCFlickable.qml
QGCGroupBox 1.0 QGCGroupBox.qml
QGCLabel 1.0 QGCLabel.qml
QGCListView 1.0 QGCListView.qml
QGCMapLabel 1.0 QGCMapLabel.qml
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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