--- a/QTfrontend/ui/widget/mapContainer.h Wed Feb 20 02:21:58 2013 +0100
+++ b/QTfrontend/ui/widget/mapContainer.h Tue Apr 02 21:00:57 2013 +0200
@@ -107,13 +107,14 @@
void missionMapChanged(const QModelIndex & map, const QModelIndex & old = QModelIndex());
void loadDrawing();
void showSeedPrompt();
+ void previewClicked();
protected:
virtual void resizeEvent ( QResizeEvent * event );
private:
QVBoxLayout mainLayout;
- QLabel* mapPreview;
+ QPushButton* mapPreview;
QComboBox* chooseMap;
MapModel * m_staticMapModel;
MapModel * m_missionMapModel;
@@ -162,6 +163,7 @@
void updateThemeButtonSize();
MapModel::MapInfo m_mapInfo;
+ int m_themeID;
QString m_theme;
QString m_curMap;