MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / setSkipButton

Method setSkipButton

launcher/ui/dialogs/ProgressDialog.cpp:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void ProgressDialog::setSkipButton(bool present, QString label)
33{
34 ui->skipButton->setAutoDefault(false);
35 ui->skipButton->setDefault(false);
36 ui->skipButton->setFocusPolicy(Qt::ClickFocus);
37 ui->skipButton->setEnabled(present);
38 ui->skipButton->setVisible(present);
39 ui->skipButton->setText(label);
40 updateSize();
41}
42
43void ProgressDialog::on_skipButton_clicked(bool checked)
44{

Callers 8

loginMethod · 0.80
onProgressRequestedMethod · 0.80
runModalTaskMethod · 0.80
finalizeInstanceMethod · 0.80
installModsMethod · 0.80
updateModsMethod · 0.80
checkCandidatesMethod · 0.80
ensureMetadataMethod · 0.80

Calls 3

setEnabledMethod · 0.80
setVisibleMethod · 0.80
setTextMethod · 0.45

Tested by

no test coverage detected