mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00
QuickShow: Add Delete action
Delete current file from file system.
This commit is contained in:
parent
f88ceb872a
commit
6c1af174a1
3 changed files with 62 additions and 11 deletions
|
@ -42,6 +42,15 @@ QSWidget::~QSWidget()
|
|||
{
|
||||
}
|
||||
|
||||
void QSWidget::clear()
|
||||
{
|
||||
m_bitmap = nullptr;
|
||||
m_path = {};
|
||||
|
||||
on_scale_change(100);
|
||||
update();
|
||||
}
|
||||
|
||||
void QSWidget::flip(Gfx::Orientation orientation)
|
||||
{
|
||||
m_bitmap = m_bitmap->flipped(orientation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue