bctabcontrol.h

来自「Bookcase 是一个用于KDE的个人的书籍管理。它使用XML文件存储格式」· C头文件 代码 · 共 61 行

H
61
字号
/***************************************************************************                             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 + =
减小字号Ctrl + -
显示快捷键?