goqtframelesswindow | Qt frameless window written in Go | Dektop Application library
kandi X-RAY | goqtframelesswindow Summary
kandi X-RAY | goqtframelesswindow Summary
Qt frameless window written in Go
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- CreateQFramelessWindow creates a new QFramelessWindow
- NewQToolButtonForNotDarwin returns a new QToolButtonForNotDarwin
- Sets the window mask .
goqtframelesswindow Key Features
goqtframelesswindow Examples and Code Snippets
Community Discussions
Trending Discussions on goqtframelesswindow
QUESTION
I'm trying to create a frameless transparent window with Qt and its go-bind(https://github.com/therecipe/qt).
The problem I have faced is that the debris of the text remains in the frameless transparent window. Please look at Gif(https://i.imgur.com/47OC7ps.gif).
The characteristics of the problem I confirmed are the following.
- Problems only occur in resized windows. (But not 100%)
- Only the text initially displayed in the window will remain as debris.
This problem can be avoided by explicitly calling Hide()
, Show()
in QMainWindow itself, but performance problems occur.
I expect that there will be some consideration for resizing the application since the problem occurs only in resized window.
Are there any ideas?
My environment is the following:
- Qt: 5.12.0
- My app source code: https://github.com/akiyosi/goqtframelesswindow commit:8d7aa6e
ANSWER
Answered 2019-Mar-13 at 12:21I solved this problem.
This problem is caused by the shadow of the window in MacOS.
I was able to work around this issue by setting Qt::NoDropShadowWindowHint
to the window.
Perhaps this problem is a bug of MacOS/Qt.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install goqtframelesswindow
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page