QPixmap::scaled(); //图片缩放
setGeometry(); //设置窗体大小
//获取桌面信息
QRect desktopRect = QApplication::desktop()->availableGeometry();
//设置窗口风格透明,无边窗
setWindowFlags(Qt::FramelessWindowHint);
setAttribute(Qt::WA_TranslucentBackground, true);
QLabel::setFixedSize(); //设置Label编辑器大小
QSpinBox::setRang(1,20); //设置选取范围
控件->installEventFilter(this); //添加事件过滤器