]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiWorkArea.h
* TabWorkArea: rename 'close tab' button to 'close buffer' and add a 'close tab'...
[lyx.git] / src / frontends / qt4 / GuiWorkArea.h
index 5019786b4b0070b84a10b50020d4810caf7341fb..b528bb478efee30d2349a87bfdb7a862f8171682 100644 (file)
@@ -109,6 +109,8 @@ public:
        ///
        ~GuiWorkArea();
 
+       ///
+       void setFullScreen(bool full_screen);
        ///
        void scheduleRedraw() { schedule_redraw_ = true; }
        ///
@@ -132,18 +134,16 @@ Q_SIGNALS:
        void titleChanged(GuiWorkArea *);
 
 private Q_SLOTS:
-       /// Adjust the LyX buffer view with the position of the scrollbar.
+       /// Scroll the BufferView.
        /**
-       * The action argument is not used in the the code, it is there
-       * only for the connection to the vertical srollbar signal which
-       * emits an 'int' action.
+         * This is a slot for the valueChanged() signal of the vertical scrollbar.
+         * \p value value of the scrollbar.
        */
-       void adjustViewWithScrollBar(int action = 0);
+       void scrollTo(int value);
        /// timer to limit triple clicks
        void doubleClickTimeout();
        /// toggle the cursor's visibility
        void toggleCursor();
-
        /// close this work area.
        /// Slot for Buffer::closing signal.
        void close();
@@ -239,6 +239,8 @@ class TabWorkArea : public QTabWidget
 public:
        TabWorkArea(QWidget * parent = 0);
 
+       ///
+       void setFullScreen(bool full_screen);
        void showBar(bool show);
        void closeAll();
        bool setCurrentWorkArea(GuiWorkArea *);
@@ -255,6 +257,8 @@ public Q_SLOTS:
        ///
        void on_currentTabChanged(int index);
        ///
+       void closeCurrentBuffer();
+       ///
        void closeCurrentTab();
        ///
        void updateTabText(GuiWorkArea *);