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

#include <chattextedit.h>

Inheritance diagram for ChatTextEdit:
Inheritance graph
Collaboration diagram for ChatTextEdit:
Collaboration graph

Signals

void enterPressed ()
 
void escapePressed ()
 
void tabPressed ()
 
void keyPressed ()
 
void pasteImage (const QPixmap &pixmap)
 

Public Member Functions

 ChatTextEdit (QWidget *parent=nullptr)
 
 ~ChatTextEdit ()
 
void setLastMessage (QString lm)
 
void sendKeyEvent (QKeyEvent *event)
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event) final
 

Private Member Functions

void retranslateUi ()
 
bool pasteIfImage (QKeyEvent *event)
 

Private Attributes

QString lastMessage
 

Detailed Description

Definition at line 24 of file chattextedit.h.

Constructor & Destructor Documentation

◆ ChatTextEdit()

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

Definition at line 29 of file chattextedit.cpp.

Here is the call graph for this function:

◆ ~ChatTextEdit()

ChatTextEdit::~ChatTextEdit ( )

Definition at line 39 of file chattextedit.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ enterPressed

void ChatTextEdit::enterPressed ( )
signal
Here is the caller graph for this function:

◆ escapePressed

void ChatTextEdit::escapePressed ( )
signal
Here is the caller graph for this function:

◆ keyPressed

void ChatTextEdit::keyPressed ( )
signal
Here is the caller graph for this function:

◆ keyPressEvent()

void ChatTextEdit::keyPressEvent ( QKeyEvent *  event)
finalprotected

Definition at line 44 of file chattextedit.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pasteIfImage()

bool ChatTextEdit::pasteIfImage ( QKeyEvent *  event)
private

Definition at line 92 of file chattextedit.cpp.

Here is the caller graph for this function:

◆ pasteImage

void ChatTextEdit::pasteImage ( const QPixmap &  pixmap)
signal
Here is the caller graph for this function:

◆ retranslateUi()

void ChatTextEdit::retranslateUi ( )
private

Definition at line 82 of file chattextedit.cpp.

Here is the caller graph for this function:

◆ sendKeyEvent()

void ChatTextEdit::sendKeyEvent ( QKeyEvent *  event)

Definition at line 87 of file chattextedit.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLastMessage()

void ChatTextEdit::setLastMessage ( QString  lm)

Definition at line 77 of file chattextedit.cpp.

Here is the caller graph for this function:

◆ tabPressed

void ChatTextEdit::tabPressed ( )
signal
Here is the caller graph for this function:

Member Data Documentation

◆ lastMessage

QString ChatTextEdit::lastMessage
private

Definition at line 48 of file chattextedit.h.


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