KWin
|
This class is used to show the outline of a given geometry. More...
#include <outline.h>
Signals | |
void | activeChanged () |
void | geometryChanged () |
void | unifiedGeometryChanged () |
void | visualParentGeometryChanged () |
Public Member Functions | |
Outline () | |
~Outline () override | |
void | setGeometry (const QRect &outlineGeometry) |
void | setVisualParentGeometry (const QRect &visualParentGeometry) |
void | show () |
void | show (const QRect &outlineGeometry) |
void | show (const QRect &outlineGeometry, const QRect &visualParentGeometry) |
void | hide () |
const QRect & | geometry () const |
const QRect & | visualParentGeometry () const |
QRect | unifiedGeometry () const |
bool | isActive () const |
Properties | |
QRect | geometry |
QRect | visualParentGeometry |
QRect | unifiedGeometry |
bool | active |
This class is used to show the outline of a given geometry.
The class renders an outline by using four windows. One for each border of the geometry. It is possible to replace the outline with an effect. If an effect is available the effect will be used, otherwise the outline will be rendered by using the X implementation.
|
explicit |
Definition at line 30 of file outline.cpp.
|
overridedefault |
|
signal |
const QRect & KWin::Outline::geometry | ( | ) | const |
Definition at line 118 of file outline.cpp.
|
signal |
void KWin::Outline::hide | ( | ) |
bool KWin::Outline::isActive | ( | ) | const |
Definition at line 128 of file outline.cpp.
void KWin::Outline::setGeometry | ( | const QRect & | outlineGeometry | ) |
Set the outline geometry. To show the outline use showOutline.
outlineGeometry | The geometry of the outline to be shown |
Definition at line 77 of file outline.cpp.
void KWin::Outline::setVisualParentGeometry | ( | const QRect & | visualParentGeometry | ) |
Set the visual parent geometry. This is the geometry from which the will emerge.
visualParentGeometry | The visual geometry of the visual parent |
Definition at line 87 of file outline.cpp.
void KWin::Outline::show | ( | ) |
Shows the outline of a window using either an effect or the X implementation. To stop the outline process use hideOutline.
Definition at line 38 of file outline.cpp.
void KWin::Outline::show | ( | const QRect & | outlineGeometry | ) |
Shows the outline for the given outlineGeometry
. This is the same as setOutlineGeometry followed by showOutline directly. To stop the outline process use hideOutline.
outlineGeometry | The geometry of the outline to be shown |
Definition at line 65 of file outline.cpp.
void KWin::Outline::show | ( | const QRect & | outlineGeometry, |
const QRect & | visualParentGeometry ) |
Shows the outline for the given outlineGeometry
animated from visualParentGeometry
. This is the same as setOutlineGeometry followed by setVisualParentGeometry and then showOutline. To stop the outline process use hideOutline.
outlineGeometry | The geometry of the outline to be shown |
visualParentGeometry | The geometry from where the outline should emerge |
Definition at line 70 of file outline.cpp.
QRect KWin::Outline::unifiedGeometry | ( | ) | const |
Definition at line 97 of file outline.cpp.
|
signal |
const QRect & KWin::Outline::visualParentGeometry | ( | ) | const |
Definition at line 123 of file outline.cpp.
|
signal |