diff -r bc0c5c21376e -r dd148e2506e2 QTfrontend/mapContainer.h --- 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 #include #include +#include #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); };