⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chunnelchoose_form.ui.h~

📁 Linux下的qt编程示例
💻 H~
字号:
/****************************************************************************** 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.*****************************************************************************/int ET;void ChunnelChoose_Form::init(){    if (ET==1){	GSVUachunnel_comboBox->setEnabled(FALSE);//发电机定子电压通道	GSVUbchunnel_comboBox->setEnabled(FALSE);	GSVUcchunnel_comboBox->setEnabled(FALSE);		GSCIachunnel_comboBox->setEnabled(FALSE);//发电机定子电流通道	GSCIbchunnel_comboBox->setEnabled(FALSE);	GSCIcchunnel_comboBox->setEnabled(FALSE);		GRCIrchunnel_comboBox->setEnabled(FALSE);//发电机转子电流通道		ESCIrachunnel_comboBox->setEnabled(FALSE);//主励定子电流通道	ESCIrbchunnel_comboBox->setEnabled(FALSE);	ESCIrcchunnel_comboBox->setEnabled(FALSE);    }    else if (ET==2){	GSVUachunnel_comboBox->setEnabled(FALSE);//发电机定子电压通道	GSVUbchunnel_comboBox->setEnabled(FALSE);	GSVUcchunnel_comboBox->setEnabled(FALSE);		GSCIachunnel_comboBox->setEnabled(FALSE);//发电机定子电流通道	GSCIbchunnel_comboBox->setEnabled(FALSE);	GSCIcchunnel_comboBox->setEnabled(FALSE);		GRCIrchunnel_comboBox->setEnabled(FALSE);//发电机转子电流通道		ESVUrachunnel_comboBox->setEnabled(FALSE);//主励定子电压通道	ESVUrbchunnel_comboBox->setEnabled(FALSE);	ESVUrcchunnel_comboBox->setEnabled(FALSE);    }    else if (ET==3){	ESVUrachunnel_comboBox->setEnabled(FALSE);//主励定子电压通道	ESVUrbchunnel_comboBox->setEnabled(FALSE);	ESVUrcchunnel_comboBox->setEnabled(FALSE);		ESCIrachunnel_comboBox->setEnabled(FALSE);//主励定子电流通道	ESCIrbchunnel_comboBox->setEnabled(FALSE);	ESCIrcchunnel_comboBox->setEnabled(FALSE);		ERCIrLchunnel_comboBox->setEnabled(FALSE);//主励转子电流通道		GSCIachunnel_comboBox->setEnabled(FALSE);//发电机定子电流通道	GSCIbchunnel_comboBox->setEnabled(FALSE);	GSCIcchunnel_comboBox->setEnabled(FALSE);    }    else if (ET==4){	ESVUrachunnel_comboBox->setEnabled(FALSE);//主励定子电压通道	ESVUrbchunnel_comboBox->setEnabled(FALSE);	ESVUrcchunnel_comboBox->setEnabled(FALSE);		ESCIrachunnel_comboBox->setEnabled(FALSE);//主励定子电流通道	ESCIrbchunnel_comboBox->setEnabled(FALSE);	ESCIrcchunnel_comboBox->setEnabled(FALSE);		ERCIrLchunnel_comboBox->setEnabled(FALSE);//主励转子电流通道		GSVUachunnel_comboBox->setEnabled(FALSE);//发电机定子电压通道	GSVUbchunnel_comboBox->setEnabled(FALSE);	GSVUcchunnel_comboBox->setEnabled(FALSE);    }}

⌨️ 快捷键说明

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