class CBasicDocument

The class CBasicDocument holds the data used for the sourcecode and gui structures for one module of your HBasic project. More...

Definition#include </app/hbasic/hbasic/src/basic_document.h>
InheritsHBObject [public ], QObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

The class CBasicDocument holds the data used for the sourcecode and gui structures for one module of your HBasic project. This may be a form or class definition.

short form_number

form_number

short form_type

form_type

long sz_local_var

sz_local_var

CSourceEditData * source_block

source_block

CFormDescData * form_desc

form_desc

long localvar_offset

localvar_offset

VAR_DESC * first_formlocal_var

first_formlocal_var

SUB_DESC * first_formlocal_sub

first_formlocal_sub

SUB_DESC * first_sub_parse_order

first_sub_parse_order

SUB_DESC * last_sub_parse_order

last_sub_parse_order

MACRO_DESC * first_macro_desc

first_macro_desc

QString src_path

src_path

CSourceEditWidget * src_editor_window

src_editor_window

FormDesigner * gui_editor_window

gui_editor_window

CProject * doc_project

doc_project

char * runtime_code_start

runtime_code_start

long runtime_code_length

runtime_code_length

char * event_start

event_start

long event_length

event_length

short init_label

init_label

short exit_label

exit_label

short parser_state

parser_state

CBasicDocument * inh_module

inh_module

 CBasicDocument ( CProject *my_project, short source_type, short range_type, short source_number, short create_with_form )

CBasicDocument

 ~CBasicDocument ( void )

~CBasicDocument

void  initSourceEditor ( void )

initSourceEditor

GUI_HEADERcreateNewComp ( QWidget *parent, short pckg_number, short comp_pos )

createNewComp

void  dropFormGui ( void )

dropFormGui

void  saveSourceToFile ( QFile *f )

saveSourceToFile

void  create_sub_address_ptr ( void )

create_sub_address_ptr

unsigned char * findRtErrorLine ( void )

findRtErrorLine

void  saveCurrentEditLine ( void )

saveCurrentEditLine

unsigned char * insertSourceLine ( unsigned char *new_line )

insertSourceLine

int  createModuleGuiDesc ( int form_number )

createModuleGuiDesc

int  createGuiEventDesc (void)

createGuiEventDesc

void  createFormComponent ( void )

createFormComponent

Create a new form GUI as a component.

void  create_sub_description ( void )

create_sub_description

short  compileModule ( void )

compileModule

void  appendSourceLine ( QFile *f, FILE_TAG_HEADER *file_info )

appendSourceLine

void  loadActionMenuToolbar ( QFile *f, MENUTOOLBAR_DESC *mtbar_desc )

loadActionMenuToolbar

long  getFormRTSize ( GUI_HEADER *comp_ptr )

getFormRTSize

void  loadSourceLines ( QDomElement *docElem )

loadSourceLines

void  loadGuiDesc ( QDomElement *docElem, GUI_HEADER *parent_gui_ptr )

loadGuiDesc

void  loadSourceCode ( QDomElement *docElem )

loadSourceCode

void  loadGuiComponent ( QFile *f, FILE_TAG_HEADER *start_block )

loadGuiComponent

void  loadFormComponent ( QFile *f )

loadFormComponent

short  createFormInitcode ( void )

createFormInitcode

void  createGeometryProperty ( GUI_HEADER *gui_desc_ptr, QWidget *wgt )

createGeometryProperty

void  redrawGuiStructure ( void )

redrawGuiStructure

void  assignEventAddress ( void )

assignEventAddress

void  storeCurrentLine ( bool with_preparse )

storeCurrentLine

void  printDocument ( void )

printDocument

void  assignClassEvent ( void )

assignClassEvent

short  find_user_sub ( void )

find_user_sub

void  setGuiDesignerProperty ( QString *prop_name, QVariant *new_value )

setGuiDesignerProperty

short  findNext ( void )

findNext

GUI_HEADERskipGuiChildren ( GUI_HEADER *parent )

skipGuiChildren

GUI_HEADERfindParentComp ( GUI_HEADER *parent_guiptr, QWidget *par_wgt )

findParentComp

CSourceEditWidgetsourceEditWidget ( void )

sourceEditWidget

int  findString ( void )

findString

short  replaceString ( void )

replaceString

void  closeGuiWindow ( void )

closeGuiWindow

void  closeSourceWindow ( void )

closeSourceWindow

void  openSourceWindow ( void )

openSourceWindow

void  openGuiWindow ( void )

openGuiWindow

short  isFormWidget ( QWidget *widget )

isFormWidget

long  insertPropValue ( char *desc_ptr, QWidget *wgt, short prop_type, char *name_ptr)

insertPropValue

void  setWindowProperties ( QDomElement *docElem, CWindowListChild *win_ptr )

setWindowProperties

void  saveGuiStructure ( QFile *f, GUI_HEADER *parent_comp_ptr )

saveGuiStructure

void  saveCompProperties ( QFile *f, GUI_HEADER *comp_ptr )

saveCompProperties

void  load ( QFile *f )

load

void  saveGeneratedCode ( QFile *code_file )

saveGeneratedCode

QVariantloadPropertyValue ( QFile *f )

loadPropertyValue

short  findCompName ( FACT_DESC *expr_desc_ptr, GUI_HEADER *start_comp )

findCompName

short  getPropertyType ( QMetaObject *qm, char *prop_name)

getPropertyType

void  removeComp ( GUI_HEADER *start_comp )

removeComp

void  setWidgetGeometry ( QWidget *widget )

setWidgetGeometry

short  replace_string ( QRegExp *find_expr, char *replace_str, char *line_str, int replace_all )

replace_string

void  join_two_lines ( int direction )

join_two_lines

void  editCursorLeft ( void )

editCursorLeft

void  editLineUp ( void )

editLineUp

void  editKeyReturn ( void )

editKeyReturn

int  iskeyword ( char *start)

iskeyword

void  freeFormDesc ( void )

freeFormDesc

short  findActionEventName ( char *nameptr )

findActionEventName

void  findEventSource ( char *widget_name, SOCOMP_HEADER *pckg_ptr )

findEventSource

int  prepareCompile ( void )

prepareCompile

void  resetComponentSignals ( void )

resetComponentSignals

short  isModuleSub ( QWidget *parent, int text_line_height, CSourceEditWidget *manager )

isModuleSub

void  listMacros ( QListView *lv_parent )

listMacros


Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54.