File indexing completed on 2024-10-13 03:57:36
0001 /*************************************************************************** 0002 arealistview.h - description 0003 ------------------- 0004 begin : Weg Feb 26 2003 0005 copyright : (C) 2003 by Jan Schäfer 0006 email : janschaefer@users.sourceforge.net 0007 ***************************************************************************/ 0008 0009 /*************************************************************************** 0010 * * 0011 * This program is free software; you can redistribute it and/or modify * 0012 * it under the terms of the GNU General Public License as published by * 0013 * the Free Software Foundation; either version 2 of the License, or * 0014 * (at your option) any later version. * 0015 * * 0016 ***************************************************************************/ 0017 0018 #ifndef _AREALISTVIEW_H_ 0019 #define _AREALISTVIEW_H_ 0020 0021 #include <QTreeWidget> 0022 #include <QWidget> 0023 0024 0025 class QPushButton; 0026 class Area; 0027 0028 /** 0029 * This class consists of a ListView and two arrow buttons on the bottom. 0030 * It shows all Areas of the current map. 0031 * Jan Schaefer 0032 **/ 0033 class AreaListView : public QWidget 0034 { 0035 Q_OBJECT 0036 0037 public: 0038 explicit AreaListView(QWidget *parent); 0039 ~AreaListView() override; 0040 0041 QTreeWidget* listView; 0042 QPushButton *upBtn; 0043 QPushButton *downBtn; 0044 0045 }; 0046 0047 #endif