This commit is contained in:
zhuzichu 2023-07-11 10:46:57 +08:00
parent 6275c161fe
commit 78815224fe
10 changed files with 7 additions and 9 deletions

View File

@ -24,7 +24,7 @@ endif()
file(TO_CMAKE_PATH "/" PATH_SEPARATOR)
#
add_definitions(-DVERSION=1,3,7,3)
add_definitions(-DVERSION=1,3,7,4)
find_package(Qt6 REQUIRED COMPONENTS Quick)

View File

@ -33,6 +33,7 @@ FluContentPage {
cellWidth: 80
cellHeight: 80
clip: true
boundsBehavior: GridView.StopAtBounds
model:FluApp.awesomelist()
ScrollBar.vertical: FluScrollBar {}
anchors{

View File

@ -58,7 +58,6 @@ FluScrollablePage{
width: parent.width
height: parent.height
contentWidth: width
maximumFlickVelocity: 1680
contentHeight: text_info.height
ScrollBar.vertical: FluScrollBar {}
FluText{

View File

@ -25,6 +25,10 @@ CustomWindow {
event.accepted = false
}
Component.onCompleted: {
FluTools.setQuitOnLastWindowClosed(false)
}
Connections{
target: appInfo
function onActiveWindow(){

View File

@ -35,7 +35,6 @@ int main(int argc, char *argv[])
if(!appInfo->isOwnerProcess(&ipc)){
return 0;
}
app.setQuitOnLastWindowClosed(false);
QQmlApplicationEngine engine;
FramelessHelper::Quick::registerTypes(&engine);
#ifdef FLUENTUI_BUILD_STATIC_LIB

View File

@ -15,7 +15,7 @@ endif()
set(QML_PLUGIN_DIRECTORY ${CMAKE_PREFIX_PATH}/qml/FluentUI)
#
add_definitions(-DVERSION=1,3,7,3)
add_definitions(-DVERSION=1,3,7,4)
find_package(Qt6 REQUIRED COMPONENTS Core Quick Qml)
@ -67,7 +67,6 @@ if (FLUENTUI_BUILD_STATIC_LIB)
OUTPUT_DIRECTORY ${QML_PLUGIN_DIRECTORY}
VERSION 1.0
URI "FluentUI"
#qmltypesfluentuiplugin.qmltypes使import FluentUIplugins.qmltypes
TYPEINFO "plugins.qmltypes"
SOURCES ${sources_files} fluentui.rc
QML_FILES ${qml_files}

View File

@ -785,7 +785,6 @@ Item {
}
boundsBehavior: ListView.StopAtBounds
clip: true
maximumFlickVelocity: 1680
contentHeight: nav_list.contentHeight
ScrollBar.vertical: FluScrollBar {}
ListView{

View File

@ -38,7 +38,6 @@ FluPage {
bottom: parent.bottom
bottomMargin: control.bottomPadding
}
maximumFlickVelocity: 1680
contentWidth: parent.width
contentHeight: container.height
ScrollBar.vertical: FluScrollBar {

View File

@ -170,7 +170,6 @@ Rectangle {
}
boundsBehavior: Flickable.StopAtBounds
ScrollBar.horizontal: FluScrollBar{}
maximumFlickVelocity: 1680
ScrollBar.vertical: FluScrollBar{}
selectionModel: ItemSelectionModel {
id:selection_model

View File

@ -251,7 +251,6 @@ Item {
flickableDirection: Flickable.HorizontalAndVerticalFlick
clip: true
boundsBehavior: ListView.StopAtBounds
maximumFlickVelocity: 1680
ScrollBar.vertical: FluScrollBar {}
ScrollBar.horizontal: FluScrollBar { }
}