e3datafile_form.ui.h

来自「Linux下的qt编程示例」· C头文件 代码 · 共 28 行

H
28
字号
/****************************************************************************** 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 e3datafilename;void E3Datafile_Form::init(){    E3DFileiconView->clear();    QDir dir( "/root/FaultRecorder/experiment/FKZ", "*.DAT" );    for ( uint i = 0; i < dir.count(); i++ ) {	(void) new QIconViewItem ( E3DFileiconView, dir[i] );    }}void E3Datafile_Form::open(){    e3datafilename = E3DFileiconView->currentItem()->text();    close();}QString E3Datafile_Form::returnFilename(){    return e3datafilename;}

⌨️ 快捷键说明

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