/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** BSD License Usage
** Alternatively, you may use this file under the terms of the BSD license
** as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of The Qt Company Ltd nor the names of its
** contributors may be used to endorse or promote products derived
** from this software without specific prior written permission.
**
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include <QtGui/QGuiApplication>
#include <QtQml/QQmlApplicationEngine>
#include <QtGui/QFont>
#include <QtGui/QFontDatabase>
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
QFontDatabase::addApplicationFont(":/fonts/DejaVuSans.ttf");
app.setFont(QFont("DejaVu Sans"));
QQmlApplicationEngine engine(QUrl("qrc:/qml/dashboard.qml"));
if (engine.rootObjects().isEmpty())
return -1;
return app.exec();
}
没有合适的资源?快使用搜索试试~ 我知道了~
QT实现汽车电子仪表盘源代码
共14个文件
qml:6个
png:2个
user:1个
22 下载量 181 浏览量
2023-09-03
11:49:30
上传
评论
收藏 302KB 7Z 举报
温馨提示
QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘 QT实现汽车电子仪表盘
资源推荐
资源详情
资源评论
收起资源包目录
dashboard.7z (14个子文件)
dashboard
dashboard.qrc 464B
qml
DashboardGaugeStyle.qml 6KB
TurnIndicator.qml 4KB
dashboard.qml 7KB
TachometerStyle.qml 5KB
IconGaugeStyle.qml 5KB
ValueSource.qml 11KB
main.cpp 3KB
dashboard.pro 421B
dashboard.pro.user 24KB
images
fuel-icon.png 409B
temperature-icon.png 3KB
fonts
LICENSE 5KB
DejaVuSans.ttf 704KB
共 14 条
- 1
资源评论
smartvxworks
- 粉丝: 3w+
- 资源: 69
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 论文(最终)_20240430235101.pdf
- 基于python编写的Keras深度学习框架开发,利用卷积神经网络CNN,快速识别图片并进行分类
- 最全空间计量实证方法(空间杜宾模型和检验以及结果解释文档).txt
- 5uonly.apk
- 蓝桥杯Python组的历年真题
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 前端开发技术实验报告:内含4四实验&实验报告
- Highlight Plus v20.0.1
- 林周瑜-论文.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功