mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-28 22:26:43 +08:00
Compare commits
No commits in common. "e77129326929aee5d026e432f5b8d6a32995616a" and "1797276e52a6564a5587a2bf1a9e52eba8df2435" have entirely different histories.
e771293269
...
1797276e52
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
@ -60,7 +60,7 @@ jobs:
|
|||||||
# 拷贝依赖
|
# 拷贝依赖
|
||||||
sudo macdeployqt bin/Release/${targetName}.app -qmldir=. -dmg
|
sudo macdeployqt bin/Release/${targetName}.app -qmldir=. -dmg
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ env.targetName }}_${{ matrix.os }}_${{matrix.qt_ver}}
|
name: ${{ env.targetName }}_${{ matrix.os }}_${{matrix.qt_ver}}
|
||||||
path: bin/release/${{ env.targetName }}.app
|
path: bin/release/${{ env.targetName }}.app
|
||||||
|
2
.github/workflows/ubuntu.yml
vendored
2
.github/workflows/ubuntu.yml
vendored
@ -77,7 +77,7 @@ jobs:
|
|||||||
linuxdeploy-x86_64.AppImage --plugin=qt --output=appimage --create-desktop-file --icon-file=${targetName}.svg --executable=bin/Release/${targetName} --appdir bin/release/
|
linuxdeploy-x86_64.AppImage --plugin=qt --output=appimage --create-desktop-file --icon-file=${targetName}.svg --executable=bin/Release/${targetName} --appdir bin/release/
|
||||||
mv ${{ env.targetName }}-*.AppImage ${{ env.targetName }}.AppImage
|
mv ${{ env.targetName }}-*.AppImage ${{ env.targetName }}.AppImage
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ env.targetName }}_${{ matrix.os }}_${{matrix.qt_ver}}
|
name: ${{ env.targetName }}_${{ matrix.os }}_${{matrix.qt_ver}}
|
||||||
path: ${{ env.targetName }}.AppImage
|
path: ${{ env.targetName }}.AppImage
|
||||||
|
2
.github/workflows/windows-mingw.yml
vendored
2
.github/workflows/windows-mingw.yml
vendored
@ -82,7 +82,7 @@ jobs:
|
|||||||
$name = ${env:archiveName}
|
$name = ${env:archiveName}
|
||||||
echo "::set-output name=packageName::$name"
|
echo "::set-output name=packageName::$name"
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.package.outputs.packageName }}
|
name: ${{ steps.package.outputs.packageName }}
|
||||||
path: dist
|
path: dist
|
||||||
|
2
.github/workflows/windows-qt5.yml
vendored
2
.github/workflows/windows-qt5.yml
vendored
@ -69,7 +69,7 @@ jobs:
|
|||||||
$name = ${env:archiveName}
|
$name = ${env:archiveName}
|
||||||
echo "::set-output name=packageName::$name"
|
echo "::set-output name=packageName::$name"
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.package.outputs.packageName }}
|
name: ${{ steps.package.outputs.packageName }}
|
||||||
path: dist
|
path: dist
|
||||||
|
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
@ -76,7 +76,7 @@ jobs:
|
|||||||
$name = ${env:archiveName}
|
$name = ${env:archiveName}
|
||||||
echo "::set-output name=packageName::$name"
|
echo "::set-output name=packageName::$name"
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.package.outputs.packageName }}
|
name: ${{ steps.package.outputs.packageName }}
|
||||||
path: dist
|
path: dist
|
||||||
|
@ -1494,27 +1494,27 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="64"/>
|
<location filename="qml/page/T_InfoBar.qml" line="64"/>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="75"/>
|
<location filename="qml/page/T_InfoBar.qml" line="74"/>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="85"/>
|
<location filename="qml/page/T_InfoBar.qml" line="84"/>
|
||||||
<source>close '%1'</source>
|
<source>close '%1'</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="64"/>
|
<location filename="qml/page/T_InfoBar.qml" line="64"/>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="75"/>
|
<location filename="qml/page/T_InfoBar.qml" line="74"/>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="85"/>
|
<location filename="qml/page/T_InfoBar.qml" line="84"/>
|
||||||
<source>show '%1</source>
|
<source>show '%1</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="70"/>
|
<location filename="qml/page/T_InfoBar.qml" line="70"/>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="81"/>
|
<location filename="qml/page/T_InfoBar.qml" line="80"/>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="91"/>
|
<location filename="qml/page/T_InfoBar.qml" line="90"/>
|
||||||
<source>This is an '%1'</source>
|
<source>This is an '%1'</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="95"/>
|
<location filename="qml/page/T_InfoBar.qml" line="94"/>
|
||||||
<source>clear all info</source>
|
<source>clear all info</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1620,27 +1620,27 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="64"/>
|
<location filename="qml/page/T_InfoBar.qml" line="64"/>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="75"/>
|
<location filename="qml/page/T_InfoBar.qml" line="74"/>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="85"/>
|
<location filename="qml/page/T_InfoBar.qml" line="84"/>
|
||||||
<source>close '%1'</source>
|
<source>close '%1'</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="64"/>
|
<location filename="qml/page/T_InfoBar.qml" line="64"/>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="75"/>
|
<location filename="qml/page/T_InfoBar.qml" line="74"/>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="85"/>
|
<location filename="qml/page/T_InfoBar.qml" line="84"/>
|
||||||
<source>show '%1</source>
|
<source>show '%1</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="70"/>
|
<location filename="qml/page/T_InfoBar.qml" line="70"/>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="81"/>
|
<location filename="qml/page/T_InfoBar.qml" line="80"/>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="91"/>
|
<location filename="qml/page/T_InfoBar.qml" line="90"/>
|
||||||
<source>This is an '%1'</source>
|
<source>This is an '%1'</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/page/T_InfoBar.qml" line="95"/>
|
<location filename="qml/page/T_InfoBar.qml" line="94"/>
|
||||||
<source>clear all info</source>
|
<source>clear all info</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -68,7 +68,6 @@ FluScrollablePage{
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
info1 = showInfo(qsTr("This is an '%1'").arg("info1"), 0)
|
info1 = showInfo(qsTr("This is an '%1'").arg("info1"), 0)
|
||||||
info1.close()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
FluButton{
|
FluButton{
|
||||||
|
@ -72,6 +72,11 @@ install(TARGETS ${PROJECT_NAME}
|
|||||||
BUNDLE DESTINATION .
|
BUNDLE DESTINATION .
|
||||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
|
|
||||||
|
if(QT_VERSION_MAJOR EQUAL 6)
|
||||||
|
qt_import_qml_plugins(${PROJECT_NAME})
|
||||||
|
qt_finalize_executable(${PROJECT_NAME})
|
||||||
|
endif()
|
||||||
|
|
||||||
if (CMAKE_BUILD_TYPE MATCHES "Release")
|
if (CMAKE_BUILD_TYPE MATCHES "Release")
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
find_program(QT_DEPLOY_QT NAMES macdeployqt)
|
find_program(QT_DEPLOY_QT NAMES macdeployqt)
|
||||||
|
@ -335,7 +335,7 @@ FluButton {
|
|||||||
if (hours === "12") {
|
if (hours === "12") {
|
||||||
hours24 = (period === control.amText) ? 0 : 12;
|
hours24 = (period === control.amText) ? 0 : 12;
|
||||||
} else {
|
} else {
|
||||||
hours24 = (period === control.pmText) ? hours24 + 12 : hours24;
|
hours24 = (period === control.pmText) ? hours24 : hours24 + 12;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
date.setHours(hours24);
|
date.setHours(hours24);
|
||||||
|
@ -335,7 +335,7 @@ FluButton {
|
|||||||
if (hours === "12") {
|
if (hours === "12") {
|
||||||
hours24 = (period === control.amText) ? 0 : 12;
|
hours24 = (period === control.amText) ? 0 : 12;
|
||||||
} else {
|
} else {
|
||||||
hours24 = (period === control.pmText) ? hours24 + 12 : hours24;
|
hours24 = (period === control.pmText) ? hours24 : hours24 + 12;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
date.setHours(hours24);
|
date.setHours(hours24);
|
||||||
|
Loading…
Reference in New Issue
Block a user