Chatterino
Public Types | Public Slots | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Friends | List of all members
chatterino::Split Class Reference

#include <Split.hpp>

Inheritance diagram for chatterino::Split:
[legend]
Collaboration diagram for chatterino::Split:
[legend]

Public Types

enum  Action {
  Action::RefreshTab, Action::ResetMouseStatus, Action::AppendNewSplit, Action::Delete,
  Action::SelectSplitLeft, Action::SelectSplitRight, Action::SelectSplitAbove, Action::SelectSplitBelow
}
 

Public Slots

void addSibling ()
 Slots. More...
 
void deleteFromContainer ()
 
void changeChannel ()
 
void explainMoving ()
 
void explainSplitting ()
 
void popup ()
 
void clear ()
 
void openInBrowser ()
 
void openModViewInBrowser ()
 
void openWhispersInBrowser ()
 
void openBrowserPlayer ()
 
void openInStreamlink ()
 
void openWithCustomScheme ()
 
void copyToClipboard ()
 
void startWatching ()
 
void setFiltersDialog ()
 
void showSearch (bool singleChannel)
 
void showViewerList ()
 
void openSubPage ()
 
void reloadChannelAndSubscriberEmotes ()
 
void reconnect ()
 

Public Member Functions

 Split (QWidget *parent)
 
 ~Split () override
 
ChannelViewgetChannelView ()
 
SplitInputgetInput ()
 
IndirectChannel getIndirectChannel ()
 
ChannelPtr getChannel () const
 
void setChannel (IndirectChannel newChannel)
 
void setFilters (const QList< QUuid > ids)
 
const QList< QUuid > getFilters () const
 
void setModerationMode (bool value)
 
bool getModerationMode () const
 
void insertTextToInput (const QString &text)
 
void showChangeChannelPopup (const char *dialogTitle, bool empty, std::function< void(bool)> callback)
 
void updateGifEmotes ()
 
void updateLastReadMessage ()
 
void setIsTopRightSplit (bool value)
 
void drag ()
 
bool isInContainer () const
 
void setContainer (SplitContainer *container)
 
void setInputReply (const std::shared_ptr< MessageThread > &reply)
 
- Public Member Functions inherited from chatterino::BaseWidget
 BaseWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
virtual float scale () const
 
boost::optional< float > overrideScale () const
 
void setOverrideScale (boost::optional< float >)
 
QSize scaleIndependantSize () const
 
int scaleIndependantWidth () const
 
int scaleIndependantHeight () const
 
void setScaleIndependantSize (int width, int height)
 
void setScaleIndependantSize (QSize)
 
void setScaleIndependantWidth (int value)
 
void setScaleIndependantHeight (int value)
 
float qtFontScale () const
 

Public Attributes

pajlada::Signals::NoArgSignal channelChanged
 
pajlada::Signals::NoArgSignal focused
 
pajlada::Signals::NoArgSignal focusLost
 
pajlada::Signals::Signal< ActionactionRequested
 
pajlada::Signals::Signal< ChannelPtropenSplitRequested
 
pajlada::Signals::Signal< int, Split * > insertSplitRequested
 
- Public Attributes inherited from chatterino::BaseWidget
pajlada::Signals::Signal< float > scaleChanged
 

Static Public Attributes

static pajlada::Signals::Signal< Qt::KeyboardModifiers > modifierStatusChanged
 
static Qt::KeyboardModifiers modifierStatus = Qt::NoModifier
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 
void mouseMoveEvent (QMouseEvent *event) override
 
void keyPressEvent (QKeyEvent *event) override
 
void keyReleaseEvent (QKeyEvent *event) override
 
void resizeEvent (QResizeEvent *event) override
 
void enterEvent (QEvent *event) override
 
void leaveEvent (QEvent *event) override
 
void dragEnterEvent (QDragEnterEvent *event) override
 
void dropEvent (QDropEvent *event) override
 
- Protected Member Functions inherited from chatterino::BaseWidget
virtual void childEvent (QChildEvent *) override
 
virtual void showEvent (QShowEvent *) override
 
virtual void scaleChangedEvent (float newScale)
 
virtual void themeChangedEvent ()
 
void setScale (float value)
 
void clearShortcuts ()
 

Friends

class SplitInput
 

Additional Inherited Members

- Protected Attributes inherited from chatterino::BaseWidget
Themetheme
 
std::vector< QShortcut * > shortcuts_
 
pajlada::Signals::SignalHolder signalHolder_
 

Member Enumeration Documentation

◆ Action

Enumerator
RefreshTab 
ResetMouseStatus 
AppendNewSplit 
Delete 
SelectSplitLeft 
SelectSplitRight 
SelectSplitAbove 
SelectSplitBelow 

Constructor & Destructor Documentation

◆ Split()

chatterino::Split::Split ( QWidget *  parent)
explicit
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~Split()

chatterino::Split::~Split ( )
override

Member Function Documentation

◆ addSibling

void chatterino::Split::addSibling ( )
slot

Slots.

Here is the caller graph for this function:

◆ changeChannel

void chatterino::Split::changeChannel ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ clear

void chatterino::Split::clear ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ copyToClipboard

void chatterino::Split::copyToClipboard ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deleteFromContainer

void chatterino::Split::deleteFromContainer ( )
slot
Here is the caller graph for this function:

