Source: /app/hbasic/hbasic/dlg_program_output.h
|
|
|
|
/* **************************************************************************
File: dlg_program_output.h
Desc: Window to display the output of program execution.
----------------------------------------------------------------------------
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 CDlgProgramOutput : widget to display program output.
*/
/* ----------------------------------------------------------------------- */
/* Changelog: Description of important changes within this file. */
/* Please report with date, maintainer and change description. */
/* ----------------------------------------------------------------------- */
#ifndef PROGRAM_OUTPUT_H
#define PROGRAM_OUTPUT_H
#include
class QString;
class QWidget;
class QPushButton;
class QTextEdit;
/**
CDlgProgramOutput : class that displays output of a started program
*/
class CDlgProgramOutput : public QDialog
{
Q_OBJECT
public:
/**
* Create new dialog to display output text.
*/
CDlgProgramOutput( QWidget *parent, char *title );
/**
* Append text to the output text field.
*/
int appendText( QString text );
private:
QPushButton *btn_ok;
QTextEdit *te_output_text;
public slots:
void resizeEvent( QResizeEvent *evt );
};
#endif
Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54. |