/***************************************************************************
- * Copyright (C) 2005-08 by the Quassel Project *
+ * Copyright (C) 2005-09 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
virtual void addActionsToMenu(QMenu *, const QPointF &pos);
+ virtual bool event(QEvent *event);
+
public slots:
inline virtual void clear() {}
void zoomIn();
virtual void resizeEvent(QResizeEvent *event);
protected slots:
- virtual inline void sceneRectChanged(const QRectF &rect) { setSceneRect(rect); }
virtual void verticalScrollbarChanged(int);
private slots:
void lastLineChanged(QGraphicsItem *chatLine, qreal offset);
+ void adjustSceneRect();
void mouseMoveWhileSelecting(const QPointF &scenePos);
void scrollTimerTimeout();
+ void invalidateFilter();
private:
void init(MessageFilter *filter);
qreal _currentScaleFactor;
QTimer _scrollTimer;
int _scrollOffset;
+ bool _invalidateFilter;
+
+ // workaround for QTBUG-6322
+ qreal _verticalOffset;
+ bool _verticalOffsetStable;
};