QTfrontend/mapContainer.cpp
changeset 530 f0b962214436
parent 486 7ea71cd3acd5
child 677 9d0bcc3c903a
equal deleted inserted replaced
529:812682c1ab62 530:f0b962214436
    31 
    31 
    32 HWMapContainer::HWMapContainer(QWidget * parent) :
    32 HWMapContainer::HWMapContainer(QWidget * parent) :
    33   QWidget(parent), mainLayout(this)
    33   QWidget(parent), mainLayout(this)
    34 {
    34 {
    35   imageButt=new QPushButton(this);
    35   imageButt=new QPushButton(this);
       
    36   imageButt->setObjectName("imageButt");
    36   imageButt->setFixedSize(256, 128);
    37   imageButt->setFixedSize(256, 128);
    37   imageButt->setFlat(true);
    38   imageButt->setFlat(true);
    38   imageButt->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);//QSizePolicy::Minimum, QSizePolicy::Minimum);
    39   imageButt->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);//QSizePolicy::Minimum, QSizePolicy::Minimum);
    39   mainLayout.addWidget(imageButt);
    40   mainLayout.addWidget(imageButt);
    40   connect(imageButt, SIGNAL(clicked()), this, SLOT(setRandomSeed()));
    41   connect(imageButt, SIGNAL(clicked()), this, SLOT(setRandomSeed()));