MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / setSkipButton

Method setSkipButton

launcher/ui/dialogs/ProgressDialog.cpp:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void ProgressDialog::setSkipButton(bool present, QString label)
74{
75 ui->skipButton->setAutoDefault(false);
76 ui->skipButton->setDefault(false);
77 ui->skipButton->setFocusPolicy(Qt::ClickFocus);
78 ui->skipButton->setEnabled(present);
79 ui->skipButton->setVisible(present);
80 ui->skipButton->setText(label);
81 updateSize();
82}
83
84void ProgressDialog::on_skipButton_clicked(bool checked)
85{

Callers 15

decideLaunchModeMethod · 0.80
onProgressRequestedMethod · 0.80
runModalTaskMethod · 0.80
processURLsMethod · 0.80
updateStateMethod · 0.80
updateTexturePacksMethod · 0.80
updateModsMethod · 0.80
updateResourcePacksMethod · 0.80

Calls 3

setEnabledMethod · 0.80
setVisibleMethod · 0.80
setTextMethod · 0.45

Tested by

no test coverage detected