QT学习笔记
1.窗体居中显示
#include "widget.h" #include <QApplication> #include <QDesktopWidget> int main(int argc, char *argv[]) { QApplication a(argc, argv); Widget w; w.show(); w.move((QApplication::desktop()->width()-w.width())/2, (QApplication::desktop()->height()-w.height())/2); return a.exec(); }
windows上pip 教程,安装和使用
https://blog.csdn.net/m0_37774696/article/details/84328843
PyQt5+Pycharm安装和配置
https://blog.csdn.net/zhangziju/article/details/80243858