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

Method customEvent

source/ui/VarViewUi.cpp:156–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154 {
155 QKeyEvent* keyEvent = (QKeyEvent*)e;
156 if ((keyEvent->key() == Qt::Key_Escape) || (keyEvent->key() == Qt::Key_Return) || keyEvent->key() == Qt::Key_Enter || (keyEvent->key() == Qt::Key_Space)) return true;
157 }
158 return QDialogFrameless::event(e);
159}
160void VarViewUi::showEvent(QShowEvent*)
161{
162 TableUpdate();
163 SetForegroundWindow((HWND)QWidget::winId());
164}
165void VarViewUi::customEvent(QEvent* e)
166{
167 if (e->type() == static_cast<int>(QiEvent::var_reload))
168 {
169 if (!isHidden())
170 {
171 if (!reload)
172 {

Callers

nothing calls this directly

Calls 1

typeMethod · 0.45

Tested by

no test coverage detected