mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:17:44 +00:00
Browser: Add download finished graphics to download widget
Not the prettiest, but visually indicates that the download has finished successfully.
This commit is contained in:
parent
29cce65d2f
commit
4faff69974
3 changed files with 6 additions and 2 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <AK/URL.h>
|
||||
#include <LibCore/ElapsedTimer.h>
|
||||
#include <LibCore/FileStream.h>
|
||||
#include <LibGUI/ImageWidget.h>
|
||||
#include <LibGUI/Progressbar.h>
|
||||
#include <LibGUI/Widget.h>
|
||||
#include <LibProtocol/Request.h>
|
||||
|
@ -35,6 +36,7 @@ private:
|
|||
RefPtr<GUI::Button> m_cancel_button;
|
||||
RefPtr<GUI::Button> m_close_button;
|
||||
RefPtr<GUI::CheckBox> m_close_on_finish_checkbox;
|
||||
RefPtr<GUI::ImageWidget> m_browser_image;
|
||||
OwnPtr<Core::OutputFileStream> m_output_file_stream;
|
||||
Core::ElapsedTimer m_elapsed_timer;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue