Skip to main content

class Popover

Source

Anchored popup with screen edge collision handling and Qt popup dismissal.

Inherits from QFrame

Members​

protected QPointer anchor_

Functions​

showEvent​

protected void showEvent(QShowEvent * )

takesFocus​

protected bool takesFocus()

Source

backgroundRole​

protected Role backgroundRole()

Source

Popover​

public Popover(QWidget * parent)

content​

public QVBoxLayout & content()

Source

actualSide​

public Side actualSide()

Source

foregroundRole​

protected Role foregroundRole()

Source

setContentWidth​

public void setContentWidth(int width)

showFor​

public void showFor(QWidget & anchor, Side side, int offset)

paintEvent​

protected void paintEvent(QPaintEvent * )

hideEvent​

protected void hideEvent(QHideEvent * )

keyPressEvent​

protected void keyPressEvent(QKeyEvent * )

eventFilter​

protected bool eventFilter(QObject * , QEvent * )

positionPopup​

protected void positionPopup()