qTox  Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
Public Types | Signals | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
NotificationEdgeWidget Class Referencefinal

#include <notificationedgewidget.h>

Inheritance diagram for NotificationEdgeWidget:
Inheritance graph
Collaboration diagram for NotificationEdgeWidget:
Collaboration graph

Public Types

enum  Position : uint8_t { Top, Bottom }
 

Signals

void clicked ()
 

Public Member Functions

 NotificationEdgeWidget (Position position, QWidget *parent=nullptr)
 
void updateNotificationCount (int count)
 

Protected Member Functions

void mouseReleaseEvent (QMouseEvent *event) final
 

Private Attributes

QLabel * textLabel
 

Detailed Description

Definition at line 26 of file notificationedgewidget.h.

Member Enumeration Documentation

◆ Position

Enumerator
Top 
Bottom 

Definition at line 30 of file notificationedgewidget.h.

Constructor & Destructor Documentation

◆ NotificationEdgeWidget()

NotificationEdgeWidget::NotificationEdgeWidget ( Position  position,
QWidget *  parent = nullptr 
)
explicit

Definition at line 27 of file notificationedgewidget.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ clicked

void NotificationEdgeWidget::clicked ( )
signal
Here is the caller graph for this function:

◆ mouseReleaseEvent()

void NotificationEdgeWidget::mouseReleaseEvent ( QMouseEvent *  event)
finalprotected

Definition at line 57 of file notificationedgewidget.cpp.

◆ updateNotificationCount()

void NotificationEdgeWidget::updateNotificationCount ( int  count)

Definition at line 52 of file notificationedgewidget.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ textLabel

QLabel* NotificationEdgeWidget::textLabel
private

Definition at line 46 of file notificationedgewidget.h.


The documentation for this class was generated from the following files: