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

Method SetCurrentView

App/Client/ViewTable.cpp:196–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196int CViewTable::SetCurrentView(QWidget* pView)
197{
198 int nIndex = m_pTab->indexOf(pView);
199 if(-1 != nIndex) {
200 m_pTab->setCurrentIndex(nIndex);
201 return 0;
202 }
203 return -1;
204}
205
206void CViewTable::resizeEvent(QResizeEvent *event)
207{

Callers 3

slotViewerFocusInMethod · 0.45
slotOperateChangedMethod · 0.45
StartMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected