MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / on_toggleAll_pushButton_clicked

Method on_toggleAll_pushButton_clicked

MiniZincIDE/outputwidget.cpp:982–993  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

980}
981
982void OutputWidget::on_toggleAll_pushButton_clicked()
983{
984 for (auto it = _sections.begin(); it != _sections.end(); it++) {
985 if (!it.value()) {
986 // Some invisible, so show all
987 setAllSectionsVisibility(true);
988 return;
989 }
990 }
991 // Hide all sections since they were all previously visible
992 setAllSectionsVisibility(false);
993}
994
995void OutputWidget::resizeEvent(QResizeEvent *e)
996{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected