wgt3= new QWidget(this,Qt::Window|Qt::WindowSystemMenuHint); wgt3->setVisible(false); templabel= new QLabel("temp",wgt3); wgt3->resize(960,540);
void Mywgt1::keyPressEvent(QKeyEvent*pe){ if (pe->key()==Qt::Key_Escape){emit exit();} if (pe->key()==Qt::Key_J) { pwgt2->setVisible(true); emit return_timer(timersec_check); emit return_fontsize(font_size_sh_check); emit return_fonttype(font_type_sh_check); emit return_fontcolor(font_color_sh_check); emit return_speed_runline(speed_runline_check); emit return_font_size_html(font_size_html_check); sl_pause_widget(); } if (pe->key()==Qt::Key_R){wgt3->setVisible(true);}QWidget::keyPressEvent(pe);}
wgt21= new Mywgt2(this,Qt::Window|Qt::WindowSystemMenuHint,"text1"); wgt21->setFixedSize(960,540); wgt22= new Mywgt2(this,Qt::Window|Qt::WindowSystemMenuHint,"text2"); wgt22->resize(960,540); wgt22->setWindowState(windowState()|Qt::WindowActive); wgt23= new Mywgt2(this,Qt::Window|Qt::WindowSystemMenuHint,"text3"); wgt23->resize(960,540); wgt23->setSizePolicy(QSizePolicy(QSizePolicy::Fixed,QSizePolicy::Fixed));