◆ drag()

void chatterino::Split::drag ( )
Here is the caller graph for this function:

◆ dragEnterEvent()

void chatterino::Split::dragEnterEvent ( QDragEnterEvent *  event)
overrideprotected
Here is the call graph for this function:

◆ dropEvent()

void chatterino::Split::dropEvent ( QDropEvent *  event)
overrideprotected
Here is the call graph for this function:

◆ enterEvent()

void chatterino::Split::enterEvent ( QEvent *  event)
overrideprotected

◆ explainMoving

void chatterino::Split::explainMoving ( )
slot
Here is the caller graph for this function:

◆ explainSplitting

void chatterino::Split::explainSplitting ( )
slot
Here is the caller graph for this function:

◆ getChannel()

ChannelPtr chatterino::Split::getChannel ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getChannelView()

ChannelView & chatterino::Split::getChannelView ( )
Here is the caller graph for this function:

◆ getFilters()

const QList< QUuid > chatterino::Split::getFilters ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIndirectChannel()

IndirectChannel chatterino::Split::getIndirectChannel ( )
Here is the caller graph for this function:

◆ getInput()

SplitInput & chatterino::Split::getInput ( )
Here is the call graph for this function:

◆ getModerationMode()

bool chatterino::Split::getModerationMode ( ) const
Here is the caller graph for this function:

◆ insertTextToInput()

void chatterino::Split::insertTextToInput ( const QString &  text)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isInContainer()

bool chatterino::Split::isInContainer ( ) const

◆ keyPressEvent()

void chatterino::Split::keyPressEvent ( QKeyEvent *  event)
overrideprotected

◆ keyReleaseEvent()

void chatterino::Split::keyReleaseEvent ( QKeyEvent *  event)
overrideprotected

◆ leaveEvent()

void chatterino::Split::leaveEvent ( QEvent *  event)
overrideprotected
Here is the call graph for this function:

◆ mouseMoveEvent()

void chatterino::Split::mouseMoveEvent ( QMouseEvent *  event)
overrideprotected

◆ openBrowserPlayer

void chatterino::Split::openBrowserPlayer ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openInBrowser

void chatterino::Split::openInBrowser ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openInStreamlink

void chatterino::Split::openInStreamlink ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openModViewInBrowser

void chatterino::Split::openModViewInBrowser ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openSubPage

void chatterino::Split::openSubPage ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openWhispersInBrowser

void chatterino::Split::openWhispersInBrowser ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openWithCustomScheme

void chatterino::Split::openWithCustomScheme ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ paintEvent()

void chatterino::Split::paintEvent ( QPaintEvent *  event)
overrideprotected

◆ popup

void chatterino::Split::popup ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ reconnect

void chatterino::Split::reconnect ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ reloadChannelAndSubscriberEmotes

void chatterino::Split::reloadChannelAndSubscriberEmotes ( )
slot
Here is the call graph for this function:

◆ resizeEvent()

void chatterino::Split::resizeEvent ( QResizeEvent *  event)
overrideprotected
Here is the call graph for this function:

◆ setChannel()

void chatterino::Split::setChannel ( IndirectChannel  newChannel)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setContainer()

void chatterino::Split::setContainer ( SplitContainer container)

◆ setFilters()

void chatterino::Split::setFilters ( const QList< QUuid >  ids)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setFiltersDialog

void chatterino::Split::setFiltersDialog ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setInputReply()

void chatterino::Split::setInputReply ( const std::shared_ptr< MessageThread > &  reply)
Here is the call graph for this function:

◆ setIsTopRightSplit()

void chatterino::Split::setIsTopRightSplit ( bool  value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setModerationMode()

void chatterino::Split::setModerationMode ( bool  value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ showChangeChannelPopup()

void chatterino::Split::showChangeChannelPopup ( const char *  dialogTitle,
bool  empty,
std::function< void(bool)>  callback 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ showSearch

void chatterino::Split::showSearch ( bool  singleChannel)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ showViewerList

void chatterino::Split::showViewerList ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ startWatching

void chatterino::Split::startWatching ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateGifEmotes()

void chatterino::Split::updateGifEmotes ( )
Here is the call graph for this function:

◆ updateLastReadMessage()

void chatterino::Split::updateLastReadMessage ( )
Here is the call graph for this function:

Friends And Related Function Documentation

◆ SplitInput

friend class SplitInput
friend

Member Data Documentation

◆ actionRequested

pajlada::Signals::Signal<Action> chatterino::Split::actionRequested

◆ channelChanged

pajlada::Signals::NoArgSignal chatterino::Split::channelChanged

◆ focused

pajlada::Signals::NoArgSignal chatterino::Split::focused

◆ focusLost

pajlada::Signals::NoArgSignal chatterino::Split::focusLost

◆ insertSplitRequested

pajlada::Signals::Signal<int, Split *> chatterino::Split::insertSplitRequested

◆ modifierStatus

Qt::KeyboardModifiers chatterino::Split::modifierStatus = Qt::NoModifier
static

◆ modifierStatusChanged

pajlada::Signals::Signal< Qt::KeyboardModifiers > chatterino::Split::modifierStatusChanged
static

◆ openSplitRequested

pajlada::Signals::Signal<ChannelPtr> chatterino::Split::openSplitRequested

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