1#ifndef RESIZE_EVENT_FILTER_H
2#define RESIZE_EVENT_FILTER_H
34 bool eventFilter(QObject *watched, QEvent *event)
override;
Main widget responsible for rendering and animating the dynamic blob.
Definition blob_animation.h:30
ResizeEventFilter(QLabel *label, BlobAnimation *animation)
Constructs a ResizeEventFilter.
Definition resize_event_filter.cpp:8
BlobAnimation * animation_
Pointer to the BlobAnimation widget being monitored for resize events.
Definition resize_event_filter.h:40
QLabel * label_
Pointer to the QLabel that needs to be centered.
Definition resize_event_filter.h:38
bool eventFilter(QObject *watched, QEvent *event) override
Filters events sent to the watched object (the BlobAnimation widget). Checks if the event is a Resize...
Definition resize_event_filter.cpp:12