Qt choosing to create a new file in the file will not display information.

    void MainWindow::fileCreateActionSlot()
{

        QLineEdit *line_edit=new QLineEdit();
        line_edit->setGeometry(50,50,80,80);
        line_edit->setText("");
        QLabel my_label;
        my_label.setText("");

}
Mar.11,2021
Menu