mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00
QuickShow: Switch to full screen mode on double click
More respect to user behavior on image viewers :)
This commit is contained in:
parent
016fc9c133
commit
bf3d98012a
3 changed files with 12 additions and 2 deletions
|
@ -160,6 +160,11 @@ void QSWidget::resize_event(GUI::ResizeEvent& event)
|
|||
GUI::Widget::resize_event(event);
|
||||
}
|
||||
|
||||
void QSWidget::doubleclick_event(GUI::MouseEvent&)
|
||||
{
|
||||
on_doubleclick();
|
||||
}
|
||||
|
||||
void QSWidget::paint_event(GUI::PaintEvent& event)
|
||||
{
|
||||
Frame::paint_event(event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue