|
void | setFileDownloadFinished (const ModFile &filename) |
|
void | setFileFailed (const ModFile &filename) |
|
void | setFileProgress (const ModFile &filename, qint64 current, qint64 total) |
|
void | setFileSuccessful (const ModFile &filename) |
|
void | setFileUrl (const ModFile &filename, const QUrl &url) |
| Fired when new URL starts for specified file. More...
|
|
|
| WadseekerWadsTable (QWidget *pParent=nullptr) |
|
void | addFile (const QString &filename) |
|
ContextMenu * | contextMenu (const QModelIndex &index, const QPoint &cursorPosition) |
|
qint64 | expectedDataSize (int row) const |
| Total size of data in bytes for specified row. More...
|
|
QString | fileNameAtRow (int row) const |
|
double | totalDonePercentage () const |
| Total done percentage calculated basing on the data set by siteFileProgress(). More...
|
|
| TableWidgetMouseAware (QWidget *parent=nullptr) |
|
bool | isEmitSignalsEvenIfIndexIsInvalidEnabled () const |
|
QList< int > | selectedRows () const |
| Returns indices of currently selected rows. More...
|
|
void | setEmitSignalsEvenIfIndexIsInvalid (bool b) |
|
|
static const int | IDX_ETA_COLUMN = 4 |
|
static const int | IDX_NAME_COLUMN = 0 |
|
static const int | IDX_PROGRESS_COLUMN = 2 |
|
static const int | IDX_SIZE_COLUMN = 5 |
|
static const int | IDX_SPEED_COLUMN = 3 |
|
static const int | IDX_URL_COLUMN = 1 |
|
|
void | showEvent (QShowEvent *pEvent) override |
|
void | mouseDoubleClickEvent (QMouseEvent *event) override |
|
void | mouseReleaseEvent (QMouseEvent *event) override |
|
|
void | leftMouseDoubleClicked (const QModelIndex &index, const QPoint &cursorPosition) |
|
void | middleMouseClick (const QModelIndex &index, const QPoint &cursorPosition) |
|
void | rightMouseClick (const QModelIndex &index, const QPoint &cursorPosition) |
|
Definition at line 35 of file wadseekerwadstable.h.
qint64 WadseekerWadsTable::expectedDataSize |
( |
int |
row | ) |
const |
Total size of data in bytes for specified row.
- Returns
- Amount of bytes if successful, negative value if row is invalid.
Definition at line 90 of file wadseekerwadstable.cpp.
void WadseekerWadsTable::setFileUrl |
( |
const ModFile & |
filename, |
|
|
const QUrl & |
url |
|
) |
| |
|
slot |
double WadseekerWadsTable::totalDonePercentage |
( |
| ) |
const |
Total done percentage calculated basing on the data set by siteFileProgress().
- Returns
- A value between 0.0 and 100.0. If percentage cannot be calculated a negative value is returned.
Definition at line 236 of file wadseekerwadstable.cpp.
The documentation for this class was generated from the following files: