Be more ""Humane""
This commit is contained in:
parent
d0eaec047a
commit
d0e8a8b1ba
@ -34,10 +34,6 @@ CropScene::CropScene(QObject *parent, QPixmap *pixmap)
|
|||||||
|
|
||||||
menu.addSeparator();
|
menu.addSeparator();
|
||||||
addDrawingAction(menu, "Eraser", [] { return new EraserItem; });
|
addDrawingAction(menu, "Eraser", [] { return new EraserItem; });
|
||||||
|
|
||||||
QAction *reset = menu.addAction("Reset");
|
|
||||||
connect(reset, &QAction::triggered, [&] { setDrawingSelection("None", [] { return nullptr; }); });
|
|
||||||
|
|
||||||
QAction *clear = menu.addAction("Clear all drwawing");
|
QAction *clear = menu.addAction("Clear all drwawing");
|
||||||
connect(clear, &QAction::triggered, [&] {
|
connect(clear, &QAction::triggered, [&] {
|
||||||
auto its = items();
|
auto its = items();
|
||||||
@ -46,6 +42,9 @@ CropScene::CropScene(QObject *parent, QPixmap *pixmap)
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
QAction *reset = menu.addAction("Reset pen selection");
|
||||||
|
connect(reset, &QAction::triggered, [&] { setDrawingSelection("None", [] { return nullptr; }); });
|
||||||
|
|
||||||
menu.addSeparator();
|
menu.addSeparator();
|
||||||
QAction *settings = new QAction;
|
QAction *settings = new QAction;
|
||||||
settings->setText("Settings");
|
settings->setText("Settings");
|
||||||
|
Loading…
Reference in New Issue
Block a user