4 Bacula® - The Network Backup Solution
6 Copyright (C) 2000-2007 Free Software Foundation Europe e.V.
8 The main author of Bacula is Kern Sibbald, with contributions from
9 many others, a complete list can be found in the file AUTHORS.
10 This program is Free Software; you can redistribute it and/or
11 modify it under the terms of version two of the GNU General Public
12 License as published by the Free Software Foundation plus additions
13 that are listed in the file LICENSE.
15 This program is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
25 Bacula® is a registered trademark of John Walker.
26 The licensor of Bacula is the Free Software Foundation Europe
27 (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
28 Switzerland, email:ftf@fsfeurope.org.
31 * Version $Id: batstack.h 4230 2007-02-21 20:07:37Z kerns $
33 * Dirk Bartley, March 2007
42 * This class is inherited by all widget windows which are on the stack
43 * It is for the purpos of having a conistant set of functions and properties
44 * in all of the subclasses to accomplish tasks such as pulling a window out
45 * of or into the stack. It also provides virtual functions placed called
46 * from in mainwin so that subclasses can contain functions to allow them
47 * to populate thier screens at the time of first viewing, (when clicked) as
48 * opposed to the first creation of the console connection. After all the
49 * console is not actually connected until after the page selector tree has been
53 class Pages : public QWidget
58 void togglePageDocking();
61 QStackedWidget *m_parent;
62 QList<QAction*> m_contextActions;
63 virtual void PgSeltreeWidgetClicked();
64 virtual void PgSeltreeWidgetDoubleClicked();
65 virtual void currentStackItem();
66 void closeStackPage();
69 /* closeEvent is a virtual function inherited from QWidget */
70 virtual void closeEvent(QCloseEvent* event);
77 #endif /* _PAGES_H_ */