MCPcopy Create free account
hub / github.com/KikoPlayProject/KikoPlay / toggleListCollapseState

Method toggleListCollapseState

UI/player.cpp:286–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286void PlayerWindow::toggleListCollapseState(int listType)
287{
288 const QVector<QPushButton *> sideBtns = { playlistBtn, danmuBtn, subBtn };
289 for (QPushButton *btn : sideBtns)
290 {
291 btn->setChecked(false);
292 }
293 if (listType >= 0 && listType < sideBtns.size())
294 {
295 sideBtns[listType]->setChecked(true);
296 }
297}
298
299void PlayerWindow::toggleFullScreenState(bool on)
300{

Callers 2

initSignalsMethod · 0.80
setupPlayPageMethod · 0.80

Calls 2

setCheckedMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected