#include <categorywidget.h>
|
| CategoryWidget (bool compact, QWidget *parent=nullptr) |
|
bool | isExpanded () const |
|
void | setExpanded (bool isExpanded, bool save=true) |
|
void | setName (const QString &name, bool save=true) |
|
void | addFriendWidget (FriendWidget *w, Status::Status s) |
|
void | removeFriendWidget (FriendWidget *w, Status::Status s) |
|
void | updateStatus () |
|
bool | hasChatrooms () const |
|
bool | cycleContacts (bool forward) |
|
bool | cycleContacts (FriendWidget *activeChatroomWidget, bool forward) |
|
void | search (const QString &searchString, bool updateAll=false, bool hideOnline=false, bool hideOffline=false) |
|
| GenericChatItemWidget (bool compact, QWidget *parent=nullptr) |
|
bool | isCompact () const |
|
void | setCompact (bool compact) |
|
QString | getName () const |
|
void | searchName (const QString &searchString, bool hideAll) |
|
Definition at line 32 of file categorywidget.h.
◆ CategoryWidget()
CategoryWidget::CategoryWidget |
( |
bool |
compact, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ addFriendWidget()
◆ cycleContacts() [1/2]
bool CategoryWidget::cycleContacts |
( |
bool |
forward | ) |
|
◆ cycleContacts() [2/2]
bool CategoryWidget::cycleContacts |
( |
FriendWidget * |
activeChatroomWidget, |
|
|
bool |
forward |
|
) |
| |
◆ editName()
void CategoryWidget::editName |
( |
| ) |
|
|
protected |
◆ emitChatroomWidget()
void CategoryWidget::emitChatroomWidget |
( |
QLayout * |
layout, |
|
|
int |
index |
|
) |
| |
|
protected |
◆ friendOfflineLayout()
QLayout * CategoryWidget::friendOfflineLayout |
( |
| ) |
const |
|
protected |
◆ friendOnlineLayout()
QLayout * CategoryWidget::friendOnlineLayout |
( |
| ) |
const |
|
protected |
◆ hasChatrooms()
bool CategoryWidget::hasChatrooms |
( |
| ) |
const |
◆ isExpanded()
bool CategoryWidget::isExpanded |
( |
| ) |
const |
◆ leaveEvent()
void CategoryWidget::leaveEvent |
( |
QEvent * |
event | ) |
|
|
finalprotected |
◆ mouseReleaseEvent()
void CategoryWidget::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
finalprotected |
◆ moveFriendWidgets
◆ onAddFriendWidget()
virtual void CategoryWidget::onAddFriendWidget |
( |
FriendWidget * |
| ) |
|
|
inlineprivatevirtual |
◆ onCompactChanged
void CategoryWidget::onCompactChanged |
( |
bool |
compact | ) |
|
|
slot |
◆ onExpand()
virtual void CategoryWidget::onExpand |
( |
| ) |
|
|
inlineprivatevirtual |
◆ onSetName()
virtual void CategoryWidget::onSetName |
( |
| ) |
|
|
inlineprivatevirtual |
◆ removeFriendWidget()
◆ search()
void CategoryWidget::search |
( |
const QString & |
searchString, |
|
|
bool |
updateAll = false , |
|
|
bool |
hideOnline = false , |
|
|
bool |
hideOffline = false |
|
) |
| |
◆ setContainerAttribute()
void CategoryWidget::setContainerAttribute |
( |
Qt::WidgetAttribute |
attribute, |
|
|
bool |
enabled |
|
) |
| |
|
protected |
◆ setExpanded()
void CategoryWidget::setExpanded |
( |
bool |
isExpanded, |
|
|
bool |
save = true |
|
) |
| |
◆ setName()
void CategoryWidget::setName |
( |
const QString & |
name, |
|
|
bool |
save = true |
|
) |
| |
◆ updateStatus()
void CategoryWidget::updateStatus |
( |
| ) |
|
◆ container
QWidget* CategoryWidget::container |
|
private |
◆ expanded
bool CategoryWidget::expanded = false |
|
private |
◆ fullLayout
QVBoxLayout* CategoryWidget::fullLayout |
|
private |
◆ lineFrame
QFrame* CategoryWidget::lineFrame |
|
private |
◆ listLayout
◆ listWidget
QWidget* CategoryWidget::listWidget |
|
private |
◆ mainLayout
QVBoxLayout* CategoryWidget::mainLayout = nullptr |
|
private |
◆ statusLabel
QLabel* CategoryWidget::statusLabel |
|
private |
◆ topLayout
QHBoxLayout* CategoryWidget::topLayout = nullptr |
|
private |
The documentation for this class was generated from the following files: