qgroundcontrol吧 关注:355贴子:523
  • 1回复贴,共1

刚接触QGC,求怎么换QGC的图片

只看楼主收藏回复

把这个图片换成自己想用的


1楼2018-11-21 10:52回复
    在MainToolBar.qml里面
    有很多类似以下的模块
    QGCToolBarButton {
    id: flyButton
    anchors.top: parent.top
    anchors.bottom: parent.bottom
    exclusiveGroup: mainActionGroup
    source: "/qmlimages/PaperPlane.svg"
    onClicked: toolBar.showFlyView()
    }
    其中source: "/qmlimages/PaperPlane.svg" 就是图标来源,把来源替换成自己想要的就行了


    IP属地:浙江2楼2019-02-26 09:12
    回复