This commit is contained in:
zhuzichu
2023-07-28 16:08:58 +08:00
parent 7ba60ee570
commit 29c57bcdc3
13 changed files with 222 additions and 20 deletions

View File

@ -130,7 +130,9 @@ FluExpander{
"FluPagination",
"FluRadioButtons",
"FluImage",
"FluSpinBox"
"FluSpinBox",
"FluHttp",
"FluWatermark"
];
code = code.replace(/\n/g, "<br>");
code = code.replace(/ /g, "&nbsp;");

View File

@ -4,14 +4,11 @@ import FluentUI
import org.wangwenx190.FramelessHelper
FluWindow {
id:window
property bool fixSize
property alias titleVisible: title_bar.titleVisible
property bool appBarVisible: true
default property alias content: container.data
FluAppBar {
id: title_bar
title: window.title
@ -23,7 +20,6 @@ FluWindow {
}
darkText: lang.dark_mode
}
Item{
id:container
anchors{
@ -34,7 +30,6 @@ FluWindow {
}
clip: true
}
FramelessHelper{
id:framless_helper
onReady: {
@ -59,13 +54,10 @@ FluWindow {
FramelessUtils.systemTheme = FramelessHelperConstants.Light
}
}
function setHitTestVisible(com){
framless_helper.setHitTestVisible(com)
}
function setTitleBarItem(com){
framless_helper.setTitleBarItem(com)
}
}