MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / slotTimeOut

Method slotTimeOut

App/Client/FrmFullScreenToolBar.cpp:114–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void CFrmFullScreenToolBar::slotTimeOut()
115{
116 int area = 5;
117 if(m_isHide) return;
118
119 if(m_pNail->isChecked()) return;
120
121 m_isHide = true;
122 m_Timer.stop();
123 m_ToolBar.hide();
124 resize(width(), area);
125
126 int h = m_pMain->frameGeometry().height() >> 1;
127 if(frameGeometry().top() < h)
128 move(frameGeometry().left(), 0);
129 else
130 move(frameGeometry().left(), m_pMain->frameGeometry().height() - area);
131}
132
133#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
134void CFrmFullScreenToolBar::enterEvent(QEnterEvent *event)

Callers

nothing calls this directly

Calls 2

moveFunction · 0.85
stopMethod · 0.80

Tested by

no test coverage detected