Logo Search packages:      
Sourcecode: valkyrie version File versions  Download package


/* ---------------------------------------------------------------------
 * Definition of MemcheckView                            memcheck_view.h
 * Memcheck's personal window
 * ---------------------------------------------------------------------
 * This file is part of Valkyrie, a front-end for Valgrind
 * Copyright (C) 2000-2008, OpenWorks LLP <info@open-works.co.uk>
 * This program is released under the terms of the GNU GPL v.2
 * See the file COPYING for the full license details.


#include "tool_view.h"

#include <qlistview.h>
#include <qtoolbutton.h>
#include <qtextedit.h>

#include "vglogview.h"

/* class MemcheckView -------------------------------------------------- */
class Memcheck;
class MemcheckView : public ToolView
   MemcheckView( QWidget* parent, const char* name );

   VgLog* vgLogPtr() { return logview; }

public slots:
   void toggleToolbarLabels( bool );
   /* called by memcheck: set state for buttons; set cursor state */
   void setState( bool run );

   void saveLogFile();    /* triggered by savelogButton */

   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();
   void openOneItem();
   void showSrcPath();
   void launchEditor(  QListViewItem* );

   QListView* lView;
   VgLogView* logview;

   QToolButton* savelogButton;
   QToolButton* loadlogButton;
   QToolButton* mrglogButton;
   QToolButton* suppedButton;

   QToolButton* openOneButton;
   QToolButton* openAllButton;
   QToolButton* srcPathButton;

   QToolBar* mcToolBar;


Generated by  Doxygen 1.6.0   Back to index