mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-30 07:03:46 +08:00
update
This commit is contained in:
parent
fecbf48482
commit
a2e15fc3b0
@ -2,7 +2,6 @@ pragma Singleton
|
|||||||
|
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import FluentUI
|
import FluentUI
|
||||||
import "qrc:///example/qml/global"
|
|
||||||
|
|
||||||
FluObject{
|
FluObject{
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@ pragma Singleton
|
|||||||
|
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import FluentUI
|
import FluentUI
|
||||||
import "qrc:///example/qml/global"
|
|
||||||
|
|
||||||
FluObject{
|
FluObject{
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@ pragma Singleton
|
|||||||
|
|
||||||
import QtQuick 2.15
|
import QtQuick 2.15
|
||||||
import FluentUI 1.0
|
import FluentUI 1.0
|
||||||
import "qrc:///example/qml/global"
|
|
||||||
|
|
||||||
FluObject{
|
FluObject{
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@ pragma Singleton
|
|||||||
|
|
||||||
import QtQuick 2.15
|
import QtQuick 2.15
|
||||||
import FluentUI 1.0
|
import FluentUI 1.0
|
||||||
import "qrc:///example/qml/global"
|
|
||||||
|
|
||||||
FluObject{
|
FluObject{
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ FluApp::~FluApp(){
|
|||||||
|
|
||||||
void FluApp::init(QQuickWindow *window){
|
void FluApp::init(QQuickWindow *window){
|
||||||
this->_application = window;
|
this->_application = window;
|
||||||
qputenv("QT_QUICK_CONTROLS_STYLE","Basic");
|
|
||||||
FramelessHelper::Quick::initialize();
|
FramelessHelper::Quick::initialize();
|
||||||
FramelessConfig::instance()->set(Global::Option::DisableLazyInitializationForMicaMaterial);
|
FramelessConfig::instance()->set(Global::Option::DisableLazyInitializationForMicaMaterial);
|
||||||
FramelessConfig::instance()->set(Global::Option::CenterWindowBeforeShow);
|
FramelessConfig::instance()->set(Global::Option::CenterWindowBeforeShow);
|
||||||
|
@ -322,7 +322,6 @@ Rectangle {
|
|||||||
id: column_text
|
id: column_text
|
||||||
text: modelData
|
text: modelData
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
font.bold: true
|
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
}
|
}
|
||||||
@ -464,6 +463,9 @@ Rectangle {
|
|||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
onContentYChanged: {
|
||||||
|
forceLayout()
|
||||||
|
}
|
||||||
delegate: Rectangle{
|
delegate: Rectangle{
|
||||||
id:item_control
|
id:item_control
|
||||||
readonly property real cellPadding: 8
|
readonly property real cellPadding: 8
|
||||||
@ -482,10 +484,6 @@ Rectangle {
|
|||||||
id:row_text
|
id:row_text
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: row + 1
|
text: row + 1
|
||||||
font.bold:{
|
|
||||||
d.selectionFlag
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
MouseArea{
|
MouseArea{
|
||||||
id:item_control_mouse
|
id:item_control_mouse
|
||||||
|
Loading…
Reference in New Issue
Block a user