]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiWorkArea.h
Use QFontMetrics information for underlines (and friends) width and position
[lyx.git] / src / frontends / qt4 / GuiWorkArea.h
index e5c488f6a8ae1fa473e36a7135da8b37e40b8ad5..5039e45b84a97da4f7df7d3ab7c7329b15c1f891 100644 (file)
@@ -84,6 +84,9 @@ public:
        GuiView const & view() const;
        GuiView & view();
 
+       /// Current ratio between physical pixels and device-independent pixels
+       double pixelRatio() const;
+
 public Q_SLOTS:
        ///
        void stopBlinkingCursor();
@@ -215,6 +218,8 @@ public Q_SLOTS:
        /// close the tab given by \c index
        void closeTab(int index);
        ///
+       void moveTab(int fromIndex, int toIndex);
+       ///
        void updateTabTexts();
        
 private Q_SLOTS:
@@ -223,8 +228,6 @@ private Q_SLOTS:
        ///
        void showContextMenu(const QPoint & pos);
        ///
-       void moveTab(int fromIndex, int toIndex);
-       ///
        void mouseDoubleClickEvent(QMouseEvent * event);
 
 private: