19 #ifndef OST_GUI_REMOTE_LOADER_HH
20 #define OST_GUI_REMOTE_LOADER_HH
27 #include <QToolButton>
30 #include <QProgressBar>
31 #include <QActionGroup>
32 namespace ost {
namespace gui {
43 virtual bool Save(
const QString& prefix);
44 virtual bool Restore(
const QString& prefix);
47 virtual void keyPressEvent(QKeyEvent* event);
49 void ShowProgressBar(
bool visiblility);
54 void DownloadFinished();
55 void UpdateProgress(qint64 read, qint64 total);
59 QLineEdit* line_edit_;
61 QProgressBar* progress_bar_;
63 QMenu* site_loader_menu_;
64 QActionGroup* site_actions_;
65 String selected_site_loader_;