pc_form.ui.h

来自「嵌入式LINUX的智能家居系统源码」· C头文件 代码 · 共 49 行

H
49
字号
/****************************************************************************** ui.h extension file, included from the uic-generated form implementation.**** If you wish to add, delete or rename functions or slots use** Qt Designer which will update this file, preserving your code. Create an** init() function in place of a constructor, and a destroy() function in** place of a destructor.*****************************************************************************/void pc_Form::video_control(){    if (isVideoOn==false)    {	emit sig_start_video();	frame->startPaint();	videoButton->setText( tr( "Stop Video" ) );	isVideoOn=true;    }    else    {	emit sig_stop_video();	frame->stopPaint();	videoButton->setText( tr( "Video Start" ) );	isVideoOn=false;    }}void pc_Form::audio_control(){    if (isAudioOn==false)    {	emit sig_start_audio();	audioButton->setText( tr( "Stop Audio" ) );       isAudioOn=true;        }    else    {       emit sig_stop_audio();    	audioButton->setText( tr( "Audio Start" ) );       isAudioOn=false;    }}void pc_Form::print_video(){    frame->paintFrame();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?