This package contains a minimalistic QT frameless window using QML for drawing the application. The window disables Windows features such as aerosnap.
$ qtdeploy build
$ qtdeploy -docker build windows_64_shared
Options can be set for the window when creating it.
Key | Type |
---|---|
Width | int |
Height | int |
Alpha | float64 |
Color | RGB |
BorderRadius | int |
BorderColor | *RGB |
ShadowSize | int |
fw := goqmlframeless.NewWindow(goqmlframeless.Options{
Width: 1024,
Height: 600,
Alpha: 1.0,
Color: goqmlframeless.RGB{R: 0, G: 0, B: 0},
BorderColor: &goqmlframeless.RGB{R: 198, G: 154, B: 31},
ShadowSize: 0,
})
This package is a modification and adaption of akiyosi/goqtframelesswindow, full credit goes to him and his efforts. The reason this package was created was to simplify things and make it more minimalistic. While also using QML to render the application.