qTox  Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | List of all members
EmoticonsWidget Class Reference

#include <emoticonswidget.h>

Inheritance diagram for EmoticonsWidget:
Inheritance graph
Collaboration diagram for EmoticonsWidget:
Collaboration graph

Signals

void insertEmoticon (QString str)
 

Public Member Functions

 EmoticonsWidget (QWidget *parent=nullptr)
 
QSize sizeHint () const override
 

Protected Member Functions

void mouseReleaseEvent (QMouseEvent *ev) final
 
void mousePressEvent (QMouseEvent *ev) final
 
void wheelEvent (QWheelEvent *event) final
 
void keyPressEvent (QKeyEvent *e) final
 

Private Slots

void onSmileyClicked ()
 
void onPageButtonClicked ()
 
void PageButtonsUpdate ()
 

Private Attributes

QStackedWidget stack
 
QVBoxLayout layout
 
QList< std::shared_ptr< QIcon > > emoticonsIcons
 

Detailed Description

Definition at line 31 of file emoticonswidget.h.

Constructor & Destructor Documentation

◆ EmoticonsWidget()

EmoticonsWidget::EmoticonsWidget ( QWidget *  parent = nullptr)
explicit

Definition at line 34 of file emoticonswidget.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ insertEmoticon

void EmoticonsWidget::insertEmoticon ( QString  str)
signal
Here is the caller graph for this function:

◆ keyPressEvent()

void EmoticonsWidget::keyPressEvent ( QKeyEvent *  e)
finalprotected

Definition at line 193 of file emoticonswidget.cpp.

◆ mousePressEvent()

void EmoticonsWidget::mousePressEvent ( QMouseEvent *  ev)
finalprotected

Definition at line 158 of file emoticonswidget.cpp.

◆ mouseReleaseEvent()

void EmoticonsWidget::mouseReleaseEvent ( QMouseEvent *  ev)
finalprotected

Definition at line 152 of file emoticonswidget.cpp.

◆ onPageButtonClicked

void EmoticonsWidget::onPageButtonClicked ( )
privateslot

Definition at line 138 of file emoticonswidget.cpp.

Here is the caller graph for this function:

◆ onSmileyClicked

void EmoticonsWidget::onSmileyClicked ( )
privateslot

Definition at line 127 of file emoticonswidget.cpp.

Here is the caller graph for this function:

◆ PageButtonsUpdate

void EmoticonsWidget::PageButtonsUpdate ( )
privateslot

Definition at line 182 of file emoticonswidget.cpp.

Here is the caller graph for this function:

◆ sizeHint()

QSize EmoticonsWidget::sizeHint ( ) const
override

Definition at line 147 of file emoticonswidget.cpp.

Here is the caller graph for this function:

◆ wheelEvent()

void EmoticonsWidget::wheelEvent ( QWheelEvent *  event)
finalprotected

Definition at line 162 of file emoticonswidget.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ emoticonsIcons

QList<std::shared_ptr<QIcon> > EmoticonsWidget::emoticonsIcons
private

Definition at line 54 of file emoticonswidget.h.

◆ layout

QVBoxLayout EmoticonsWidget::layout
private

Definition at line 53 of file emoticonswidget.h.

◆ stack

QStackedWidget EmoticonsWidget::stack
private

Definition at line 52 of file emoticonswidget.h.


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