MdiChild::MdiChild(QWidget *parent): QWidget(parent){ ... setMinimumSize(int, int);}
C++ (Qt)QMdiArea::setViewMode(QMdiArea::TabbedView)
#include <QApplication>#include <QDialog>#include "ui_kvdop.h"int main(int argc, char *argv[]){ QApplication app(argc, argv); Ui::KvForm kvForm; QWidget *widget = new QWidget; kvForm.setupUi(widget); widget->show(); return app.exec();}
setMinimumSize(this.size);