MCPcopy Create free account
hub / github.com/Artikash/Textractor / Window

Method Window

extensions/lua.cpp:46–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44{
45public:
46 Window() : QDialog(nullptr, Qt::WindowMinMaxButtonsHint)
47 {
48 connect(&loadButton, &QPushButton::clicked, this, &Window::LoadScript);
49
50 if (scriptEditor.toPlainText().isEmpty()) scriptEditor.setPlainText(LUA_INTRO);
51 layout.addWidget(&scriptEditor);
52 layout.addWidget(&loadButton);
53
54 resize(800, 600);
55 setWindowTitle("Lua");
56 QMetaObject::invokeMethod(this, &QWidget::show, Qt::QueuedConnection);
57
58 LoadScript();
59 }
60
61 ~Window()
62 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected