MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / toggleMaximize

Method toggleMaximize

src/titlebar.cpp:124–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124void TitleBarWidget::toggleMaximize() {
125 if (window()->isMaximized())
126 window()->showNormal();
127 else
128 window()->showMaximized();
129 updateMaximizeIcon();
130}
131
132void TitleBarWidget::mousePressEvent(QMouseEvent* event) {
133 if (event->button() == Qt::LeftButton) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected