| 173 | } |
| 174 | |
| 175 | void BaseWorkspace::InitSampleWidget() { |
| 176 | main_progress_ = new MainProgress(sdk_, context_, this); |
| 177 | main_progress_->show(); |
| 178 | |
| 179 | // button indicator |
| 180 | int shadow_color = 0x999999; |
| 181 | btn_indicator_ = new FloatButtonStateIndicator(this->context_, this); |
| 182 | btn_indicator_->hide(); |
| 183 | WidgetHelper::AddShadow(btn_indicator_, shadow_color); |
| 184 | |
| 185 | // debug panel |
| 186 | st_panel_ = new CtStatisticsPanel(context_, nullptr); |
| 187 | st_panel_->UpdateClientRenderTypeName(render_type_name_); |
| 188 | st_panel_->resize(def_window_size_); |
| 189 | st_panel_->hide(); |
| 190 | |
| 191 | hw_info_widget_ = new HWInfoWidget(true, nullptr); |
| 192 | hw_info_widget_->setWindowTitle(tcTr("id_remote_hw")); |
| 193 | hw_info_widget_->resize(QSize(1260, 880)); |
| 194 | hw_info_widget_->hide(); |
| 195 | } |
| 196 | |
| 197 | void BaseWorkspace::InitTheme() { |
| 198 | WidgetHelper::SetTitleBarColor(this, this->params_->titlebar_color_); |
nothing calls this directly
no test coverage detected