QTfrontend/mapContainer.h
changeset 1802 dd148e2506e2
parent 1797 fedd8649fdd9
child 3008 e57cafce4227
--- a/QTfrontend/mapContainer.h	Tue Feb 17 12:58:08 2009 +0000
+++ b/QTfrontend/mapContainer.h	Tue Feb 17 12:58:25 2009 +0000
@@ -22,6 +22,7 @@
 #include <QWidget>
 #include <QGridLayout>
 #include <QComboBox>
+#include <QLabel>
 
 #include "hwmap.h"
 
@@ -43,6 +44,7 @@
   QString getCurrentMap() const;
   QString getCurrentTheme() const;
   int     getCurrentHHLimit() const;
+  quint32 getTemplateFilter() const;
 
  public slots:
   void changeImage();
@@ -55,6 +57,7 @@
   void seedChanged(const QString & seed);
   void mapChanged(const QString & map);
   void themeChanged(const QString & theme);
+  void newTemplateFilter(int filter);
 
 
  private slots:
@@ -65,6 +68,7 @@
   void setRandomTheme();
   void themeSelected(int currentRow);
   void addInfoToPreview(QPixmap image);
+  void templateFilterChanged(int filter);
 
  protected:
   virtual void resizeEvent ( QResizeEvent * event );
@@ -80,6 +84,8 @@
   int hhLimit;
   int templateFilter;
   QPixmap hhSmall;
+  QLabel* lblFilter;
+  QComboBox* CB_TemplateFilter;
 
   void loadMap(int index);
 };