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

📄 massif_view.cpp

📁 Linux平台下的内核及程序调试器
💻 CPP
字号:
/* --------------------------------------------------------------------- * Implementation of MassifView                          massif_view.cpp * Massif'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. */#include "massif_view.h"#include "massif_object.h"#include <qcursor.h>#include <qlayout.h>#include <qlabel.h>/* class MassifView ---------------------------------------------------- */MassifView::~MassifView() { }MassifView::MassifView( QWidget* parent, const char* name )   : ToolView( parent, name ){   QVBoxLayout* vLayout = new QVBoxLayout( central );   /* create the listview */   QLabel* lbl = new QLabel( "Massif", central, "massif label" );   lbl->setAlignment( AlignCenter );   vLayout->addWidget( lbl );}/* called by massif: set state for buttons; set cursor state */void MassifView::setState( bool run ){    if ( run ) {       /* startup */      setCursor( QCursor(Qt::WaitCursor) );   } else {           /* finished */      unsetCursor();   }}/* slot: connected to MainWindow::toggleToolbarLabels().    called when user toggles 'show-butt-text' in Options page */void MassifView::toggleToolbarLabels( bool /*state*/ ){ }

⌨️ 快捷键说明

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