QGC的Mission表盘
来源:互联网 发布:淘宝介入手机页面取消 编辑:程序博客网 时间:2024/04/25 15:04
MissionSettingsEditor.qml
Rectangle{ id:valuesRect; width:availableWidth; visible:missionItem.isCurrentItem; radius:_radius;CameraSection.qml组件}
点击Camera后
在CameraSection.qml中
Column{ anchors.left:parent.left anchors.right:parent.right spacing:_margin......//SectionHeader组件在 SectionHeader{ id:cameraSectionHeader text:qsTr("Camera") checked:false; }}
SectionHead.qml中定义了SectionHeader组件
FocusScope{ id:_root; anchors.left:paret.left anchors.right:paret.right onExclusiveGroupChanged:{ if(exclusiveGroup) exclusiveGroup.bindCheckable(_root); } QGCMouseArea{ anchors.fill:parent; onClicked:{ _root.focus=true checked=!checked } ColumnLayout{ id:column; Item{ height:_sectionSpacer width:1 visible:showSpacer } } }}
QGC中基本上是这个结构
如
//图中1的勾选框QGCCheckBox{ id:gimbalCheckBox text:qsTr("Gimbal") checked:_camera.specifyGimbal onClicked:_camera.specifyGimbal=checked; Layout.fillWidth:true}//图中2的输入框FactTextField{ fact:_camera.gimbalPitch implicitWidth:ScreenTools.defaultFontPixelWidth*9 enabled:gimbalCheckBox.checked}FactTextField{ fact:_camera.gimbalYaw implicitWidth:ScreenTools.defaultFontPixelWidth*9 enabled:gimbalCheckBox.checked}
MapQuickItem可以向地图中指定位置添加任意大小的Qt Quick object
MapItemView
Qt中Map组件:
可能在:
QtLocation 5.6
QtPositioning 5.6中
阅读全文
0 0
- QGC的Mission表盘
- QGC的mission 航点规划文件示例
- QGC的MainWindow
- QGC的MainToolBarIndicator
- QGC的PlanToolBar
- QGC的ScreenToolsController
- QGC的MissionController
- QGC的QGroundControl
- QGC的PlanMasterController
- QGC的FlightDisplayView
- QGC的小问题
- QGC
- QGC的MainWindow的menuWidget
- QGC的MissionItem的Camera
- QGC的MissionItem的Vehicleinfo
- QGC的AppSettings设置:offlineMaps
- QGC的第二个按钮Vehicle Setup
- QGC的第一个图标APPSettings
- TCP数据报首部
- 使用Math.random生成随机数
- Python基础1
- 委托
- mac 安装
- QGC的Mission表盘
- url.parse()/url.format()/url.resolve()
- 动态通讯录
- centos7安装zookeeper
- Python|爬虫学习资料整理
- 2561: 最小生成树
- Unity 3D
- SDUT 3330 顺序表应用6:有序顺序表查询
- HDU