作业: widget.cpp #include "window.h" #include<QDebug> #include<QIcon> Window::Window(QWidget *parent) : QWidget(parent) { qDebug() <<"size" <<this->size(); // this->resize(430,330); this->resize(QSize(800,600)); // this->setMaximumSize(430,330); // this->setMinimumSize(430,330); this->setFixedSize(430,330); qDebug()<< this->windowTitle(); this->setWindowTitle("WeChat"); this->setWindowIcon(QIcon("E:\\c\\qt1\\111.png")); this->setStyleSheet("background-color:skyblue;");...