public void Move(int x, int y) { interceptor.Invoke("move$$", "move(int, int)", typeof(void), typeof(int), x, typeof(int), y); }
public static void CenterWidgetOnScreen(QWidget widget) { QRect rect = QApplication.Desktop().AvailableGeometry(widget); widget.Move((rect.Width() / 2) - (widget.Rect.Width() / 2), (rect.Height() / 2) - (widget.Rect.Height() / 2)); }