| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- import QtQuick
- import QtQuick.Layouts
- import FluentUI
- // 这个组件是在总览那儿小小的显示
- // 任务的名称 + 时间 以及一个设置的入口
- Item {
- width: 225
- height: 40
- FluText{
- id: taskName
- anchors{
- left: parent.left
- leftMargin: 0
- top: parent.top
- topMargin: 0
- }
- text: "taskName"
- font: FluTextStyle.BodyStrong
- }
- FluText{
- id: taskTime
- anchors{
- left: parent.left
- leftMargin: 0
- bottom: parent.bottom
- bottomMargin: 0
- }
- text: "2023-05-26 18:33:55"
- font: FluTextStyle.Caption
- }
- FluButton{
- id: settingButton
- anchors{
- right: parent.right
- rightMargin: 0
- verticalCenter: parent.verticalCenter
- }
- text:"setting"
- onClicked: {
- showSuccess("setting")
- }
- }
- }
|