]> ruin.nu Git - hbs.git/blob - bs/bsview.h
Changed lots of classnames from Bc to BS
[hbs.git] / bs / bsview.h
1 /***************************************************************************
2                           bcview.h  -  description
3                              -------------------
4     begin                : Sun Jun 17 19:19:58 CEST 2001
5     copyright            : (C) 2001 by Michael Andreen
6     email                : whale@linux.nu
7  ***************************************************************************/
8
9 /***************************************************************************
10  *                                                                         *
11  *   This program is free software; you can redistribute it and/or modify  *
12  *   it under the terms of the GNU General Public License as published by  *
13  *   the Free Software Foundation; either version 2 of the License, or     *
14  *   (at your option) any later version.                                   *
15  *                                                                         *
16  ***************************************************************************/
17
18 #ifndef BCVIEW_H
19 #define BCVIEW_H
20
21 // include files for QT
22 #include <qsplitter.h>
23
24 // application specific includes
25 #include "bsdoc.h"
26
27 class BattleSum;
28 class ScanView;
29 class InfoView;
30 class TickView;
31
32 //QT forward declarations
33 class QListView;
34 class QSplitter;
35 class QWidgetStack;
36 class QListViewItem;
37
38 /**
39  * This class provides an incomplete base for your application view. 
40  */
41
42 class BSView : public QSplitter
43 {
44   Q_OBJECT
45   public:
46     BSView(QWidget *parent=0, BSDoc* doc=0);
47     ~BSView();
48                 
49                 void addBattle(QString name);
50
51   protected slots:
52     void slotDocumentChanged();
53
54   protected:
55         BattleSum       *m_BattleSum;
56         QListView               *m_NumberView;
57         QSplitter               *m_RightSplit;  
58         QSplitter               *m_LeftSplit;
59         ScanView                *m_ScanView;
60         InfoView                *m_InfoView;
61         TickView                *m_TickView;
62         QWidgetStack    *m_FleetViews;
63   
64 public slots: // Public slots
65   /** No descriptions */
66   void slotFleetSelection(QListViewItem *lvi);
67 };
68
69 #endif