#pragma once #include #include "messages/limitedqueuesnapshot.hpp" #include "messages/message.hpp" #include "widgets/basewidget.hpp" class QLineEdit; namespace chatterino { class Channel; namespace widgets { class ChannelView; class SearchPopup : public BaseWidget { public: SearchPopup(); void setChannel(std::shared_ptr channel); private: messages::LimitedQueueSnapshot snapshot; QLineEdit *searchInput; ChannelView *channelView; void initLayout(); void performSearch(); }; } }