mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-16 05:10:32 +02:00
Automated Merge Preparation
This commit is contained in:
@@ -101,13 +101,9 @@ void IntelliPhotoGui::slotCreateNewShapedLayer(){
|
|||||||
QInputDialog Input;
|
QInputDialog Input;
|
||||||
Input.setPalette(Palette);
|
Input.setPalette(Palette);
|
||||||
|
|
||||||
int width = Input.getInt(this, tr("New Layer"),
|
int width = Input.getInt(this, tr("New Layer"), tr("Width:"), 200, 1, 500, 1, &ok1);
|
||||||
tr("Width:"),
|
|
||||||
200,1, 500, 1, &ok1);
|
|
||||||
|
|
||||||
int height = QInputDialog::getInt(this, tr("New Layer"),
|
int height = QInputDialog::getInt(this, tr("New Layer"), tr("Height:"), 200, 1, 500, 1, &ok2);
|
||||||
tr("Height:"),
|
|
||||||
200,1, 500, 1, &ok2);
|
|
||||||
// Create New Layer
|
// Create New Layer
|
||||||
if (ok1&&ok2) {
|
if (ok1&&ok2) {
|
||||||
paintingArea->addLayer(width, height, 0, 0, IntelliImage::ImageType::SHAPEDIMAGE);
|
paintingArea->addLayer(width, height, 0, 0, IntelliImage::ImageType::SHAPEDIMAGE);
|
||||||
|
|||||||
Reference in New Issue
Block a user