Mercurial > hg > svgui
comparison view/PaneStack.h @ 539:566787389e59
* Add insertPane
author | Chris Cannam |
---|---|
date | Tue, 09 Jun 2009 15:26:25 +0000 |
parents | 666cdcae5f0d |
children | a7a89ebe4b02 |
comparison
equal
deleted
inserted
replaced
538:3bf74851d93e | 539:566787389e59 |
---|---|
1 | |
2 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
3 | 2 |
4 /* | 3 /* |
5 Sonic Visualiser | 4 Sonic Visualiser |
6 An audio file viewer and annotation editor. | 5 An audio file viewer and annotation editor. |
39 | 38 |
40 public: | 39 public: |
41 PaneStack(QWidget *parent, ViewManager *viewManager); | 40 PaneStack(QWidget *parent, ViewManager *viewManager); |
42 | 41 |
43 Pane *addPane(bool suppressPropertyBox = false); // I own the returned value | 42 Pane *addPane(bool suppressPropertyBox = false); // I own the returned value |
43 Pane *insertPane(int index, bool suppressPropertyBox = false); // I own the returned value | |
44 void deletePane(Pane *pane); // Deletes the pane, but _not_ its layers | 44 void deletePane(Pane *pane); // Deletes the pane, but _not_ its layers |
45 | 45 |
46 int getPaneCount() const; // Returns only count of visible panes | 46 int getPaneCount() const; // Returns only count of visible panes |
47 Pane *getPane(int n); // Of visible panes; I own the returned value | 47 Pane *getPane(int n); // Of visible panes; I own the returned value |
48 int getPaneIndex(Pane *pane); // so getPane(index)==pane; -1 if absent | 48 int getPaneIndex(Pane *pane); // so getPane(index)==pane; -1 if absent |