MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / UpdateUi

Method UpdateUi

source/ui/UpdateUi.cpp:2–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "UpdateUi.h"
2UpdateUi::UpdateUi(const QString& version, const QString& content)
3{
4 ui.setupUi(this);
5 StyleGroup();
6 ui.version_label->setText(version);
7 ui.content_label->setText(content);
8 connect(ui.title_close_button, &QPushButton::clicked, this, [this](bool) { close(); });
9 move(Qi::widget.main->pos());
10 exec();
11}
12
13void UpdateUi::StyleGroup()
14{

Callers

nothing calls this directly

Calls 2

connectFunction · 0.85
posMethod · 0.45

Tested by

no test coverage detected