2017-08-28 PlainTextEdit ウィジェットのテキストを取得するメンバー関数 toPlainText() で取得する。初見殺し。 ui->plainTextEdit->toPlainText();