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

#include <genericchatitemlayout.h>

Collaboration diagram for GenericChatItemLayout:
Collaboration graph

Public Member Functions

 GenericChatItemLayout ()
 
 GenericChatItemLayout (const GenericChatItemLayout &layout)=delete
 
 ~GenericChatItemLayout ()
 
void addSortedWidget (GenericChatItemWidget *widget, int stretch=0, Qt::Alignment alignment=Qt::Alignment())
 
int indexOfSortedWidget (GenericChatItemWidget *widget) const
 
bool existsSortedWidget (GenericChatItemWidget *widget) const
 
void removeSortedWidget (GenericChatItemWidget *widget)
 
void search (const QString &searchString, bool hideAll=false)
 
QLayout * getLayout () const
 

Private Member Functions

int indexOfClosestSortedWidget (GenericChatItemWidget *widget) const
 

Private Attributes

QVBoxLayout * layout
 

Detailed Description

Definition at line 28 of file genericchatitemlayout.h.

Constructor & Destructor Documentation

◆ GenericChatItemLayout() [1/2]

GenericChatItemLayout::GenericChatItemLayout ( )

Definition at line 31 of file genericchatitemlayout.cpp.

◆ GenericChatItemLayout() [2/2]

GenericChatItemLayout::GenericChatItemLayout ( const GenericChatItemLayout layout)
delete

◆ ~GenericChatItemLayout()

GenericChatItemLayout::~GenericChatItemLayout ( )

Definition at line 36 of file genericchatitemlayout.cpp.

Member Function Documentation

◆ addSortedWidget()

void GenericChatItemLayout::addSortedWidget ( GenericChatItemWidget widget,
int  stretch = 0,
Qt::Alignment  alignment = Qt::Alignment() 
)

Definition at line 41 of file genericchatitemlayout.cpp.

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

◆ existsSortedWidget()

bool GenericChatItemLayout::existsSortedWidget ( GenericChatItemWidget widget) const

Definition at line 68 of file genericchatitemlayout.cpp.

Here is the call graph for this function:

◆ getLayout()

QLayout * GenericChatItemLayout::getLayout ( ) const

Definition at line 102 of file genericchatitemlayout.cpp.

Here is the caller graph for this function:

◆ indexOfClosestSortedWidget()

int GenericChatItemLayout::indexOfClosestSortedWidget ( GenericChatItemWidget widget) const
private

Definition at line 107 of file genericchatitemlayout.cpp.

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

◆ indexOfSortedWidget()

int GenericChatItemLayout::indexOfSortedWidget ( GenericChatItemWidget widget) const

Definition at line 48 of file genericchatitemlayout.cpp.

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

◆ removeSortedWidget()

void GenericChatItemLayout::removeSortedWidget ( GenericChatItemWidget widget)

Definition at line 73 of file genericchatitemlayout.cpp.

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

◆ search()

void GenericChatItemLayout::search ( const QString &  searchString,
bool  hideAll = false 
)

Definition at line 91 of file genericchatitemlayout.cpp.

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

Member Data Documentation

◆ layout

QVBoxLayout* GenericChatItemLayout::layout
private

Definition at line 49 of file genericchatitemlayout.h.


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