Better looks if we have just one button "change image"

--HG--
branch : feature
This commit is contained in:
Valentina Zhuravska 2016-04-07 02:51:11 +03:00
parent 8911fb5e11
commit 5d38b188c4
2 changed files with 0 additions and 8 deletions

View File

@ -632,7 +632,6 @@ void DialogPatternProperties::InitImage()
ui->imageLabel->setScaledContents(true);
connect(ui->changeImageButton, &QPushButton::clicked, this, &DialogPatternProperties::ChangeImage);
connect(ui->deleteImageButton, &QPushButton::clicked, this, &DialogPatternProperties::DeleteImage);
connect(ui->imageLabel, &QWidget::customContextMenuRequested, this, &DialogPatternProperties::ShowContextMenu);
deleteAction = new QAction(tr("Delete image"), this);

View File

@ -92,13 +92,6 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="deleteImageButton">
<property name="text">
<string>delete image</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="imageLabel">
<property name="sizePolicy">