equal
deleted
inserted
replaced
30 #include "hwmap.h" |
30 #include "hwmap.h" |
31 #include "drawmapscene.h" |
31 #include "drawmapscene.h" |
32 |
32 |
33 class QPushButton; |
33 class QPushButton; |
34 class IconedGroupBox; |
34 class IconedGroupBox; |
35 class QListWidget; |
35 class QListView; |
36 |
36 |
37 class MapFileErrorException |
37 class MapFileErrorException |
38 { |
38 { |
39 }; |
39 }; |
40 |
40 |
87 void setRandomSeed(); |
87 void setRandomSeed(); |
88 void setRandomTheme(); |
88 void setRandomTheme(); |
89 void setRandomMap(); |
89 void setRandomMap(); |
90 void setRandomStatic(); |
90 void setRandomStatic(); |
91 void setRandomMission(); |
91 void setRandomMission(); |
92 void themeSelected(int currentRow); |
92 void themeSelected(const QModelIndex & current, const QModelIndex &); |
93 void addInfoToPreview(QPixmap image); |
93 void addInfoToPreview(QPixmap image); |
94 void seedEdited(); |
94 void seedEdited(); |
95 |
95 |
96 protected: |
96 protected: |
97 virtual void resizeEvent ( QResizeEvent * event ); |
97 virtual void resizeEvent ( QResizeEvent * event ); |
99 private: |
99 private: |
100 QGridLayout mainLayout; |
100 QGridLayout mainLayout; |
101 QPushButton* imageButt; |
101 QPushButton* imageButt; |
102 QComboBox* chooseMap; |
102 QComboBox* chooseMap; |
103 IconedGroupBox* gbThemes; |
103 IconedGroupBox* gbThemes; |
104 QListWidget* lwThemes; |
104 QListView* lvThemes; |
105 HWMap* pMap; |
105 HWMap* pMap; |
106 QString m_seed; |
106 QString m_seed; |
107 QPushButton* seedSet; |
107 QPushButton* seedSet; |
108 QLabel* seedLabel; |
108 QLabel* seedLabel; |
109 int hhLimit; |
109 int hhLimit; |