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

Method SetWidowsTitle

App/Client/ViewSplitter.cpp:227–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227void CViewSplitter::SetWidowsTitle(
228 QWidget *pView, const QString &szTitle,
229 const QIcon &icon, const QString &szToolTip)
230{
231 if(!pView)
232 return;
233 auto pContainer = GetContainer(pView);
234 if(!pContainer)
235 return;
236 pContainer->setWindowTitle(szTitle);
237 if(m_pParameterApp->GetEnableTabIcon())
238 pContainer->setWindowIcon(icon);
239 else
240 pContainer->setWindowIcon(QIcon());
241 if(m_pParameterApp->GetEnableTabToolTip())
242 pContainer->SetPrompt(szToolTip);
243 else
244 pContainer->SetPrompt(QString());
245
246 SetSizes();
247}
248
249int CViewSplitter::SetFullScreen(bool bFull)
250{

Callers

nothing calls this directly

Calls 3

GetEnableTabIconMethod · 0.80
GetEnableTabToolTipMethod · 0.80
SetPromptMethod · 0.45

Tested by

no test coverage detected