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

This class shows information about single group invite and provides buttons to accept/reject it. More...

#include <groupinvitewidget.h>

Inheritance diagram for GroupInviteWidget:
Inheritance graph
Collaboration diagram for GroupInviteWidget:
Collaboration graph

Signals

void accepted (const GroupInvite &invite)
 
void rejected (const GroupInvite &invite)
 

Public Member Functions

 GroupInviteWidget (QWidget *parent, const GroupInvite &invite)
 
void retranslateUi ()
 Retranslate all elements in the form. More...
 
const GroupInvite getInviteInfo () const
 Returns infomation about invitation - e.g., who and when sent. More...
 

Private Attributes

QPushButton * acceptButton
 
QPushButton * rejectButton
 
CroppingLabelinviteMessageLabel
 
QHBoxLayout * widgetLayout
 
GroupInvite inviteInfo
 

Detailed Description

This class shows information about single group invite and provides buttons to accept/reject it.

Definition at line 31 of file groupinvitewidget.h.

Constructor & Destructor Documentation

◆ GroupInviteWidget()

GroupInviteWidget::GroupInviteWidget ( QWidget *  parent,
const GroupInvite invite 
)

Definition at line 38 of file groupinvitewidget.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ accepted

void GroupInviteWidget::accepted ( const GroupInvite invite)
signal
Here is the caller graph for this function:

◆ getInviteInfo()

const GroupInvite GroupInviteWidget::getInviteInfo ( ) const

Returns infomation about invitation - e.g., who and when sent.

Returns
Invite information object

Definition at line 75 of file groupinvitewidget.cpp.

◆ rejected

void GroupInviteWidget::rejected ( const GroupInvite invite)
signal
Here is the caller graph for this function:

◆ retranslateUi()

void GroupInviteWidget::retranslateUi ( )

Retranslate all elements in the form.

Definition at line 58 of file groupinvitewidget.cpp.

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

Member Data Documentation

◆ acceptButton

QPushButton* GroupInviteWidget::acceptButton
private

Definition at line 44 of file groupinvitewidget.h.

◆ inviteInfo

GroupInvite GroupInviteWidget::inviteInfo
private

Definition at line 48 of file groupinvitewidget.h.

◆ inviteMessageLabel

CroppingLabel* GroupInviteWidget::inviteMessageLabel
private

Definition at line 46 of file groupinvitewidget.h.

◆ rejectButton

QPushButton* GroupInviteWidget::rejectButton
private

Definition at line 45 of file groupinvitewidget.h.

◆ widgetLayout

QHBoxLayout* GroupInviteWidget::widgetLayout
private

Definition at line 47 of file groupinvitewidget.h.


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