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

Method SetFullScreen

App/Client/ViewTable.cpp:145–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145int CViewTable::SetFullScreen(bool bFull)
146{
147 if(!m_pTab) return -1;
148 if(bFull)
149 {
150 m_szStyleSheet = m_pTab->styleSheet();
151 SetVisibleTab(false);
152 //qDebug(log) << m_szStyleSheet;
153 m_pTab->setStyleSheet("QTabWidget::pane{top:0px;left:0px;border:none;}");
154 m_pTab->showFullScreen();
155 } else {
156 SetVisibleTab(m_pParameterApp->GetTabBar());
157 m_pTab->setStyleSheet(m_szStyleSheet);
158 m_pTab->showNormal();
159 }
160 return 0;
161}
162
163int CViewTable::SetVisibleTab(bool bVisible)
164{

Callers 1

Calls 1

GetTabBarMethod · 0.80

Tested by

no test coverage detected