|
qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
This is a widget with dialog buttons to accept/reject a call. More...
#include <callconfirmwidget.h>


Public Slots | |
| void | reposition () |
| Recalculate our positions to track the anchor. More... | |
Signals | |
| void | accepted () |
| void | rejected () |
Public Member Functions | |
| CallConfirmWidget (const QWidget *anchor) | |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *event) final |
| void | showEvent (QShowEvent *event) final |
| void | hideEvent (QHideEvent *event) final |
| bool | eventFilter (QObject *, QEvent *event) final |
Private Attributes | |
| const QWidget * | anchor |
| The widget we're going to be tracking. More... | |
| QRect | mainRect |
| QPolygon | spikePoly |
| QBrush | brush |
| const int | rectW |
| const int | rectH |
| const int | spikeW |
| const int | spikeH |
| const int | roundedFactor |
| By how much are the corners of the main rect rounded. More... | |
| const qreal | rectRatio |
| Used to correct the rounding factors on non-square rects. More... | |
This is a widget with dialog buttons to accept/reject a call.
It tracks the position of another widget called the anchor and looks like a bubble at the bottom of that widget.
Definition at line 31 of file callconfirmwidget.h.
|
explicit |
Definition at line 53 of file callconfirmwidget.cpp.
|
signal |

|
finalprotected |
|
finalprotected |
Definition at line 166 of file callconfirmwidget.cpp.
|
finalprotected |
Definition at line 144 of file callconfirmwidget.cpp.
|
signal |

|
slot |
Recalculate our positions to track the anchor.
Definition at line 116 of file callconfirmwidget.cpp.

|
finalprotected |
|
private |
The widget we're going to be tracking.
Definition at line 51 of file callconfirmwidget.h.
|
private |
Definition at line 55 of file callconfirmwidget.h.
|
private |
Definition at line 53 of file callconfirmwidget.h.
|
private |
Definition at line 57 of file callconfirmwidget.h.
|
private |
Used to correct the rounding factors on non-square rects.
Definition at line 60 of file callconfirmwidget.h.
|
private |
Definition at line 57 of file callconfirmwidget.h.
|
private |
By how much are the corners of the main rect rounded.
Definition at line 59 of file callconfirmwidget.h.
|
private |
Definition at line 58 of file callconfirmwidget.h.
|
private |
Definition at line 54 of file callconfirmwidget.h.
|
private |
Definition at line 58 of file callconfirmwidget.h.
1.8.17