memcheck_view.h

来自「Linux平台下的内核及程序调试器」· C头文件 代码 · 共 76 行

H
76
字号
/* --------------------------------------------------------------------- * Definition of MemcheckView                            memcheck_view.h * Memcheck's personal window * --------------------------------------------------------------------- * 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 __MEMCHECK_VIEW_H#define __MEMCHECK_VIEW_H#include "tool_view.h"#include <qlistview.h>#include <qtoolbutton.h>#include <qtextedit.h>#include "vglogview.h"/* class MemcheckView -------------------------------------------------- */class Memcheck;class MemcheckView : public ToolView{   Q_OBJECTpublic:   MemcheckView( QWidget* parent, const char* name );   ~MemcheckView();   VgLog* vgLogPtr() { return logview; }public slots:   void toggleToolbarLabels( bool );   /* called by memcheck: set state for buttons; set cursor state */   void setState( bool run );signals:   void saveLogFile();    /* triggered by savelogButton */private:   void mkToolBar();   private slots:      void openLogFile();       /* load and parse one log file */   void openMergeFile();     /* open and check a list of logfiles-to-merge */   void showSuppEditor();   void itemSelected();   void openAllItems(bool);   void openOneItem();   void showSrcPath();   void launchEditor(  QListViewItem*, const QPoint&, int );private:   QListView* lView;   VgLogView* logview;   QToolButton* savelogButton;   QToolButton* loadlogButton;   QToolButton* mrglogButton;   QToolButton* suppedButton;   QToolButton* openOneButton;   QToolButton* openAllButton;   QToolButton* srcPathButton;   QToolBar* mcToolBar;};#endif

⌨️ 快捷键说明

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