qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
#include <notificationscrollarea.h>
Public Slots | |
void | trackWidget (GenericChatroomWidget *widget) |
void | updateVisualTracking () |
Delete notification bar from visible elements on scroll area. More... | |
void | updateTracking (GenericChatroomWidget *widget) |
Delete notification bar from visible elements and widget on scroll area. More... | |
Public Member Functions | |
NotificationScrollArea (QWidget *parent=nullptr) | |
![]() | |
AdjustingScrollArea (QWidget *parent=nullptr) | |
virtual | ~AdjustingScrollArea ()=default |
Protected Member Functions | |
void | resizeEvent (QResizeEvent *event) final |
![]() | |
void | resizeEvent (QResizeEvent *ev) override |
QSize | sizeHint () const final |
Private Types | |
enum | Visibility : uint8_t { Visible, Above, Below } |
Private Slots | |
void | findNextWidget () |
void | findPreviousWidget () |
Private Member Functions | |
Visibility | widgetVisible (QWidget *widget) const |
void | recalculateTopEdge () |
void | recalculateBottomEdge () |
Private Attributes | |
QHash< GenericChatroomWidget *, Visibility > | trackedWidgets |
NotificationEdgeWidget * | topEdge = nullptr |
NotificationEdgeWidget * | bottomEdge = nullptr |
size_t | referencesAbove = 0 |
size_t | referencesBelow = 0 |
Definition at line 28 of file notificationscrollarea.h.
|
private |
Enumerator | |
---|---|
Visible | |
Above | |
Below |
Definition at line 46 of file notificationscrollarea.h.
|
explicit |
|
privateslot |
Definition at line 116 of file notificationscrollarea.cpp.
|
privateslot |
Definition at line 146 of file notificationscrollarea.cpp.
|
private |
Definition at line 194 of file notificationscrollarea.cpp.
|
private |
Definition at line 188 of file notificationscrollarea.cpp.
|
finalprotected |
Definition at line 106 of file notificationscrollarea.cpp.
|
slot |
|
slot |
Delete notification bar from visible elements and widget on scroll area.
widget | Chatroom widget to remove from tracked widgets |
Definition at line 79 of file notificationscrollarea.cpp.
|
slot |
Delete notification bar from visible elements on scroll area.
Definition at line 70 of file notificationscrollarea.cpp.
|
private |
Definition at line 176 of file notificationscrollarea.cpp.
|
private |
Definition at line 58 of file notificationscrollarea.h.
|
private |
Definition at line 59 of file notificationscrollarea.h.
|
private |
Definition at line 60 of file notificationscrollarea.h.
|
private |
Definition at line 57 of file notificationscrollarea.h.
|
private |
Definition at line 56 of file notificationscrollarea.h.