1
/***************************************************************************
2
* Copyright (c) 2002 J�rgen Riegel <juergen.riegel@web.de> *
4
* This file is part of the FreeCAD CAx development system. *
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. *
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. *
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 *
21
***************************************************************************/
25
#ifndef GUI_DOCKWND_SELECTIONVIEW_H
26
#define GUI_DOCKWND_SELECTIONVIEW_H
34
#include "DockWindow.h"
35
#include "Selection.h"
40
class PropertyContainer;
44
namespace PropertyEditor {
46
class EditableListView;
50
} // namespace PropertyEditor
56
/** A test class. A more elaborate class description.
58
class SelectionView :public Gui::DockWindow, public Gui::SelectionSingleton::ObserverType
65
* A more elaborate description of the constructor.
67
SelectionView(Gui::Document* pcDocument, QWidget *parent=0);
71
* A more elaborate description of the destructor.
73
virtual ~SelectionView();
75
/// Observer message from the Selection
76
virtual void OnChange(Gui::SelectionSingleton::SubjectType &rCaller,
77
Gui::SelectionSingleton::MessageType Reason);
80
bool onMsg(const char* pMsg);
82
virtual const char *getName(void) const {return "SelectionView";}
84
/// get called when the document is changed or updated
85
virtual void onUpdate(void);
87
//static QPixmap *pcLabelOpen, *pcLabelClosed, *pcAttribute;
89
QListWidget* selectionView;
92
void changeEvent(QEvent *e);
98
} // namespace DockWnd
101
#endif // GUI_DOCKWND_SELECTIONVIEW_H