]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/PanelStack.h
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / PanelStack.h
index fa32a54e44bbc507a8816677c564ae32b716e87b..fbc807de3b0271714620ff4683d80888b1fa22d3 100644 (file)
@@ -9,6 +9,7 @@
  *
  * Full author contact details are available in file CREDITS.
  */
+
 #ifndef PANELSTACK_H
 #define PANELSTACK_H
 
@@ -35,9 +36,13 @@ public:
        /// add a widget panel with a given name, under the given parent
        void addPanel(QWidget * panel, QString const & name,
                QString const & parent = QString());
+       /// show or hide panel
+       void showPanel(QString const & name, bool show);
        /// set current panel by logical name
        void setCurrentPanel(QString const &);
        ///
+       bool isCurrentPanel(QString const & name) const;
+       ///
        QSize sizeHint() const;
 
 public Q_SLOTS: