#include <ChannelView.hpp>
◆ Context
Enumerator |
---|
None | |
UserCard | |
ReplyThread | |
Search | |
◆ ChannelView()
remove elements that are finite
◆ channel()
◆ clearMessages()
void chatterino::ChannelView::clearMessages |
( |
| ) |
|
◆ clearSelection()
void chatterino::ChannelView::clearSelection |
( |
| ) |
|
◆ enterEvent()
void chatterino::ChannelView::enterEvent |
( |
QEvent * |
| ) |
|
|
overrideprotected |
◆ getContext()
◆ getEnableScrollingToBottom()
bool chatterino::ChannelView::getEnableScrollingToBottom |
( |
| ) |
const |
◆ getFilterIds()
const QList< QUuid > chatterino::ChannelView::getFilterIds |
( |
| ) |
const |
◆ getFilterSet()
FilterSetPtr chatterino::ChannelView::getFilterSet |
( |
| ) |
const |
◆ getFlags()
◆ getMessagesSnapshot()
◆ getOverrideFlags()
const boost::optional< MessageElementFlags > & chatterino::ChannelView::getOverrideFlags |
( |
| ) |
const |
◆ getScrollBar()
Scrollbar & chatterino::ChannelView::getScrollBar |
( |
| ) |
|
◆ getSelectedText()
QString chatterino::ChannelView::getSelectedText |
( |
| ) |
|
◆ handleLinkClick()
void chatterino::ChannelView::handleLinkClick |
( |
QMouseEvent * |
event, |
|
|
const Link & |
link, |
|
|
MessageLayout * |
layout |
|
) |
| |
|
protected |
◆ hasSelection()
bool chatterino::ChannelView::hasSelection |
( |
| ) |
|
◆ hasSourceChannel()
bool chatterino::ChannelView::hasSourceChannel |
( |
| ) |
const |
◆ hideEvent()
void chatterino::ChannelView::hideEvent |
( |
QHideEvent * |
| ) |
|
|
overrideprotected |
◆ leaveEvent()
void chatterino::ChannelView::leaveEvent |
( |
QEvent * |
| ) |
|
|
overrideprotected |
◆ mayContainMessage()
bool chatterino::ChannelView::mayContainMessage |
( |
const MessagePtr & |
message | ) |
|
This method is meant to be used when filtering out channels. It must return true if a message belongs in this channel. It might return true if a message doesn't belong in this channel.
◆ mouseDoubleClickEvent()
void chatterino::ChannelView::mouseDoubleClickEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mouseMoveEvent()
void chatterino::ChannelView::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mousePressEvent()
void chatterino::ChannelView::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
void chatterino::ChannelView::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ paintEvent()
void chatterino::ChannelView::paintEvent |
( |
QPaintEvent * |
| ) |
|
|
overrideprotected |
◆ pausable()
bool chatterino::ChannelView::pausable |
( |
| ) |
const |
◆ pause()
void chatterino::ChannelView::pause |
( |
PauseReason |
reason, |
|
|
boost::optional< uint > |
msecs = boost::none |
|
) |
| |
Msecs has a value
No value found so we insert a new one.
If the new time point is newer then we override.
Msecs is none -> pause is infinite. We just override the value.
◆ paused()
bool chatterino::ChannelView::paused |
( |
| ) |
const |
No elements in the map -> not paused
◆ queueLayout()
void chatterino::ChannelView::queueLayout |
( |
| ) |
|
◆ queueUpdate()
void chatterino::ChannelView::queueUpdate |
( |
| ) |
|
◆ resizeEvent()
void chatterino::ChannelView::resizeEvent |
( |
QResizeEvent * |
| ) |
|
|
overrideprotected |
◆ scaleChangedEvent()
void chatterino::ChannelView::scaleChangedEvent |
( |
float |
scale | ) |
|
|
overrideprotectedvirtual |
◆ scrollToMessage()
bool chatterino::ChannelView::scrollToMessage |
( |
const MessagePtr & |
message | ) |
|
Attempts to scroll to a message in this channel.
- Returns
true
if the message was found and highlighted.
◆ scrollToMessageId()
bool chatterino::ChannelView::scrollToMessageId |
( |
const QString & |
id | ) |
|
Attempts to scroll to a message id in this channel.
- Returns
true
if the message was found and highlighted.
◆ setChannel()
void chatterino::ChannelView::setChannel |
( |
ChannelPtr |
channel_ | ) |
|
Clear connections from the last channel
make copy of channel and expose
◆ setEnableScrollingToBottom()
void chatterino::ChannelView::setEnableScrollingToBottom |
( |
bool |
value | ) |
|
◆ setFilters()
void chatterino::ChannelView::setFilters |
( |
const QList< QUuid > & |
ids | ) |
|
◆ setOverrideFlags()
◆ setPausable()
void chatterino::ChannelView::setPausable |
( |
bool |
value | ) |
|
◆ setSourceChannel()
void chatterino::ChannelView::setSourceChannel |
( |
ChannelPtr |
sourceChannel | ) |
|
◆ showUserInfoPopup()
void chatterino::ChannelView::showUserInfoPopup |
( |
const QString & |
userName, |
|
|
QString |
alternativePopoutChannel = QString() |
|
) |
| |
Creates and shows a UserInfoPopup dialog.
- Parameters
-
userName | The login name of the user |
alternativePopoutChannel | Optional parameter containing the channel name to use for context |
◆ sourceChannel()
ChannelPtr chatterino::ChannelView::sourceChannel |
( |
| ) |
const |
◆ themeChangedEvent()
void chatterino::ChannelView::themeChangedEvent |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ tryGetMessageAt()
bool chatterino::ChannelView::tryGetMessageAt |
( |
QPoint |
p, |
|
|
std::shared_ptr< MessageLayout > & |
message, |
|
|
QPoint & |
relativePos, |
|
|
int & |
index |
|
) |
| |
|
protected |
◆ unpause()
void chatterino::ChannelView::unpause |
( |
PauseReason |
reason | ) |
|
Remove the value from the map
◆ updateLastReadMessage()
void chatterino::ChannelView::updateLastReadMessage |
( |
| ) |
|
◆ wheelEvent()
void chatterino::ChannelView::wheelEvent |
( |
QWheelEvent * |
event | ) |
|
|
overrideprotected |
◆ down
QCursor chatterino::ChannelView::down |
◆ linkClicked
pajlada::Signals::Signal<const Link &> chatterino::ChannelView::linkClicked |
◆ liveStatusChanged
pajlada::Signals::NoArgSignal chatterino::ChannelView::liveStatusChanged |
◆ mouseDown
pajlada::Signals::Signal<QMouseEvent *> chatterino::ChannelView::mouseDown |
◆ neutral
QCursor chatterino::ChannelView::neutral |
◆ openChannelIn
◆ selectionChanged
pajlada::Signals::NoArgSignal chatterino::ChannelView::selectionChanged |
◆ tabHighlightRequested
pajlada::Signals::Signal<HighlightState> chatterino::ChannelView::tabHighlightRequested |
◆ up
QCursor chatterino::ChannelView::up |
The documentation for this class was generated from the following files: