1
/* ---------------------------------------------------------------------
2
* Definition of MemcheckView memcheck_view.h
3
* Memcheck's personal window
4
* ---------------------------------------------------------------------
5
* This file is part of Valkyrie, a front-end for Valgrind
6
* Copyright (C) 2000-2008, OpenWorks LLP <info@open-works.co.uk>
7
* This program is released under the terms of the GNU GPL v.2
8
* See the file COPYING for the full license details.
11
#ifndef __MEMCHECK_VIEW_H
12
#define __MEMCHECK_VIEW_H
15
#include "tool_view.h"
17
#include <qlistview.h>
18
#include <qtoolbutton.h>
19
#include <qtextedit.h>
21
#include "vglogview.h"
24
/* class MemcheckView -------------------------------------------------- */
26
class MemcheckView : public ToolView
30
MemcheckView( QWidget* parent, const char* name );
33
VgLog* vgLogPtr() { return logview; }
36
void toggleToolbarLabels( bool );
37
/* called by memcheck: set state for buttons; set cursor state */
38
void setState( bool run );
41
void saveLogFile(); /* triggered by savelogButton */
47
void openLogFile(); /* load and parse one log file */
48
void openMergeFile(); /* open and check a list of logfiles-to-merge */
50
void showSuppEditor();
56
void launchEditor( QListViewItem* );
62
QToolButton* savelogButton;
63
QToolButton* loadlogButton;
64
QToolButton* mrglogButton;
65
QToolButton* suppedButton;
67
QToolButton* openOneButton;
68
QToolButton* openAllButton;
69
QToolButton* srcPathButton;