mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:17:44 +00:00
PDFViewer: Accept file drops
This commit is contained in:
parent
fa0606ea36
commit
40d732a73c
2 changed files with 31 additions and 0 deletions
|
@ -30,6 +30,8 @@ public:
|
|||
|
||||
private:
|
||||
PDFViewerWidget();
|
||||
virtual void drag_enter_event(GUI::DragEvent&) override;
|
||||
virtual void drop_event(GUI::DropEvent&) override;
|
||||
|
||||
void initialize_toolbar(GUI::Toolbar&);
|
||||
PDF::PDFErrorOr<void> try_open_file(StringView path, NonnullOwnPtr<Core::File> file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue