automatically copy "About LAMMPS" dialog text to clipboard

This commit is contained in:
Axel Kohlmeyer
2023-08-19 07:20:25 -04:00
parent b904534ac2
commit a4390529ab
3 changed files with 13 additions and 2 deletions

View File

@ -71,6 +71,7 @@ CodeEditor::CodeEditor(QWidget *parent) : QPlainTextEdit(parent)
connect(this, &CodeEditor::blockCountChanged, this, &CodeEditor::updateLineNumberAreaWidth);
connect(this, &CodeEditor::updateRequest, this, &CodeEditor::updateLineNumberArea);
updateLineNumberAreaWidth(0);
setCursorWidth(2);
}
int CodeEditor::lineNumberAreaWidth()