QTfrontend/mapContainer.h
changeset 4520 e7882bd1a894
parent 4519 aee36896d46b
child 4525 0a81be113e21
equal deleted inserted replaced
4519:aee36896d46b 4520:e7882bd1a894
    25 #include <QLabel>
    25 #include <QLabel>
    26 #include <QByteArray>
    26 #include <QByteArray>
    27 #include <QLineEdit>
    27 #include <QLineEdit>
    28 
    28 
    29 #include "hwmap.h"
    29 #include "hwmap.h"
       
    30 #include "drawmapscene.h"
    30 
    31 
    31 class QPushButton;
    32 class QPushButton;
    32 class IconedGroupBox;
    33 class IconedGroupBox;
    33 class QListWidget;
    34 class QListWidget;
    34 
    35 
    51   quint32 getTemplateFilter() const;
    52   quint32 getTemplateFilter() const;
    52   MapGenerator get_mapgen(void) const;
    53   MapGenerator get_mapgen(void) const;
    53   int get_maze_size(void) const;
    54   int get_maze_size(void) const;
    54   bool getCurrentIsMission() const;
    55   bool getCurrentIsMission() const;
    55   QByteArray getDrawnMapData();
    56   QByteArray getDrawnMapData();
       
    57   DrawMapScene * getDrawMapScene();
    56 
    58 
    57  public slots:
    59  public slots:
    58   void changeImage();
    60   void changeImage();
    59   void setSeed(const QString & seed);
    61   void setSeed(const QString & seed);
    60   void setMap(const QString & map);
    62   void setMap(const QString & map);
   104   QLabel* lblFilter;
   106   QLabel* lblFilter;
   105   QComboBox* CB_TemplateFilter;
   107   QComboBox* CB_TemplateFilter;
   106   QLabel *maze_size_label;
   108   QLabel *maze_size_label;
   107   QComboBox *maze_size_selection;
   109   QComboBox *maze_size_selection;
   108   MapGenerator mapgen;
   110   MapGenerator mapgen;
   109   QByteArray drawnMapData;
       
   110   int numMissions;
   111   int numMissions;
   111   int maze_size;
   112   int maze_size;
       
   113   DrawMapScene drawMapScene;
   112 
   114 
   113   void loadMap(int index);
   115   void loadMap(int index);
   114 };
   116 };
   115 
   117 
   116 #endif // _HWMAP_CONTAINER_INCLUDED
   118 #endif // _HWMAP_CONTAINER_INCLUDED