Skip to content

Instantly share code, notes, and snippets.

@steveobbayi
Created November 19, 2019 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steveobbayi/4513c0ff9feab054b0fd8036ebb7da61 to your computer and use it in GitHub Desktop.
Save steveobbayi/4513c0ff9feab054b0fd8036ebb7da61 to your computer and use it in GitHub Desktop.
ApplicationWindow {
id: root
visible: true
x: 0 // position window to the left of the screen
y: 0 // position window to the top of the screen
width: Screen.width // make window width same as screen
height: Screen.height + 1 // make window height same as screen + 1. This prevents the window being trated as fullscreen
flags: Qt.FramelessWindowHint | Qt.Window //first flag removes window decorations, second flag to keeps application thumbnail in the Windows taskbar.
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment