subform.cpp
来自「qt3.8开发的例子, 做linux下qt编程可以参考」· C++ 代码 · 共 32 行
CPP
32 行
#include "form2.h"/* * Constructs a subform which is a child of 'parent', with the * name 'name' and widget flags set to 'f' * * The dialog will by default be modeless, unless you set 'modal' to * TRUE to construct a modal dialog. */subform::subform( QWidget* parent, const char* name, bool modal, WFlags fl ) : Form1( parent, name, modal, fl ){}/* * Destroys the object and frees any allocated resources */subform::~subform(){ // no need to delete child widgets, Qt does it all for us}/* * public slot */void subform::newSlot(){ qWarning( "subform::newSlot() not yet implemented!" );}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?