📄 edatafile_form.ui.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.*****************************************************************************/QString edatafilename, exptype;int EET;void EDatafile_Form::choosetype(){ if (ETcomboBox->currentItem() == 0 ){ EDFileiconView->clear(); } if (ETcomboBox->currentItem() == 1 ){ EET = 1; exptype = ETcomboBox->text(1); EDFileiconView->clear(); QDir dir( "/root/FaultRecorder/experiment/ZLKZ", "*.DAT" ); for ( uint i = 0; i < dir.count(); i++ ) { (void) new QIconViewItem ( EDFileiconView, dir[i] ); } } if (ETcomboBox->currentItem() == 2 ){ EET = 2; exptype = ETcomboBox->text(2); EDFileiconView->clear(); QDir dir( "/root/FaultRecorder/experiment/ZLFZ", "*.DAT" ); for ( uint i = 0; i < dir.count(); i++ ) { (void) new QIconViewItem ( EDFileiconView, dir[i] ); } } if (ETcomboBox->currentItem() == 3 ){ EET = 3; exptype = ETcomboBox->text(3); EDFileiconView->clear(); QDir dir( "/root/FaultRecorder/experiment/FKZ", "*.DAT" ); for ( uint i = 0; i < dir.count(); i++ ) { (void) new QIconViewItem ( EDFileiconView, dir[i] ); } } if (ETcomboBox->currentItem() == 4 ){ EET = 4; exptype = ETcomboBox->text(4); EDFileiconView->clear(); QDir dir( "/root/FaultRecorder/experiment/FDL", "*.DAT" ); for ( uint i = 0; i < dir.count(); i++ ) { (void) new QIconViewItem ( EDFileiconView, dir[i] ); } }}void EDatafile_Form::open(){ edatafilename = EDFileiconView->currentItem()->text(); close();}QString EDatafile_Form::returnFilename(){ return edatafilename;}QString EDatafile_Form::returnexptype(){ return exptype;}int EDatafile_Form::returnEET(){ return EET;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -