MCPcopy Create free account
hub / github.com/Atarity/Lightpack / settingsProfileChanged_UpdateUI

Method settingsProfileChanged_UpdateUI

Software/src/SettingsWindow.cpp:1378–1392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1376}
1377
1378void SettingsWindow::settingsProfileChanged_UpdateUI(const QString &profileName)
1379{
1380 DEBUG_LOW_LEVEL << Q_FUNC_INFO;
1381
1382 setWindowTitle(tr("Prismatik: %1").arg(profileName));
1383
1384 if (m_backlightStatus == Backlight::StatusOn && m_trayIcon!=NULL)
1385 m_trayIcon->updateProfiles();
1386
1387 if(ui->comboBox_Profiles->count() > 1){
1388 ui->pushButton_DeleteProfile->setEnabled(true);
1389 }else{
1390 ui->pushButton_DeleteProfile->setEnabled(false);
1391 }
1392}
1393
1394// ----------------------------------------------------------------------------
1395

Callers

nothing calls this directly

Calls 3

countMethod · 0.80
setEnabledMethod · 0.80
updateProfilesMethod · 0.45

Tested by

no test coverage detected