Filter that monitor resize events from a reference widgets, and apply the same width to the sibling widget.
More...
|
| | __init__ (self, QWidget sibling, parent=None) |
| | A sibling, which is a widget we want to alter its size, needs to be passed as reference.
|
| |
| | eventFilter (self, obj, QEvent event) |
| | This will read Resize Events, and resize the sibling.
|
| |
Filter that monitor resize events from a reference widgets, and apply the same width to the sibling widget.
◆ __init__()
| gui.taskfeedback.ResizeFilter.__init__ |
( |
| self, |
|
|
QWidget | sibling, |
|
|
| parent = None ) |
A sibling, which is a widget we want to alter its size, needs to be passed as reference.
This Filters is then installed on another widget, the "reference" widget.
- Parameters
-
| [in] | sibling | The QWidget that will have its size altered |
| [in] | parent | The QObject that is the parent of this object |
◆ eventFilter()
| gui.taskfeedback.ResizeFilter.eventFilter |
( |
| self, |
|
|
| obj, |
|
|
QEvent | event ) |
This will read Resize Events, and resize the sibling.
These events should come from the "reference" widget.
- Parameters
-
| [in] | obj | The source of the Event |
| [in] | event | The Event to be filtered. |
◆ _sibling
| gui.taskfeedback.ResizeFilter._sibling = sibling |
|
protected |
The documentation for this class was generated from the following file: