32 QTableView* localView() {
return m_addonsOnSystem; }
33 QTableView* remoteView() {
return m_remoteAddons; }
35 QPushButton& installButton()
const {
return *m_install; }
37 QWidget* getWidget()
override;
40 void on_message(QNetworkReply* rep);
43 void update_progress(
double);
44 void reset_progress();
45 void progress_from_bytes(qint64 bytesReceived, qint64 bytesTotal);
46 void updateCategoryFilter();
49 void refresh() W_SIGNAL(refresh);
50 void requestInformation(QUrl url) W_SIGNAL(requestInformation, url);
51 void installAddon(
const Package& addon) W_SIGNAL(installAddon, addon);
52 void installLibrary(
const Package& addon) W_SIGNAL(installLibrary, addon);
53 void installSDK() W_SIGNAL(installSDK);
57 int getCurrentRow(
const QTableView* t);
62 void install_package(
const Package& addon);
67 QTableView* getCurrentView();
68 void updateCategoryComboBox();
69 void applyCategoryFilter();
71 QWidget* m_widget{
new QWidget};
73 QTableView* m_addonsOnSystem{
new QTableView};
74 QTableView* m_remoteAddons{
new QTableView};
76 QPushButton* m_link{
new QPushButton{tr(
"Open link")}};
77 QPushButton* m_install{
new QPushButton{tr(
"Install")}};
78 QPushButton* m_uninstall{
new QPushButton{tr(
"Uninstall")}};
79 QPushButton* m_update{
new QPushButton{tr(
"Update")}};
80 QPushButton* m_updateAll{
new QPushButton{tr(
"Update all")}};
82 QProgressBar* m_progress{
new QProgressBar};
85 QLabel* m_storage{
new QLabel};
86 QComboBox* m_categoryComboBox =
nullptr;