MCPcopy Create free account
hub / github.com/Gecode/gecode / changeStayOnTop

Method changeStayOnTop

gecode/gist/textoutput.cpp:161–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159 }
160
161 void TextOutputI::changeStayOnTop(void) {
162 QPoint p = pos();
163 if (stayOnTop->isChecked()) {
164 setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint);
165 } else {
166 setWindowFlags(windowFlags() & ~Qt::WindowStaysOnTopHint);
167 }
168 move(p);
169 show();
170 }
171
172}}
173

Callers

nothing calls this directly

Calls 1

posFunction · 0.50

Tested by

no test coverage detected