| 37 | KeyHistoryWidget::~KeyHistoryWidget() = default; |
| 38 | |
| 39 | void KeyHistoryWidget::add(const QString &entry) { |
| 40 | m_view->moveCursor(QTextCursor::End); |
| 41 | m_view->insertPlainText(entry + (m_chkBoxVertical->isChecked() ? "\n" : "")); |
| 42 | m_view->moveCursor(QTextCursor::End); |
| 43 | } |
| 44 | |
| 45 | void KeyHistoryWidget::setFontSize(int size) { |
| 46 | QFont monospace = QFontDatabase::systemFont(QFontDatabase::FixedFont); |
nothing calls this directly
no outgoing calls
no test coverage detected