12 #ifndef FC__MPGUI_QT_H
13 #define FC__MPGUI_QT_H
15 #include <fc_config.h>
18 #include <QMainWindow>
33 mpgui_main(QApplication *qapp_in, QWidget *central_in);
52 const QString &version,
const QString &license,
53 enum modpack_type type,
const QString &subtype,
54 const QString ¬es);
64 void progress(
int downloaded,
int max);
void popup_quit_dialog()
Open dialog to confirm that user wants to quit modpack installer.
mpgui_main(QApplication *qapp_in, QWidget *central_in)
Main window constructor.
void closeEvent(QCloseEvent *event) override
User clicked windows close button.
void refresh_list_versions_thr()
Refresh display of modpack list modpack versions from another thread.
void row_selected(int, int)
User activated another table row.
void row_download(const QModelIndex &)
User activated another table row.
void display_msg_thr_signal(QString msg)
void refresh_list_versions_thr_signal()
void URL_given()
User entered URL.
void progress_thr_signal(int downloaded, int max)
QTableWidget * mplist_table
void progress_thr(int downloaded, int max)
Update progress bar from another thread.
void refresh_list_versions()
Refresh display of modpack list modpack versions.
void display_msg(const QString &msg)
Display status message.
void setup(QWidget *central, struct fcmp_params *fcmp)
Setup GUI object.
void progress(int downloaded, int max)
Update progress bar.
void setup_list(const QString &name, const QUrl &url, const QString &version, const QString &license, enum modpack_type type, const QString &subtype, const QString ¬es)
Build main modpack list view.
void display_msg_thr(const QString &msg)
Display status message from another thread.