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

Method Window

extensions/styler.cpp:12–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10{
11public:
12 Window() : QDialog(nullptr, Qt::WindowMinMaxButtonsHint)
13 {
14 connect(&loadButton, &QPushButton::clicked, this, &Window::LoadScript);
15
16 if (scriptEditor.toPlainText().isEmpty()) scriptEditor.setPlainText("/*https://doc.qt.io/qt-5/stylesheet-syntax.html*/");
17 layout.addWidget(&scriptEditor);
18 layout.addWidget(&loadButton);
19
20 resize(800, 600);
21 setWindowTitle("Styler");
22 QMetaObject::invokeMethod(this, &QWidget::show, Qt::QueuedConnection);
23
24 LoadScript();
25 }
26
27 ~Window()
28 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected