equal
deleted
inserted
replaced
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())); |