Source: /app/hbasic/hbasic/src/message_list.h
|
|
|
|
/* **************************************************************************
File: debug_widget1.h
Desc: Subwindow to display call stack in debug mode
----------------------------------------------------------------------------
copyright : (C) 2001 HBasic project (Marcus Engels)
***************************************************************************/
/* **************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
/* ----------------------------------------------------------------------- */
/* Classlist: List of classes that will be defined in this source file. */
/* ----------------------------------------------------------------------- */
/**
* class CDebugWindow1 Widget to display call stack
*/
/* ----------------------------------------------------------------------- */
/* Changelog: Description of important changes within this file. */
/* Please report with date, maintainer and change description. */
/* ----------------------------------------------------------------------- */
#ifndef MSGLIST_H
#define MSGLIST_H
#include "defines.h"
#include "structs.h"
#include "window_list.h"
class QPushButton;
class QListView;
class QListViewItem;
/**
* Widget to display call stack at debug-time.
*/
class CMessageList : public CWindowListChild
{
Q_OBJECT
public:
CMessageList( QWidget *parent );
void setMessage( int type, char *message );
private:
void closeEvent( QCloseEvent *evt );
QListViewItem *last_item;
QPushButton *btn_ok;
QListView *lv_messages;
void resizeEvent( QResizeEvent *evt );
private slots:
void slotBtnOk( void );
};
#endif
Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54. |