Common control for Pattern tab bar
This commit is contained in:
@@ -125,6 +125,10 @@
|
||||
<file alias="no-logging.svg">src/AutoPilotPlugins/PX4/Images/no-logging.svg</file>
|
||||
<file alias="ObjectAvoidance.svg">src/AutoPilotPlugins/PX4/Images/ObjectAvoidance.svg</file>
|
||||
<file alias="PaperPlane.svg">src/ui/toolbar/Images/PaperPlane.svg</file>
|
||||
<file alias="PatternCamera.png">resources/PatternCamera.png</file>
|
||||
<file alias="PatternGrid.png">resources/PatternGrid.png</file>
|
||||
<file alias="PatternPresets.png">resources/PatternPresets.png</file>
|
||||
<file alias="PatternTerrain.png">resources/PatternTerrain.png</file>
|
||||
<file alias="PiP.svg">src/FlightMap/Images/PiP.svg</file>
|
||||
<file alias="pipHide.svg">src/FlightMap/Images/pipHide.svg</file>
|
||||
<file alias="pipResize.svg">src/FlightMap/Images/pipResize.svg</file>
|
||||
|
||||
@@ -181,6 +181,8 @@
|
||||
<file alias="QGroundControl/Controls/TakeoffItemMapVisual.qml">src/PlanView/TakeoffItemMapVisual.qml</file>
|
||||
<file alias="QGroundControl/Controls/ToolStrip.qml">src/QmlControls/ToolStrip.qml</file>
|
||||
<file alias="QGroundControl/Controls/TransectStyleComplexItemStats.qml">src/PlanView/TransectStyleComplexItemStats.qml</file>
|
||||
<file alias="QGroundControl/Controls/TransectStyleComplexItemTabBar.qml">src/PlanView/TransectStyleComplexItemTabBar.qml</file>
|
||||
<file alias="QGroundControl/Controls/TransectStyleComplexItemTerrainFollow.qml">src/PlanView/TransectStyleComplexItemTerrainFollow.qml</file>
|
||||
<file alias="QGroundControl/Controls/VehicleRotationCal.qml">src/QmlControls/VehicleRotationCal.qml</file>
|
||||
<file alias="QGroundControl/Controls/VehicleSummaryRow.qml">src/QmlControls/VehicleSummaryRow.qml</file>
|
||||
<file alias="QGroundControl/Controls/VerticalFactValueGrid.qml">src/QmlControls/VerticalFactValueGrid.qml</file>
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 460 B |
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.5 KiB |
@@ -0,0 +1,18 @@
|
||||
import QtQuick 2.3
|
||||
|
||||
import QGroundControl 1.0
|
||||
import QGroundControl.ScreenTools 1.0
|
||||
import QGroundControl.Controls 1.0
|
||||
|
||||
QGCTabBar {
|
||||
id: tabBar
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
|
||||
Component.onCompleted: currentIndex = QGroundControl.settingsManager.planViewSettings.displayPresetsTabFirst.rawValue ? 2 : 0
|
||||
|
||||
QGCTabButton { icon.source: "/qmlimages/PatternGrid.png"; icon.height: ScreenTools.defaultFontPixelHeight }
|
||||
QGCTabButton { icon.source: "/qmlimages/PatternCamera.png"; icon.height: ScreenTools.defaultFontPixelHeight }
|
||||
QGCTabButton { icon.source: "/qmlimages/PatternTerrain.png"; icon.height: ScreenTools.defaultFontPixelHeight }
|
||||
QGCTabButton { icon.source: "/qmlimages/PatternPresets.png"; icon.height: ScreenTools.defaultFontPixelHeight }
|
||||
}
|
||||
Reference in New Issue
Block a user