Freeciv-3.2
|
#include <mpgui_qt.h>
Public Slots | |
void | display_msg (QString msg) |
void | progress (int downloaded, int max) |
void | refresh_list_versions () |
Signals | |
void | display_msg_thr_signal (QString msg) |
void | progress_thr_signal (int downloaded, int max) |
void | refresh_list_versions_thr_signal () |
Public Member Functions | |
void | setup (QWidget *central, struct fcmp_params *fcmp) |
void | display_msg_thr (const char *msg) |
void | progress_thr (int downloaded, int max) |
void | setup_list (const char *name, const char *URL, const char *version, const char *license, enum modpack_type type, const char *subtype, const char *notes) |
void | refresh_list_versions_thr () |
Private Slots | |
void | URL_given () |
void | row_selected (int, int) |
void | row_download (const QModelIndex &) |
Private Attributes | |
QLineEdit * | URLedit |
QLabel * | msg_dspl |
QProgressBar * | bar |
QTableWidget * | mplist_table |
Definition at line 49 of file mpgui_qt.h.
Display status message
Definition at line 283 of file mpgui_qt.cpp.
Referenced by gui_download_modpack(), main(), msg_callback(), and setup().
Display status message from another thread
Definition at line 294 of file mpgui_qt.cpp.
Referenced by msg_callback_thr().
Referenced by display_msg_thr(), and setup().
Update progress bar from another thread
Definition at line 311 of file mpgui_qt.cpp.
Referenced by progress_callback_thr().
Referenced by progress_thr(), and setup().
|
slot |
Refresh display of modpack list modpack versions
Definition at line 344 of file mpgui_qt.cpp.
Referenced by setup().
void mpgui::refresh_list_versions_thr | ( | ) |
Refresh display of modpack list modpack versions from another thread
Definition at line 372 of file mpgui_qt.cpp.
Referenced by mpqt_worker::run().
|
signal |
Referenced by refresh_list_versions_thr(), and setup().
|
privateslot |
User activated another table row
Definition at line 468 of file mpgui_qt.cpp.
Referenced by setup().
User activated another table row
Definition at line 458 of file mpgui_qt.cpp.
Referenced by setup().
void mpgui::setup | ( | QWidget * | central, |
struct fcmp_params * | params | ||
) |
void mpgui::setup_list | ( | const char * | name, |
const char * | URL, | ||
const char * | version, | ||
const char * | license, | ||
enum modpack_type | type, | ||
const char * | subtype, | ||
const char * | notes | ||
) |
Build main modpack list view
Definition at line 380 of file mpgui_qt.cpp.
Referenced by setup_modpack_list().
|
privateslot |
User entered URL
Definition at line 336 of file mpgui_qt.cpp.
Referenced by row_download(), and setup().
|
private |
Definition at line 81 of file mpgui_qt.h.
Referenced by progress(), and setup().
|
private |
Definition at line 82 of file mpgui_qt.h.
Referenced by refresh_list_versions(), row_download(), row_selected(), setup(), and setup_list().
|
private |
Definition at line 80 of file mpgui_qt.h.
Referenced by display_msg(), and setup().
|
private |
Definition at line 79 of file mpgui_qt.h.
Referenced by row_download(), row_selected(), setup(), and URL_given().