KDecoration3::Positioner

Search for usage in LXR

KDecoration3::Positioner Class Reference

#include <decoration.h>

Public Member Functions

 Positioner (const Positioner &other)
 
QRectF anchorRect () const
 
void setAnchorRect (const QRectF &rect)
 

Detailed Description

Popup positioner.

The Positioner type provides a way to position a popup relative to the decoration.

Definition at line 63 of file decoration.h.

Constructor & Destructor Documentation

◆ Positioner() [1/2]

KDecoration3::Positioner::Positioner ( )

Definition at line 69 of file decoration.cpp.

◆ Positioner() [2/2]

KDecoration3::Positioner::Positioner ( const Positioner & other)

Definition at line 74 of file decoration.cpp.

◆ ~Positioner()

KDecoration3::Positioner::~Positioner ( )

Definition at line 79 of file decoration.cpp.

Member Function Documentation

◆ anchorRect()

QRectF KDecoration3::Positioner::anchorRect ( ) const

Returns the anchor rectangle.

The anchor rectangle is specified relative to the top left corner of the decoration.

Definition at line 83 of file decoration.cpp.

◆ setAnchorRect()

void KDecoration3::Positioner::setAnchorRect ( const QRectF & rect)

Sets the anchor rectangle to rect.

Definition at line 88 of file decoration.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 4 2025 12:03:30 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.