3 ms·
Use Qt, it has the thing you need. it doesn't have to handle user input, you can override QT's event loop to do nothing. Qt's event loop is very hackable. ht
by billconan 10y ago
Use Qt, it has the thing you need.
it doesn't have to handle user input,
you can override QT's event loop to do nothing. Qt's event loop is very hackable.
https://kernelcoder.wordpress.com/tag/event-handling-in-qt/ https://kernelcoder.wordpress.com/tag/event-handling-in-qt/
- billconan 10y agook, how to do it, use qt for ui. create a frameless window and adjust the transparency of your window to 0.5. as for user input, you can try to override its eventloop, simply ignore and bypass events. I have never tried this myself. if this doesn't work, you might need to do some platform dependent code. for example creating an event filter, capture operating system event before qt does and throw it away. I have done this on windows, but I didn't try this on mac. you can ask on the official qt forum if you have any trouble.