|
Chatterino
|
#include <SearchPopup.hpp>
Public Member Functions | |
| SearchPopup (QWidget *parent, Split *split=nullptr) | |
| virtual void | addChannel (ChannelView &channel) |
| void | goToMessage (const MessagePtr &message) |
| void | goToMessageId (const QString &messageId) |
Public Member Functions inherited from chatterino::BasePopup | |
| BasePopup (FlagsEnum< BaseWindow::Flags > flags_=None, QWidget *parent=nullptr) | |
Public Member Functions inherited from chatterino::BaseWindow | |
| BaseWindow (FlagsEnum< Flags > flags_=None, QWidget *parent=nullptr) | |
| ~BaseWindow () override | |
| void | setInitialBounds (const QRect &bounds) |
| QRect | getBounds () |
| QWidget * | getLayoutContainer () |
| bool | hasCustomWindowFrame () |
| TitleBarButton * | addTitleBarButton (const TitleBarButtonStyle &style, std::function< void()> onClicked) |
| EffectLabel * | addTitleBarLabel (std::function< void()> onClicked) |
| void | setStayInScreenRect (bool value) |
| bool | getStayInScreenRect () const |
| void | setActionOnFocusLoss (ActionOnFocusLoss value) |
| ActionOnFocusLoss | getActionOnFocusLoss () const |
| void | moveTo (QWidget *widget, QPoint point, bool offset=true) |
| virtual float | scale () const override |
| float | qtFontScale () const |
Public Member Functions inherited from chatterino::BaseWidget | |
| BaseWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
| 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 |
Protected Member Functions | |
| virtual void | updateWindowTitle () |
| void | showEvent (QShowEvent *event) override |
Protected Member Functions inherited from chatterino::BasePopup | |
| void | keyPressEvent (QKeyEvent *e) override |
| bool | handleEscape (QKeyEvent *e, QDialogButtonBox *buttonBox) |
| bool | handleEnter (QKeyEvent *e, QDialogButtonBox *buttonBox) |
Protected Member Functions inherited from chatterino::BaseWindow | |
| virtual bool | nativeEvent (const QByteArray &eventType, void *message, long *result) override |
| virtual void | scaleChangedEvent (float) override |
| virtual void | paintEvent (QPaintEvent *) override |
| virtual void | changeEvent (QEvent *) override |
| virtual void | leaveEvent (QEvent *) override |
| virtual void | resizeEvent (QResizeEvent *) override |
| virtual void | moveEvent (QMoveEvent *) override |
| virtual void | closeEvent (QCloseEvent *) override |
| virtual void | themeChangedEvent () override |
| virtual bool | event (QEvent *event) override |
| virtual void | wheelEvent (QWheelEvent *event) override |
| void | mousePressEvent (QMouseEvent *event) override |
| void | mouseReleaseEvent (QMouseEvent *event) override |
| void | mouseMoveEvent (QMouseEvent *event) override |
| void | updateScale () |
Protected Member Functions inherited from chatterino::BaseWidget | |
| virtual void | childEvent (QChildEvent *) override |
| void | setScale (float value) |
| void | clearShortcuts () |
Additional Inherited Members | |
Public Types inherited from chatterino::BaseWindow | |
| enum | Flags { None = 0, EnableCustomFrame = 1, Frameless = 2, TopMost = 4, DisableCustomScaling = 8, FramelessDraggable = 16, DontFocus = 32, Dialog = 64 } |
| enum | ActionOnFocusLoss { Nothing, Delete, Close, Hide } |
Static Public Member Functions inherited from chatterino::BaseWindow | |
| static bool | supportsCustomWindowFrame () |
Public Attributes inherited from chatterino::BaseWindow | |
| pajlada::Signals::NoArgSignal | closing |
| QLayout * | windowLayout = nullptr |
| QHBoxLayout * | titlebarBox = nullptr |
| QWidget * | titleLabel = nullptr |
| TitleBarButton * | minButton = nullptr |
| TitleBarButton * | maxButton = nullptr |
| TitleBarButton * | exitButton = nullptr |
| QWidget * | layoutBase = nullptr |
| std::vector< Button * > | buttons |
Public Attributes inherited from chatterino::BaseWidget | |
| pajlada::Signals::Signal< float > | scaleChanged |
Protected Attributes inherited from chatterino::BaseWindow | |
| QPointF | movingRelativePos |
| bool | moving {} |
| boost::optional< QColor > | overrideBackgroundColor_ |
Protected Attributes inherited from chatterino::BaseWidget | |
| Theme * | theme |
| std::vector< QShortcut * > | shortcuts_ |
| pajlada::Signals::SignalHolder | signalHolder_ |
| chatterino::SearchPopup::SearchPopup | ( | QWidget * | parent, |
| Split * | split = nullptr |
||
| ) |
|
virtual |
| void chatterino::SearchPopup::goToMessage | ( | const MessagePtr & | message | ) |
| void chatterino::SearchPopup::goToMessageId | ( | const QString & | messageId | ) |
This method should only be used for searches that don't include a mentions channel, since it will only search in the opened channels (not globally).
| messageId |
|
overrideprotectedvirtual |
|
protectedvirtual |
1.8.13