MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / add

Method add

gui/qt/keyhistorywidget.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37KeyHistoryWidget::~KeyHistoryWidget() = default;
38
39void 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
45void KeyHistoryWidget::setFontSize(int size) {
46 QFont monospace = QFontDatabase::systemFont(QFontDatabase::FixedFont);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected