MCPcopy Create free account
hub / github.com/dfct/TrueFramelessWindow / center

Method center

qwinwidget.cpp:239–248  ·  view source on GitHub ↗

! Centers this widget over the native parent window. Use this function to have Qt toplevel windows (i.e. dialogs) positioned correctly over their native parent windows. \code QWinWidget qwin(hParent); qwin.center(); QMessageBox::information(&qwin, "Caption", "Information Text"); \endcode This will center the message box over the client area of hParent. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected