| 225 | } |
| 226 | |
| 227 | void 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 | |
| 249 | int CViewSplitter::SetFullScreen(bool bFull) |
| 250 | { |
nothing calls this directly
no test coverage detected