QTfrontend/ui/widget/mapContainer.cpp
changeset 8070 66bc20d089fc
parent 8049 133e22b5c410
child 8092 08960209db8c
child 8377 869f80966a77
equal deleted inserted replaced
8069:bb7671829935 8070:66bc20d089fc
   296     imageButt->setIconSize(image.size());
   296     imageButt->setIconSize(image.size());
   297 }
   297 }
   298 
   298 
   299 void HWMapContainer::askForGeneratedPreview()
   299 void HWMapContainer::askForGeneratedPreview()
   300 {
   300 {
   301     pMap = new HWMap();
   301     pMap = new HWMap(this);
   302     connect(pMap, SIGNAL(ImageReceived(const QImage)), this, SLOT(setImage(const QImage)));
   302     connect(pMap, SIGNAL(ImageReceived(const QImage)), this, SLOT(setImage(const QImage)));
   303     connect(pMap, SIGNAL(HHLimitReceived(int)), this, SLOT(setHHLimit(int)));
   303     connect(pMap, SIGNAL(HHLimitReceived(int)), this, SLOT(setHHLimit(int)));
   304     connect(pMap, SIGNAL(destroyed(QObject *)), this, SLOT(onPreviewMapDestroyed(QObject *)));
   304     connect(pMap, SIGNAL(destroyed(QObject *)), this, SLOT(onPreviewMapDestroyed(QObject *)));
   305     pMap->getImage(m_seed,
   305     pMap->getImage(m_seed,
   306                    getTemplateFilter(),
   306                    getTemplateFilter(),