如何实现窗口全屏显示到副屏上 下面代码执行后无论窗口在哪个显示器 点Full Screen按钮后会全屏到主显示器
  QApplication a(argc, argv);
    QWidget *window=new QWidget;
    window->setWindowTitle("TEST");
    QPushButton *button=new QPushButton(window);
    button->setText("Full Screen");
    button->setGeometry(QRect(180, 200, 75, 23));
    QPushButton *button1=new QPushButton(window);
    button1->setGeometry(QRect(280, 200, 75, 23));
    button1->setText("Normal");
    QPushButton *button2=new QPushButton(window);
    button2->setGeometry(QRect(380,200,75,23));
    button2->setText("Max");
    QObject::connect(button,SIGNAL(clicked()),window,SLOT(showFullScreen()));
    QObject::connect(button1,SIGNAL(clicked()),window,SLOT(showNormal()));
    QObject::connect(button2,SIGNAL(clicked()),window,SLOT(showMaximized()));
    window->show();
    return a.exec();