Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: PyQt trigger leaveEvent in parent
Post: RE: PyQt trigger leaveEvent in parent
Thanks for the response.
So to solve my problem I would need to install an event filter on any child widgets and monitor their enter and leave events to trigger some method in the parent widget.
Yes... |
|
kainev |
GUI |
5 |
4,789 |
Dec-03-2019, 01:27 AM |
|
|
Thread: PyQt trigger leaveEvent in parent
Post: PyQt trigger leaveEvent in parent
Hi,
I'm working on a project where I need to change the painting of a widget when the mouse is hovering over it. The issue I'm having is I can't get the leave event to trigger for a widget when the m... |
|
kainev |
GUI |
5 |
4,789 |
Dec-01-2019, 08:15 AM |
|
|
Thread: QLinearGradient Banding
Post: RE: QLinearGradient Banding
The coordinate mode just changes the method in which you specify the gradient coordinates. I think the gradient would need some form of dithering, I can't find anything in PyQt to do this though. |
|
kainev |
GUI |
2 |
2,100 |
Aug-15-2019, 02:04 PM |
|
|
Thread: QLinearGradient Banding
Post: QLinearGradient Banding
Hi,
I am creating an application with PyQt5. I originally was using an image for the background of my program that has the correct gradient however recently wanted to make the interface dynamic/re-si... |
|
kainev |
GUI |
2 |
2,100 |
Aug-09-2019, 06:49 AM |
|
|
Thread: OpenCV - Distinguishing between three icons
Post: RE: OpenCV - Distinguishing between three icons
Thanks for the reply!
I just tried template matching, however I don't think it;s reliable enough for my needs. Especially as the quality of the X picture can vary a reasonable amount depending on the... |
|
kainev |
General Coding Help |
2 |
1,962 |
Jul-30-2019, 11:57 PM |
|
|
Thread: OpenCV - Distinguishing between three icons
Post: OpenCV - Distinguishing between three icons
Hi,
I have an application that needs to determine when a particular icon is showing:
X
[Image: https://i.imgur.com/JTwA9qE.png]
Lakitu
[Image: https://i.imgur.com/9j85n84.png]
Mario
[Image: https:... |
|
kainev |
General Coding Help |
2 |
1,962 |
Jul-30-2019, 04:20 AM |
|
|
Thread: Pyinstaller exe won't launch after crash
Post: Pyinstaller exe won't launch after crash
Hi all,
I recently sent a PyQt5 application packaged with PyInstaller (one-folder) to someone. Upon first run it opened for them to the interface, however there was a bug causing the program to hang ... |
|
kainev |
General Coding Help |
0 |
2,613 |
May-11-2019, 06:06 PM |
|
|
Thread: Detecting if image matches another
Post: RE: Detecting if image matches another
hey, should have mentioned, as the program is taking screenshots quickly and doing processing on them, I never actually save them to disk. Only the comparison image is saved to disc. The code posted w... |
|
kainev |
General Coding Help |
2 |
2,899 |
Dec-02-2018, 02:00 PM |
|
|
Thread: Detecting if image matches another
Post: Detecting if image matches another
Hi,
I have a program that continually takes screenshots of a Nintendo 64 Game from a capture card, it needs to compare the screenshot and determine if it matches another given screenshot.
My origina... |
|
kainev |
General Coding Help |
2 |
2,899 |
Dec-02-2018, 09:10 AM |
|
|
Thread: Screenshot of specific window
Post: RE: Screenshot of specific window
Hey,
Just tried changing the settings in the Compatibility tab but I'm still only getting black screens.
Thanks :) |
|
kainev |
General Coding Help |
10 |
19,304 |
Nov-30-2018, 03:07 PM |
|
|
Thread: Screenshot of specific window
Post: RE: Screenshot of specific window
Yeah I've run the post install, I can't find any option to disable DPI scaling, however I tried to do it in my program with:
ctypes.windll.shcore.SetProcessDpiAwareness(False) |
|
kainev |
General Coding Help |
10 |
19,304 |
Nov-30-2018, 05:10 AM |
|
|
Thread: PyQT5 - connect to mouseMoveEvent
Post: PyQT5 - connect to mouseMoveEvent
Hi,
I have class which inherits from QGraphicsRectItem which is being displayed in a graphics scene/view. It's just a rectangle that can be moved by dragging and resized, currently one of the functio... |
|
kainev |
GUI |
0 |
2,630 |
Nov-28-2018, 02:14 PM |
|
|
Thread: Screenshot of specific window
Post: RE: Screenshot of specific window
Thanks for the response!
I've attempted to use that however all it gives is black screenshots, looking in the comments it appears someone else had the same problem. The code was originally written fo... |
|
kainev |
General Coding Help |
10 |
19,304 |
Nov-28-2018, 09:28 AM |
|
|
Thread: Screenshot of specific window
Post: RE: Screenshot of specific window
If I use pywin32 to set it to the foreground though that just means it'll pop in front of all the other windows, the idea is to be able to capture the windows contents when it's behind other windows. ... |
|
kainev |
General Coding Help |
10 |
19,304 |
Nov-28-2018, 08:25 AM |
|
|
Thread: Keyboard events - incl. numpad
Post: RE: Keyboard events - incl. numpad
That doesn't seem to differentiate numpad keys, the code for numpad 0 is just the code for insert for example and won't trigger the other programs hotkeys.
So far I've managed to send out keypresses ... |
|
kainev |
General Coding Help |
5 |
7,606 |
Nov-26-2018, 08:50 PM |
|
|
Thread: Keyboard events - incl. numpad
Post: RE: Keyboard events - incl. numpad
Hi,
As I mentioned in my original post I have tried pynput but it does not seem to differentiate the numpad to the regular numbers. Is there something about pynput that I'm missing?
Thanks |
|
kainev |
General Coding Help |
5 |
7,606 |
Nov-26-2018, 07:17 PM |
|
|
Thread: Keyboard events - incl. numpad
Post: Keyboard events - incl. numpad
Hi,
I need to be able to listen for and send keyboard inputs, even when the python application isn't in focus. So far I've looked at 'keyboard' and 'pynput'. They looked promising however often I'll ... |
|
kainev |
General Coding Help |
5 |
7,606 |
Nov-26-2018, 11:15 AM |
|
|
Thread: Screenshot of specific window
Post: RE: Screenshot of specific window
Hey,
Thanks for the reply!
This is definitely an option, however that requires the windows to be visible on the screen, ideally I'd be able to screenshot the window even while it's covered by someth... |
|
kainev |
General Coding Help |
10 |
19,304 |
Nov-25-2018, 07:30 PM |
|
|
Thread: Screenshot of specific window
Post: Screenshot of specific window
Hi,
I have a program that needs to take an image of a small section of another program at 29.97 fps. Currently I'm using mss and manually specifying coordinates on the screen. I'm trying to figure ou... |
|
kainev |
General Coding Help |
10 |
19,304 |
Nov-24-2018, 09:20 PM |