28#include <QTextBrowser>
39QString
apply_tags(QString
str,
const struct text_tag_list *tags,
64 const struct text_tag_list *);
88 explicit chat_input(QWidget *parent =
nullptr);
132 void paint(QPainter *painter, QPaintEvent *
event);
137 const struct text_tag_list *tags);
QStringList current_word_list()
static const int HISTORY_END
QString forward_in_history()
void send_chat_message(const QString &message)
void reset_history_position()
QString back_in_history()
static QStringList history
int position_in_history()
virtual void chat_word_list_changed(const QStringList &cmplt_word_list)
static void update_word_list()
static QStringList word_list
virtual void chat_message_received(const QString &, const struct text_tag_list *)
bool eventFilter(QObject *obj, QEvent *event)
void paintEvent(QPaintEvent *event)
void anchor_clicked(const QUrl &link)
int default_size(int lines)
text_browser_dblclck * chat_output
void make_link(struct tile *ptile)
void chat_message_received(const QString &message, const struct text_tag_list *tags)
void paint(QPainter *painter, QPaintEvent *event)
QPushButton * remove_links
void state_changed(int state)
void append(const QString &str)
text_browser_dblclck(QWidget *parent=NULL)
void mouseDoubleClickEvent(QMouseEvent *event)
QString get_message() const
QString apply_tags(QString str, const struct text_tag_list *tags, QColor bg_color)
struct player_slot * slots