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

Method DataWidget

gui/qt/datawidget.cpp:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <QtWidgets/QApplication>
6
7DataWidget::DataWidget(QWidget *parent) : QPlainTextEdit{parent} {
8 moveable = false;
9 highlighter = new AsmHighlighter(document());
10 QFont font = this->font();
11 font.setStyleHint(QFont::TypeWriter);
12 setFont(font);
13 setContextMenuPolicy(Qt::CustomContextMenu);
14}
15
16void DataWidget::updateDarkMode() {
17 bool darkMode = isRunningInDarkMode();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected