added zoom feature: "ctrl +" magnifies, "ctrl -" demagnifies and "ctrl 0" normalizes
[quassel.git] / src / qtui / chatview.h
index 293e97c..11bd417 100644 (file)
@@ -43,6 +43,9 @@ public:
 
 public slots:
   inline virtual void clear() {}
+  void zoomIn();
+  void zoomOut();
+  void zoomNormal();
 
 protected:
   virtual void resizeEvent(QResizeEvent *event);
@@ -57,6 +60,7 @@ private:
 
   ChatScene *_scene;
   int _lastScrollbarPos;
+  qreal _currentScaleFactor;
 };