📄 channelview.cpp
字号:
/*************************************************************************** channelview.cpp - Shows one or more channels ------------------- 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. * * * ***************************************************************************/#include <qwidget.h>#include <qlayout.h>#include <qlabel.h>#include "channelview.h"ChannelView::ChannelView( QString path ) : QWidget(0,"widget") { server = new ServerPlug( path ); ch_nbr = server->getNbrChannels(); max_filter = server->getMaxFilterLength(); QHBoxLayout *hBox = new QHBoxLayout( this, 5, 5, "horizontal" ); for ( int i = 0; i < ch_nbr; i++ ){ Channel *ch = new Channel( this, server, i ); hBox->addWidget( ch ); }}ChannelView::~ChannelView(){}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -