
' ******************************************************************
' Enables you to use a hex edit widget
' ******************************************************************


' DECLARE STATEMENTS


' ******************************************************************

Declare Class "Q7BHexEditWidget" SuperClass "QScrollArea"

 '   tries To load from File
Declare Function "Q7BHexEditWidget" bool loadFromFile(QString FileName) ;
 '   tries To save To File
Declare Function "Q7BHexEditWidget"     bool saveToFile(QString FileName) ;
  '  returns "hex" data representation (left panel content)
Declare Function "Q7BHexEditWidget"     QString toHexString() ;
 '   tries to decode data from hex represetation(fills left panel)
Declare Function "Q7BHexEditWidget"     void fromHexString(QString s) ;
 '   returns data (right panel content)
Declare Function "Q7BHexEditWidget"     QString toString() ;
 '   assigns data(right panel content)
Declare Function "Q7BHexEditWidget"     void fromString( QString s ) ;
 '    finds Data(Right panel)and returns index or - 1.Also sets cursor position If founded.
Declare Function "Q7BHexEditWidget"     int find(QByteArray s) ;
  '  finds Hex - Data(Left panel)and returns index or - 1.Also sets cursor position If founded.
Declare Function "Q7BHexEditWidget"     int findHex(QString s) ;

' ******************************************************************
