📄 bctabcontrol.h
字号:
/*************************************************************************** bctabcontrol.h ------------------- begin : Sun Jan 6 2002 copyright : (C) 2002 by Robby Stephenson email : robby@periapsis.org ***************************************************************************//*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of version 2 of the GNU General Public License as * * published by the Free Software Foundation; * * * ***************************************************************************/#ifndef BCTABCONTROL_H#define BCTABCONTROL_H#include <ktabctl.h>/** * BCTabControl subclasses KTabCtl and makes a few changes. * * The @ref KTabCtl::showTab slot is made public. A method is added to move the focus. * * @author Robby Stephenson * @version $Id: bctabcontrol.h,v 1.10 2003/03/08 18:24:47 robby Exp $ */class BCTabControl : public KTabCtl {Q_OBJECTpublic: /** * Constructor */ BCTabControl(QWidget* parent, const char* name=0); /** * Sets the focus to the first focusable widget on a certain tab page. * * @param tabNum The tab number */ void setFocusToChild(int tabNum); /** * Returns the numbers of tabs in the widget. * * @return The number of tabs */ int count();public slots: /** * Calls the parent method. Essentialy just making @ref KTabCtl#showTab public. * * @param i The id of the tab to show */ void showTab(int i);};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -