📄 edit.cpp
字号:
/*************************************************************************** edit.cpp - Allows to edit the channel in real-time ------------------- begin : 2003 authors : Linus Gasser emails : linus.gasser@epfl.ch ***************************************************************************//*************************************************************************** Changes ------- date - name - description 03/01/20 - ineiti - begin **************************************************************************//*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************//** * Shows the channel-impulse-response for the channels */#include <qapplication.h>#include <qtimer.h>#include <iostream>#include <sys/types.h>#include <sys/stat.h>#include <dirent.h>#include "channelview.h"// this is the standard C++-way of using cout <<using namespace std;int main(int argc, char ** argv){ QApplication a( argc, argv ); ChannelView *channel; if ( a.argc() == 2 ) { channel = new ChannelView( a.argv()[1] ); } else { cout << a.argv()[0] << " dir_to_server\n"; return -1; } a.setMainWidget( channel ); channel->show(); return a.exec();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -