MainWindow.qml 400 B

12345678910111213141516171819202122232425262728
  1. import QtQuick
  2. import QtQuick.Window
  3. import QtQuick.Controls
  4. import QtQuick.Layouts
  5. import FluentUI
  6. FluWindow {
  7. id:app
  8. width: 640
  9. height: 480
  10. FluAppBar{
  11. id:appbar
  12. width: parent.width
  13. title: "Hello world"
  14. }
  15. FluText {
  16. text: "Hello There!"
  17. font.pixelSize: 32
  18. fontStyle: FluText.Body
  19. anchors.centerIn: parent
  20. }
  21. }