![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
QML
芈鹿
这个作者很懒,什么都没留下…
展开
-
QML 打开文件夹对话框选择文件保存路径
import QtQuick 2.14import QtQuick.Controls 2.14import Qt.labs.platform 1.0ApplicationWindow { visible: true width: 800 height: 600 title: qsTr("选择文件夹对话框") Rectangle { id: inputBox width: 350 height: 40 .原创 2020-07-22 15:50:13 · 6459 阅读 · 1 评论 -
QML tableView表格数据添加全选,不选,和禁用状态
import QtQuick 2.14import QtQuick.Controls 2.14import Qt.labs.qmlmodels 1.0import QtGraphicalEffects 1.0import "../Component"Item { id: mask width: parent.width height: parent.height property bool exportT: false function isCha.原创 2020-07-16 13:55:11 · 2488 阅读 · 4 评论 -
QML简易视频播放器
import QtQuick 2.14import QtMultimedia 5.0import QtQuick.Window 2.14import QtQuick.Controls 2.14//运行报错:Warning: "No decoder available for type 'video/x-h264, stream-format=(string)avc...//sudo apt-get install gstreamer1.0-libav 即可解决 Qt在linux下使用gst.原创 2020-07-15 17:12:57 · 953 阅读 · 0 评论 -
QML tableView表格自定义(内置多选按钮)
import QtQuick 2.12import QtQuick.Controls 2.12import Qt.labs.qmlmodels 1.0import "../Component"Rectangle { z: 10 id: tableView width: dpH(919) height: dpH(475) anchors { top:.原创 2020-05-29 14:56:28 · 3221 阅读 · 16 评论 -
QML tableView表格自定义
import QtQuick 2.12import QtQuick.Controls 2.12import Qt.labs.qmlmodels 1.0 Rectangle { z: 10 id: tableView width: dpH(919) height: dpH(475) anchors { top: parent.top .原创 2020-05-29 14:32:52 · 5227 阅读 · 7 评论 -
QML自定义操作提示框
Message.qml组件import QtQuick 2.0Item { id: airMessageBoxId z: 99999999 width: msgBox.width y: 50 anchors { horizontalCenter: parent.horizontalCenter } //提示框内容 property alias text: msg.text //执行定时器 functio原创 2020-05-15 11:15:17 · 2464 阅读 · 0 评论