widget *s =new widget;
s->move((QApplication::desktop()->width()-s->width())/2,
(QApplication::desktop()->height()-s->height())/2);
s->show();

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
  • 2021-05-23
  • 2021-05-17
  • 2022-12-23
  • 2021-12-02
猜你喜欢
  • 2021-12-27
  • 2022-01-17
  • 2021-10-10
  • 2022-12-23
  • 2022-12-23
  • 2021-04-03
相关资源
相似解决方案