#include <SplitInput.hpp>
◆ SplitInput() [1/2]
chatterino::SplitInput::SplitInput |
( |
Split * |
_chatWidget, |
|
|
bool |
enableInlineReplying = true |
|
) |
| |
◆ SplitInput() [2/2]
chatterino::SplitInput::SplitInput |
( |
QWidget * |
parent, |
|
|
Split * |
_chatWidget, |
|
|
bool |
enableInlineReplying = true |
|
) |
| |
◆ addShortcuts()
void chatterino::SplitInput::addShortcuts |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ clearInput()
void chatterino::SplitInput::clearInput |
( |
| ) |
|
|
protected |
Clears the input box, clears reply thread if inline replies are enabled.
◆ clearSelection()
void chatterino::SplitInput::clearSelection |
( |
| ) |
|
◆ eventFilter()
bool chatterino::SplitInput::eventFilter |
( |
QObject * |
obj, |
|
|
QEvent * |
event |
|
) |
| |
|
overrideprotected |
◆ getInputText()
QString chatterino::SplitInput::getInputText |
( |
| ) |
const |
◆ giveFocus()
void chatterino::SplitInput::giveFocus |
( |
Qt::FocusReason |
reason | ) |
|
|
protectedvirtual |
◆ handleSendMessage()
QString chatterino::SplitInput::handleSendMessage |
( |
std::vector< QString > & |
arguments | ) |
|
|
protected |
◆ hide()
void chatterino::SplitInput::hide |
( |
| ) |
|
Hide the widget.
This is a no-op if the SplitInput is already hidden
◆ hideCompletionPopup()
void chatterino::SplitInput::hideCompletionPopup |
( |
| ) |
|
|
protected |
◆ initLayout()
void chatterino::SplitInput::initLayout |
( |
| ) |
|
|
protected |
◆ insertCompletionText()
void chatterino::SplitInput::insertCompletionText |
( |
const QString & |
text | ) |
|
|
protected |
◆ insertText()
void chatterino::SplitInput::insertText |
( |
const QString & |
text | ) |
|
◆ installKeyPressedEvent()
void chatterino::SplitInput::installKeyPressedEvent |
( |
| ) |
|
|
protected |
◆ isEditFirstWord()
bool chatterino::SplitInput::isEditFirstWord |
( |
| ) |
const |
◆ isHidden()
bool chatterino::SplitInput::isHidden |
( |
| ) |
const |
Returns the hidden or shown state of the SplitInput.
Hidden in this context means "has 0 height", meaning it won't be visible but Qt still treats the widget as "technically visible" so we receive events as if the widget is visible
◆ onCursorPositionChanged()
void chatterino::SplitInput::onCursorPositionChanged |
( |
| ) |
|
|
protected |
◆ onTextChanged()
void chatterino::SplitInput::onTextChanged |
( |
| ) |
|
|
protected |
◆ openEmotePopup()
void chatterino::SplitInput::openEmotePopup |
( |
| ) |
|
|
protected |
◆ paintEvent()
void chatterino::SplitInput::paintEvent |
( |
QPaintEvent * |
| ) |
|
|
overrideprotected |
◆ postMessageSend()
void chatterino::SplitInput::postMessageSend |
( |
const QString & |
message, |
|
|
const std::vector< QString > & |
arguments |
|
) |
| |
|
protected |
◆ resizeEvent()
void chatterino::SplitInput::resizeEvent |
( |
QResizeEvent * |
| ) |
|
|
overrideprotected |
◆ scaleChangedEvent()
void chatterino::SplitInput::scaleChangedEvent |
( |
float |
scale_ | ) |
|
|
overrideprotectedvirtual |
◆ scaledMaxHeight()
int chatterino::SplitInput::scaledMaxHeight |
( |
| ) |
const |
|
protected |
◆ setPlaceholderText()
void chatterino::SplitInput::setPlaceholderText |
( |
const QString & |
text | ) |
|
◆ setReply()
void chatterino::SplitInput::setReply |
( |
std::shared_ptr< MessageThread > |
reply, |
|
|
bool |
showInlineReplying = true |
|
) |
| |
◆ shouldPreventInput()
bool chatterino::SplitInput::shouldPreventInput |
( |
const QString & |
text | ) |
const |
|
protected |
◆ show()
void chatterino::SplitInput::show |
( |
| ) |
|
Show the widget.
This is a no-op if the SplitInput is already shown
◆ showCompletionPopup()
void chatterino::SplitInput::showCompletionPopup |
( |
const QString & |
text, |
|
|
bool |
emoteCompletion |
|
) |
| |
|
protected |
◆ themeChangedEvent()
void chatterino::SplitInput::themeChangedEvent |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ updateCancelReplyButton()
void chatterino::SplitInput::updateCancelReplyButton |
( |
| ) |
|
|
protected |
◆ updateCompletionPopup()
void chatterino::SplitInput::updateCompletionPopup |
( |
| ) |
|
|
protected |
◆ updateEmoteButton()
void chatterino::SplitInput::updateEmoteButton |
( |
| ) |
|
|
protected |
◆ ReplyThreadPopup
◆ Split
◆ cancelReplyButton
◆ currMsg_
QString chatterino::SplitInput::currMsg_ |
|
protected |
◆ emoteButton
◆ emotePopup_
◆ enableInlineReplying_
bool chatterino::SplitInput::enableInlineReplying_ |
|
protected |
◆ hbox
QHBoxLayout* chatterino::SplitInput::hbox |
◆ hidden
bool chatterino::SplitInput::hidden {false} |
|
protected |
◆ inputCompletionPopup_
◆ lastOverflowLength
◆ managedConnections_
pajlada::Signals::SignalHolder chatterino::SplitInput::managedConnections_ |
|
protected |
◆ prevIndex_
int chatterino::SplitInput::prevIndex_ = 0 |
|
protected |
◆ prevMsg_
QStringList chatterino::SplitInput::prevMsg_ |
|
protected |
◆ replyHbox
QHBoxLayout* chatterino::SplitInput::replyHbox |
◆ replyLabel
QLabel* chatterino::SplitInput::replyLabel |
◆ replyThread_
std::shared_ptr<MessageThread> chatterino::SplitInput::replyThread_ = nullptr |
|
protected |
◆ replyWrapper
QWidget* chatterino::SplitInput::replyWrapper |
◆ split_
Split* const chatterino::SplitInput::split_ |
|
protected |
◆ textChanged
pajlada::Signals::Signal<const QString &> chatterino::SplitInput::textChanged |
◆ textEdit
◆ textEditLength
QLabel* chatterino::SplitInput::textEditLength |
◆ TWITCH_MESSAGE_LIMIT
const int chatterino::SplitInput::TWITCH_MESSAGE_LIMIT = 500 |
|
static |
◆ ui_
struct { ... } chatterino::SplitInput::ui_ |
◆ vbox
QVBoxLayout* chatterino::SplitInput::vbox |
The documentation for this class was generated from the following files: