QTfrontend/ui/widget/mapContainer.h
changeset 9739 c2c9dd2544b8
parent 9735 6312152d92ad
child 9744 1ee4842a9c86
equal deleted inserted replaced
9738:18bb6d1fc9d9 9739:c2c9dd2544b8
   109         void showSeedPrompt();
   109         void showSeedPrompt();
   110         void previewClicked();
   110         void previewClicked();
   111 
   111 
   112     protected:
   112     protected:
   113         virtual void resizeEvent ( QResizeEvent * event );
   113         virtual void resizeEvent ( QResizeEvent * event );
   114         virtual void paintEvent ( QPaintEvent * event );
   114         virtual void showEvent ( QShowEvent * event );
   115 
   115 
   116     private:
   116     private:
   117         QVBoxLayout mainLayout;
   117         QVBoxLayout mainLayout;
   118         QPushButton* mapPreview;
   118         QPushButton* mapPreview;
   119         QComboBox* chooseMap;
   119         QComboBox* chooseMap;
   148         QPushButton * btnRandomize;
   148         QPushButton * btnRandomize;
   149         QString selectedTheme;
   149         QString selectedTheme;
   150         QPushButton * btnSeed;
   150         QPushButton * btnSeed;
   151         bool m_master;
   151         bool m_master;
   152         QList<QWidget *> m_childWidgets;
   152         QList<QWidget *> m_childWidgets;
   153         bool m_previewDirty;
   153         bool m_previewEnabled;
   154 
   154 
   155         void intSetSeed(const QString & seed);
   155         void intSetSeed(const QString & seed);
   156         void intSetMap(const QString & map);
   156         void intSetMap(const QString & map);
   157         void intSetMapgen(MapGenerator m);
   157         void intSetMapgen(MapGenerator m);
   158         void intSetTemplateFilter(int);
   158         void intSetTemplateFilter(int);