31 QTableView* localView() {
return m_addonsOnSystem; }
32 QTableView* remoteView() {
return m_remoteAddons; }
34 QPushButton& installButton()
const {
return *m_install; }
36 QWidget* getWidget()
override;
39 void on_message(QNetworkReply* rep);
42 void update_progress(
double);
43 void reset_progress();
44 void progress_from_bytes(qint64 bytesReceived, qint64 bytesTotal);
47 void refresh() W_SIGNAL(refresh);
48 void requestInformation(QUrl url) W_SIGNAL(requestInformation, url);
49 void installAddon(
const Package& addon) W_SIGNAL(installAddon, addon);
50 void installLibrary(
const Package& addon) W_SIGNAL(installLibrary, addon);
51 void installSDK() W_SIGNAL(installSDK);
55 int getCurrentRow(
const QTableView* t);
60 void install_package(
const Package& addon);
66 QWidget* m_widget{
new QWidget};
68 QTableView* m_addonsOnSystem{
new QTableView};
69 QTableView* m_remoteAddons{
new QTableView};
71 QPushButton* m_link{
new QPushButton{tr(
"Open link")}};
72 QPushButton* m_install{
new QPushButton{tr(
"Install")}};
73 QPushButton* m_uninstall{
new QPushButton{tr(
"Uninstall")}};
74 QPushButton* m_update{
new QPushButton{tr(
"Update")}};
75 QPushButton* m_updateAll{
new QPushButton{tr(
"Update all")}};
77 QProgressBar* m_progress{
new QProgressBar};
80 QLabel* m_storage{
new QLabel};