Here is the solution:
Qt Code:
ui(new Ui::DialogForm) { ui->setupUi(this); connect(ui->pbClearLineEdit, &QPushButton::clicked, static_cast<MainWindow*>(parent), &MainWindow::clear); }To copy to clipboard, switch view to plain text mode
Here is the solution:
Qt Code:
ui(new Ui::DialogForm) { ui->setupUi(this); connect(ui->pbClearLineEdit, &QPushButton::clicked, static_cast<MainWindow*>(parent), &MainWindow::clear); }To copy to clipboard, switch view to plain text mode
Bookmarks