MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / downloadData

Method downloadData

src/WizDownloadObjectDataDialog.cpp:27–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void WizDownloadObjectDataDialog::downloadData(const WIZOBJECTDATA& data)
28{
29 m_bUserCancled = false;
30
31 if (data.strDisplayName.length() > 30) {
32 ui->labelDownloading->setText(data.strDisplayName.left(30) + "...");
33 } else {
34 ui->labelDownloading->setText(data.strDisplayName);
35 }
36
37 ui->progressBar->setValue(0);
38
39 m_downloader->setData(data);
40 m_downloader->startDownload();
41 open();
42}
43
44void WizDownloadObjectDataDialog::onButtonCancle_clicked()
45{

Callers 6

downloadAttachmentMethod · 0.45
openAttachmentMethod · 0.45
startDownloadMethod · 0.45
foreachFunction · 0.45

Calls 5

lengthMethod · 0.80
setValueMethod · 0.80
setTextMethod · 0.45
setDataMethod · 0.45
startDownloadMethod · 0.45

Tested by

no test coverage detected