qTox  Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
Public Types | Public Slots | Public Member Functions | Protected Attributes | Properties | List of all members
GenericChatItemWidget Class Reference

#include <genericchatitemwidget.h>

Inheritance diagram for GenericChatItemWidget:
Inheritance graph
Collaboration diagram for GenericChatItemWidget:
Collaboration graph

Public Types

enum  ItemType { GroupItem, FriendOfflineItem, FriendOnlineItem }
 

Public Slots

virtual void reloadTheme ()
 

Public Member Functions

 GenericChatItemWidget (bool compact, QWidget *parent=nullptr)
 
bool isCompact () const
 
void setCompact (bool compact)
 
QString getName () const
 
void searchName (const QString &searchString, bool hideAll)
 

Protected Attributes

CroppingLabelnameLabel
 
QLabel statusPic
 

Properties

bool compact
 

Detailed Description

Definition at line 27 of file genericchatitemwidget.h.

Member Enumeration Documentation

◆ ItemType

Enumerator
GroupItem 
FriendOfflineItem 
FriendOnlineItem 

Definition at line 31 of file genericchatitemwidget.h.

Constructor & Destructor Documentation

◆ GenericChatItemWidget()

GenericChatItemWidget::GenericChatItemWidget ( bool  compact,
QWidget *  parent = nullptr 
)
explicit

Definition at line 26 of file genericchatitemwidget.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ getName()

QString GenericChatItemWidget::getName ( ) const

Definition at line 49 of file genericchatitemwidget.cpp.

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

◆ isCompact()

bool GenericChatItemWidget::isCompact ( ) const

Definition at line 39 of file genericchatitemwidget.cpp.

Here is the caller graph for this function:

◆ reloadTheme

virtual void GenericChatItemWidget::reloadTheme ( )
inlinevirtualslot

Definition at line 50 of file genericchatitemwidget.h.

Here is the caller graph for this function:

◆ searchName()

void GenericChatItemWidget::searchName ( const QString &  searchString,
bool  hideAll 
)

Definition at line 54 of file genericchatitemwidget.cpp.

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

◆ setCompact()

void GenericChatItemWidget::setCompact ( bool  compact)

Definition at line 44 of file genericchatitemwidget.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ nameLabel

CroppingLabel* GenericChatItemWidget::nameLabel
protected

Definition at line 53 of file genericchatitemwidget.h.

◆ statusPic

QLabel GenericChatItemWidget::statusPic
protected

Definition at line 54 of file genericchatitemwidget.h.

Property Documentation

◆ compact

bool GenericChatItemWidget::compact
readwrite

Definition at line 47 of file genericchatitemwidget.h.


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