~ubuntu-branches/ubuntu/maverick/freecad/maverick

« back to all changes in this revision

Viewing changes to src/Gui/CombiView.h

  • Committer: Bazaar Package Importer
  • Author(s): Teemu Ikonen
  • Date: 2009-07-16 18:37:41 UTC
  • Revision ID: james.westby@ubuntu.com-20090716183741-oww9kcxqrk991i1n
Tags: upstream-0.8.2237
Import upstream version 0.8.2237

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (c) 2009 J�rgen Riegel <juergen.riegel@web.de>              *
 
3
 *                                                                         *
 
4
 *   This file is part of the FreeCAD CAx development system.              *
 
5
 *                                                                         *
 
6
 *   This library is free software; you can redistribute it and/or         *
 
7
 *   modify it under the terms of the GNU Library General Public           *
 
8
 *   License as published by the Free Software Foundation; either          *
 
9
 *   version 2 of the License, or (at your option) any later version.      *
 
10
 *                                                                         *
 
11
 *   This library  is distributed in the hope that it will be useful,      *
 
12
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 
13
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 
14
 *   GNU Library General Public License for more details.                  *
 
15
 *                                                                         *
 
16
 *   You should have received a copy of the GNU Library General Public     *
 
17
 *   License along with this library; see the file COPYING.LIB. If not,    *
 
18
 *   write to the Free Software Foundation, Inc., 59 Temple Place,         *
 
19
 *   Suite 330, Boston, MA  02111-1307, USA                                *
 
20
 *                                                                         *
 
21
 ***************************************************************************/
 
22
 
 
23
 
 
24
 
 
25
#ifndef GUI_DOCKWND_COMBIVIEW_H
 
26
#define GUI_DOCKWND_COMBIVIEW_H
 
27
 
 
28
 
 
29
#ifndef __Qt4All__
 
30
# include "Qt4All.h"
 
31
#endif
 
32
 
 
33
 
 
34
#include "DockWindow.h"
 
35
#include "Selection.h"
 
36
 
 
37
namespace App {
 
38
  class PropertyContainer;
 
39
}
 
40
 
 
41
namespace Gui {
 
42
    class TreeWidget;
 
43
    class PropertyView;
 
44
 
 
45
namespace PropertyEditor {
 
46
class EditableListView;
 
47
class EditableItem;
 
48
class PropertyEditor;
 
49
} // namespace PropertyEditor
 
50
 
 
51
namespace TaskView {
 
52
class TaskView;
 
53
} // namespace TaskView
 
54
} // namespace Gui
 
55
 
 
56
 
 
57
namespace Gui {
 
58
namespace DockWnd {
 
59
 
 
60
/** Combi View
 
61
  * is a combination of a tree, property and TaskPanel for 
 
62
  * integrated user action.
 
63
 */
 
64
class CombiView : public Gui::DockWindow
 
65
{
 
66
    Q_OBJECT
 
67
 
 
68
public:
 
69
    /**
 
70
     * A constructor.
 
71
     * A more elaborate description of the constructor.
 
72
     */
 
73
    CombiView(Gui::Document*  pcDocument, QWidget *parent=0);
 
74
 
 
75
    /**
 
76
     * A destructor.
 
77
     * A more elaborate description of the destructor.
 
78
    */
 
79
    virtual ~CombiView();
 
80
 
 
81
private:
 
82
    QTabWidget                         * tabs;
 
83
    Gui::PropertyView                  * prop;
 
84
    Gui::TreeWidget                    * tree;
 
85
    Gui::TaskView::TaskView            * taskPanel;
 
86
};
 
87
 
 
88
} // namespace DockWnd
 
89
} // namespace Gui
 
90
 
 
91
#endif // GUI_DOCKWND_SELECTIONVIEW_H