Source: /app/hbasic/hbasic/dialogs/dlg_value_edit.h
|
|
|
|
/* **************************************************************************
File: dlg_value_edit.h
Desc: Value editor dialog
----------------------------------------------------------------------------
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. */
/* ----------------------------------------------------------------------- */
/* ----------------------------------------------------------------------- */
/* Changelog: Description of important changes within this file. */
/* Please report with date, maintainer and change description. */
/* ----------------------------------------------------------------------- */
#ifndef DLG_VALUE_EDIT_H
#define DLG_VALUE_EDIT_H
#include
#include
#include
#include "../src/defines.h"
#include "../src/structs.h"
#include "../src/global_vars.h"
class QLabel;
class QLineEdit;
class QPushButton;
class QWidget;
class CDebugWidget2;
/* ###################################################################### */
/**
* Main widget to display the error message.
*/
class dlgValueEdit : public QDialog
{
Q_OBJECT
public:
dlgValueEdit( VAR_DESC *var_desc_ptr, void *value_adr );
private:
short value_changed;
void *var_address;
VAR_DESC *var_desc_ptr;
QPushButton *btn_ok;
QPushButton *btn_display;
QLabel *lab_subdesc;
QLineEdit *le_var_name;
QLineEdit *le_var_type;
QLineEdit *le_var_range;
QLineEdit *le_subdesc;
QLineEdit *le_value;
void showVariableDesc( VAR_DESC *var_desc_ptr );
void resizeEvent( QResizeEvent *evt );
private slots:
void slotOk( void );
void slotTextChanged( const QString &new_text );
void slotDisplayArrValue( void );
};
#endif
Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54. |