better handling of log messages (internal stuff only)
[quassel.git] / src / qtui / chatview.h
index 832d151..11bd417 100644 (file)
@@ -43,12 +43,16 @@ public:
 
 public slots:
   inline virtual void clear() {}
+  void zoomIn();
+  void zoomOut();
+  void zoomNormal();
 
 protected:
   virtual void resizeEvent(QResizeEvent *event);
 
 protected slots:
-  virtual void sceneHeightChanged(qreal dh);
+  void lastLineChanged(QGraphicsItem *chatLine, qreal offset);
+  virtual inline void sceneRectChanged(const QRectF &rect) { setSceneRect(rect); }
   virtual void verticalScrollbarChanged(int);
 
 private:
@@ -56,6 +60,7 @@ private:
 
   ChatScene *_scene;
   int _lastScrollbarPos;
+  qreal _currentScaleFactor;
 };