File indexing completed on 2024-04-28 04:02:51
0001 /*************************************************************************** 0002 dlgmapcolor.h 0003 ------------------- 0004 begin : Tue Jul 9 2002 0005 copyright : (C) 2002 by Kmud Developer Team 0006 (C) 2007 Tomas Mecir <kmuddy@kmuddy.com> 0007 email : kmud-devel@kmud.de 0008 ***************************************************************************/ 0009 0010 /*************************************************************************** 0011 * * 0012 * This program is free software; you can redistribute it and/or modify * 0013 * it under the terms of the GNU General Public License as published by * 0014 * the Free Software Foundation; either version 2 of the License, or * 0015 * (at your option) any later version. * 0016 * * 0017 ***************************************************************************/ 0018 0019 #ifndef DLGMAPCOLOR_H 0020 #define DLGMAPCOLOR_H 0021 0022 #include "ui_dlgmapcolorbase.h" 0023 0024 class CMapManager; 0025 0026 /** 0027 *@author Kmud Developer Team 0028 */ 0029 0030 class DlgMapColor : public QWidget, public Ui_DlgMapColorBase 0031 { 0032 Q_OBJECT 0033 public: 0034 DlgMapColor (CMapManager *mapManager, QWidget *parent); 0035 ~DlgMapColor () override; 0036 0037 /** This slot is called when the OK button is pressed */ 0038 void slotOkPressed(); 0039 0040 private: 0041 /** This method will load the color values */ 0042 void loadColors(); 0043 0044 private: 0045 /** A pointer to the map manager */ 0046 CMapManager *m_mapManager; 0047 }; 0048 0049 #endif