#include <FEUISimpleHexTable.h>
Public Slots | |
void | clear () |
void | updateAscii (QTableWidgetItem *item) |
Public Member Functions | |
int | edit (int record, unsigned char *data, bool securityArea) |
FEUISimpleHexTable (QWidget *parent=0) | |
void | getHexString (char *str, int row) |
void | initTable (int size, int blockSize) |
void | setSize (int size) |
~FEUISimpleHexTable () | |
Protected Member Functions | |
void | createActions () |
void | newRow () |
void | resizeEvent (QResizeEvent *event) |
void | setupContextMenu () |
Private Member Functions | |
void | addSpaces (char *dest, char *src, int srcLen) |
void | charToHex (char a, char *str) |
void | convUcharToAscii (char *dest, unsigned char *src, int srcLen) |
char | hexToChar (char *str) |
bool | isHex (char cSign) |
void | removeBlanks (char *dest, char *src, int srcLen) |
Private Attributes | |
QLabel * | cellLabel |
QAction * | clearAction |
int | m_iBlockSize |
QTableWidget * | table |
Definition at line 77 of file FEUISimpleHexTable.h.
FEUISimpleHexTable::FEUISimpleHexTable | ( | QWidget * | parent = 0 | ) |
Definition at line 520 of file FEUISimpleHexTable.cpp.
Definition at line 566 of file FEUISimpleHexTable.cpp.
void FEUISimpleHexTable::addSpaces | ( | char * | dest, |
char * | src, | ||
int | srcLen | ||
) | [private] |
Definition at line 380 of file FEUISimpleHexTable.cpp.
void FEUISimpleHexTable::charToHex | ( | char | a, |
char * | str | ||
) | [private] |
Definition at line 366 of file FEUISimpleHexTable.cpp.
void FEUISimpleHexTable::clear | ( | ) | [slot] |
Definition at line 605 of file FEUISimpleHexTable.cpp.
void FEUISimpleHexTable::convUcharToAscii | ( | char * | dest, |
unsigned char * | src, | ||
int | srcLen | ||
) | [private] |
Definition at line 430 of file FEUISimpleHexTable.cpp.
void FEUISimpleHexTable::createActions | ( | ) | [protected] |
Definition at line 594 of file FEUISimpleHexTable.cpp.
int FEUISimpleHexTable::edit | ( | int | record, |
unsigned char * | data, | ||
bool | securityArea | ||
) |
Definition at line 445 of file FEUISimpleHexTable.cpp.
void FEUISimpleHexTable::getHexString | ( | char * | str, |
int | row | ||
) |
Definition at line 575 of file FEUISimpleHexTable.cpp.
char FEUISimpleHexTable::hexToChar | ( | char * | str | ) | [private] |
Definition at line 292 of file FEUISimpleHexTable.cpp.
void FEUISimpleHexTable::initTable | ( | int | size, |
int | blockSize | ||
) |
Definition at line 414 of file FEUISimpleHexTable.cpp.
bool FEUISimpleHexTable::isHex | ( | char | cSign | ) | [private] |
void FEUISimpleHexTable::newRow | ( | ) | [protected] |
void FEUISimpleHexTable::removeBlanks | ( | char * | dest, |
char * | src, | ||
int | srcLen | ||
) | [private] |
Definition at line 398 of file FEUISimpleHexTable.cpp.
void FEUISimpleHexTable::resizeEvent | ( | QResizeEvent * | event | ) | [protected] |
Definition at line 625 of file FEUISimpleHexTable.cpp.
void FEUISimpleHexTable::setSize | ( | int | size | ) |
void FEUISimpleHexTable::setupContextMenu | ( | ) | [protected] |
Definition at line 615 of file FEUISimpleHexTable.cpp.
void FEUISimpleHexTable::updateAscii | ( | QTableWidgetItem * | item | ) | [slot] |
Definition at line 316 of file FEUISimpleHexTable.cpp.
QLabel* FEUISimpleHexTable::cellLabel [private] |
Definition at line 100 of file FEUISimpleHexTable.h.
QAction* FEUISimpleHexTable::clearAction [private] |
Definition at line 99 of file FEUISimpleHexTable.h.
int FEUISimpleHexTable::m_iBlockSize [private] |
Definition at line 102 of file FEUISimpleHexTable.h.
QTableWidget* FEUISimpleHexTable::table [private] |
Definition at line 101 of file FEUISimpleHexTable.h.