1 | /*************************************************************************** |
2 | arealistview.h - description |
3 | ------------------- |
4 | begin : Weg Feb 26 2003 |
5 | copyright : (C) 2003 by Jan Schäfer |
6 | email : janschaefer@users.sourceforge.net |
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 _AREALISTVIEW_H_ |
19 | #define _AREALISTVIEW_H_ |
20 | |
21 | #include <QTreeWidget> |
22 | #include <qwidget.h> |
23 | #include <kvbox.h> |
24 | |
25 | |
26 | class QPushButton; |
27 | class Area; |
28 | |
29 | /** |
30 | * This class consists of a ListView and two arrow buttons on the bottom. |
31 | * It shows all Areas of the current map. |
32 | * Jan Schaefer |
33 | **/ |
34 | class AreaListView : public KVBox |
35 | { |
36 | Q_OBJECT |
37 | |
38 | public: |
39 | explicit AreaListView(QWidget *parent); |
40 | ~AreaListView(); |
41 | |
42 | QTreeWidget* listView; |
43 | QPushButton *upBtn; |
44 | QPushButton *downBtn; |
45 | |
46 | }; |
47 | |
48 | #endif |
49 | |