QTfrontend/mapContainer.h
changeset 1209 7f6cb1d7be2a
parent 1066 1f1b3686a2b0
child 1210 bfed1b89bc85
equal deleted inserted replaced
1208:9f4704f3c6ea 1209:7f6cb1d7be2a
    20 #define _HWMAP_CONTAINER_INCLUDED
    20 #define _HWMAP_CONTAINER_INCLUDED
    21 
    21 
    22 #include "hwmap.h"
    22 #include "hwmap.h"
    23 
    23 
    24 #include <QWidget>
    24 #include <QWidget>
    25 #include <QVBoxLayout>
    25 #include <QGridLayout>
    26 #include <QComboBox>
    26 #include <QComboBox>
    27 
    27 
    28 class QPushButton;
    28 class QPushButton;
       
    29 class IconedGroupBox;
       
    30 class QListWidget;
    29 
    31 
    30 class MapFileErrorException
    32 class MapFileErrorException
    31 {
    33 {
    32 };
    34 };
    33 
    35 
    60 
    62 
    61  protected:
    63  protected:
    62   virtual void resizeEvent ( QResizeEvent * event );
    64   virtual void resizeEvent ( QResizeEvent * event );
    63 
    65 
    64  private:
    66  private:
    65   QVBoxLayout mainLayout;
    67   QGridLayout mainLayout;
    66   QPushButton* imageButt;
    68   QPushButton* imageButt;
    67   QComboBox* chooseMap;
    69   QComboBox* chooseMap;
       
    70   IconedGroupBox* gbThemes;
       
    71   QListWidget* lwThemes;
    68   HWMap* pMap;
    72   HWMap* pMap;
    69   QString m_seed;
    73   QString m_seed;
    70   QString theme;
    74   QString theme;
    71 
    75 
    72   void loadMap(int index);
    76   void loadMap(int index);