⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 context_help.h

📁 Linux平台下的内核及程序调试器
💻 H
字号:
/* --------------------------------------------------------------------- * Definition of ContextHelp                              context_help.h * Context-sensitive help button * ---------------------------------------------------------------------  * This file is part of Valkyrie, a front-end for Valgrind * Copyright (c) 2000-2006, OpenWorks LLP <info@open-works.co.uk> * This program is released under the terms of the GNU GPL v.2 * See the file LICENSE.GPL for the full license details. */#ifndef __VK_CONTEXT_HELP_H#define __VK_CONTEXT_HELP_H#include <qptrdict.h>#include <qtoolbutton.h>/* class ContextHelpButton --------------------------------------------- */class HandBook;class ContextHelpButton: public QToolButton{   Q_OBJECTpublic:   ContextHelpButton( QWidget* parent, HandBook* book );   ~ContextHelpButton();public slots:   void mouseReleased();};/* class ContextHelp --------------------------------------------------- */class ContextHelp: public QObject{   Q_OBJECTpublic:   ContextHelp();   ~ContextHelp();   static void add( QWidget *, const QString &);   static void setUp();   enum State { Inactive, Waiting };   /* just so we can return a pointer to a QString :( */   struct UrlItem : public QShared {      UrlItem() : QShared() { }      ~UrlItem();      QString url;   };   bool eventFilter( QObject *, QEvent * );   void newItem( QWidget * widget, const QString & text );   void say( QWidget *, const QString& );   void shutDown();   void remove( QWidget * );   HandBook* hbook;   /* ptr to the application-wide handbook */   QPtrDict<QWidget> * tlw;   QPtrDict<UrlItem> * wdict;   QPtrDict<ContextHelpButton> * buttons;   State state;private slots:   void cleanupWidget();};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -