equal
deleted
inserted
replaced
22 |
22 |
23 #include <QByteArray> |
23 #include <QByteArray> |
24 #include <QComboBox> |
24 #include <QComboBox> |
25 #include <QGridLayout> |
25 #include <QGridLayout> |
26 #include <QLabel> |
26 #include <QLabel> |
|
27 #include <QTextEdit> |
27 #include <QLineEdit> |
28 #include <QLineEdit> |
28 #include <QSlider> |
29 #include <QSlider> |
29 #include <QVBoxLayout> |
30 #include <QVBoxLayout> |
30 #include <QWidget> |
31 #include <QWidget> |
31 |
32 |
145 MapGenerator mapgen; |
146 MapGenerator mapgen; |
146 DrawMapScene drawMapScene; |
147 DrawMapScene drawMapScene; |
147 QComboBox * cType; |
148 QComboBox * cType; |
148 QListView * staticMapList; |
149 QListView * staticMapList; |
149 QListView * missionMapList; |
150 QListView * missionMapList; |
150 QLabel * lblMapName; |
151 QTextEdit * teMapName; |
151 QListWidget * generationStyles; |
152 QListWidget * generationStyles; |
152 QListWidget * mazeStyles; |
153 QListWidget * mazeStyles; |
153 QLabel * lblMapList; |
154 QLabel * lblMapList; |
154 QLabel * lblDesc; |
155 QLabel * lblDesc; |
155 QPushButton * btnTheme; |
156 QPushButton * btnTheme; |
181 void updateHelpTexts(MapModel::MapType type); |
182 void updateHelpTexts(MapModel::MapType type); |
182 void updatePreview(); |
183 void updatePreview(); |
183 void updateThemeButtonSize(); |
184 void updateThemeButtonSize(); |
184 void setupMissionMapsView(); |
185 void setupMissionMapsView(); |
185 void setupStaticMapsView(); |
186 void setupStaticMapsView(); |
|
187 void setMapNameLabel(QString mapName); |
186 |
188 |
187 MapModel::MapInfo m_mapInfo; |
189 MapModel::MapInfo m_mapInfo; |
188 int m_themeID; |
190 int m_themeID; |
189 int m_prevMapFeatureSize; |
191 int m_prevMapFeatureSize; |
190 int m_mapFeatureSize; |
192 int m_mapFeatureSize; |