PySocExplorer0.h
1125 lines
| 45.7 KiB
| text/x-c
|
CLexer
Jeandet Alexis
|
r0 | #include <PythonQt.h> | ||
#include <QObject> | ||||
#include <QVariant> | ||||
Jeandet Alexis
|
r7 | #include <SocExplorerPlot.h> | ||
Jeandet Alexis
|
r45 | #include <abstractbinfile.h> | ||
r47 | #include <binaryfile.h> | |||
#include <binaryfilewidget.h> | ||||
r37 | #include <elffile.h> | |||
#include <elffilewidget.h> | ||||
Jeandet Alexis
|
r39 | #include <elfinfowdgt.h> | ||
Jeandet Alexis
|
r0 | #include <elfparser.h> | ||
Jeandet Alexis
|
r64 | #include <genericbinaryfilewidget.h> | ||
Jeandet Alexis
|
r0 | #include <memsizewdgt.h> | ||
r40 | #include <qaction.h> | |||
r71 | #include <qbackingstore.h> | |||
r40 | #include <qbitmap.h> | |||
#include <qbytearray.h> | ||||
#include <qcolor.h> | ||||
#include <qcoreevent.h> | ||||
#include <qcursor.h> | ||||
#include <qevent.h> | ||||
r44 | #include <qfile.h> | |||
r40 | #include <qfont.h> | |||
#include <qgraphicseffect.h> | ||||
#include <qgraphicsproxywidget.h> | ||||
Jeandet Alexis
|
r0 | #include <qhexedit.h> | ||
#include <qhexspinbox.h> | ||||
r71 | #include <qicon.h> | |||
r40 | #include <qkeysequence.h> | |||
#include <qlayout.h> | ||||
#include <qlineedit.h> | ||||
#include <qlist.h> | ||||
#include <qlocale.h> | ||||
#include <qmargins.h> | ||||
r71 | #include <qmetaobject.h> | |||
r40 | #include <qobject.h> | |||
#include <qpaintdevice.h> | ||||
#include <qpaintengine.h> | ||||
#include <qpainter.h> | ||||
#include <qpalette.h> | ||||
#include <qpen.h> | ||||
#include <qpixmap.h> | ||||
#include <qpoint.h> | ||||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
#include <qscrollarea.h> | ||||
#include <qscrollbar.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
#include <qspinbox.h> | ||||
#include <qstringlist.h> | ||||
#include <qstyle.h> | ||||
#include <qstyleoption.h> | ||||
#include <qwidget.h> | ||||
r71 | #include <qwindow.h> | |||
r44 | #include <srecfile.h> | |||
Jeandet Alexis
|
r45 | #include <srecfilewidget.h> | ||
Jeandet Alexis
|
r0 | #include <tcp_terminal_client.h> | ||
#include <xbytearray.h> | ||||
Jeandet Alexis
|
r39 | class PythonQtShell_ElfFile : public ElfFile | ||
{ | ||||
public: | ||||
r71 | PythonQtShell_ElfFile():ElfFile(),_wrapper(NULL) { }; | |||
PythonQtShell_ElfFile(const QString& File):ElfFile(File),_wrapper(NULL) { }; | ||||
Jeandet Alexis
|
r39 | |||
~PythonQtShell_ElfFile(); | ||||
virtual int closeFile(); | ||||
virtual QList<codeFragment* > getFragments(); | ||||
virtual bool isopened(); | ||||
virtual bool openFile(const QString& File); | ||||
r51 | virtual bool toBinary(const QString& File); | |||
virtual bool toSrec(const QString& File); | ||||
Jeandet Alexis
|
r39 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_ElfFile : public ElfFile | ||||
{ public: | ||||
inline int promoted_closeFile() { return ElfFile::closeFile(); } | ||||
inline QList<codeFragment* > promoted_getFragments() { return ElfFile::getFragments(); } | ||||
inline bool promoted_isopened() { return ElfFile::isopened(); } | ||||
inline bool promoted_openFile(const QString& File) { return ElfFile::openFile(File); } | ||||
r51 | inline bool promoted_toBinary(const QString& File) { return ElfFile::toBinary(File); } | |||
inline bool promoted_toSrec(const QString& File) { return ElfFile::toSrec(File); } | ||||
Jeandet Alexis
|
r39 | }; | ||
r37 | class PythonQtWrapper_ElfFile : public QObject | |||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
Jeandet Alexis
|
r39 | ElfFile* new_ElfFile(); | ||
ElfFile* new_ElfFile(const QString& File); | ||||
r37 | void delete_ElfFile(ElfFile* obj) { delete obj; } | |||
int closeFile(ElfFile* theWrappedObject); | ||||
Jeandet Alexis
|
r39 | QString getABI(ElfFile* theWrappedObject); | ||
QString getArchitecture(ElfFile* theWrappedObject); | ||||
QString getClass(ElfFile* theWrappedObject); | ||||
QString getEndianness(ElfFile* theWrappedObject); | ||||
qint64 getEntryPointAddress(ElfFile* theWrappedObject); | ||||
QList<codeFragment* > getFragments(ElfFile* theWrappedObject); | ||||
QList<codeFragment* > getFragments(ElfFile* theWrappedObject, QStringList fragmentList); | ||||
Jeandet Alexis
|
r43 | int getSectionCount(ElfFile* theWrappedObject); | ||
Jeandet Alexis
|
r39 | bool getSectionData(ElfFile* theWrappedObject, int index, char** buffer); | ||
qint64 getSectionDatasz(ElfFile* theWrappedObject, int index); | ||||
Jeandet Alexis
|
r43 | int getSectionIndex(ElfFile* theWrappedObject, QString name); | ||
Jeandet Alexis
|
r39 | qint64 getSectionMemsz(ElfFile* theWrappedObject, int index); | ||
QString getSectionName(ElfFile* theWrappedObject, int index); | ||||
qint64 getSectionPaddr(ElfFile* theWrappedObject, int index); | ||||
QString getSectionType(ElfFile* theWrappedObject, int index); | ||||
Jeandet Alexis
|
r43 | int getSegmentCount(ElfFile* theWrappedObject); | ||
Jeandet Alexis
|
r39 | qint64 getSegmentFilesz(ElfFile* theWrappedObject, int index); | ||
QString getSegmentFlags(ElfFile* theWrappedObject, int index); | ||||
qint64 getSegmentMemsz(ElfFile* theWrappedObject, int index); | ||||
qint64 getSegmentOffset(ElfFile* theWrappedObject, int index); | ||||
qint64 getSegmentPaddr(ElfFile* theWrappedObject, int index); | ||||
QString getSegmentType(ElfFile* theWrappedObject, int index); | ||||
qint64 getSegmentVaddr(ElfFile* theWrappedObject, int index); | ||||
Jeandet Alexis
|
r43 | quint64 getSymbolAddress(ElfFile* theWrappedObject, int index); | ||
int getSymbolCount(ElfFile* theWrappedObject); | ||||
QString getSymbolLinkType(ElfFile* theWrappedObject, int index); | ||||
QString getSymbolName(ElfFile* theWrappedObject, int index); | ||||
int getSymbolSectionIndex(ElfFile* theWrappedObject, int index); | ||||
QString getSymbolSectionName(ElfFile* theWrappedObject, int index); | ||||
quint64 getSymbolSize(ElfFile* theWrappedObject, int index); | ||||
QString getSymbolType(ElfFile* theWrappedObject, int index); | ||||
Jeandet Alexis
|
r39 | QString getType(ElfFile* theWrappedObject); | ||
qint64 getVersion(ElfFile* theWrappedObject); | ||||
r71 | bool isBigEndian(ElfFile* theWrappedObject); | |||
Jeandet Alexis
|
r39 | bool static_ElfFile_isElf(const QString& File); | ||
r71 | bool isLitleEndian(ElfFile* theWrappedObject); | |||
Jeandet Alexis
|
r39 | bool iself(ElfFile* theWrappedObject); | ||
r37 | bool isopened(ElfFile* theWrappedObject); | |||
bool openFile(ElfFile* theWrappedObject, const QString& File); | ||||
r47 | bool sectionIsNobits(ElfFile* theWrappedObject, int index); | |||
r51 | bool toBinary(ElfFile* theWrappedObject, const QString& File); | |||
Jeandet Alexis
|
r45 | bool toSrec(ElfFile* theWrappedObject, const QString& File); | ||
r37 | }; | |||
r40 | class PythonQtShell_MemSizeWdgt : public MemSizeWdgt | |||
{ | ||||
public: | ||||
r71 | PythonQtShell_MemSizeWdgt(QWidget* parent = 0):MemSizeWdgt(parent),_wrapper(NULL) { }; | |||
PythonQtShell_MemSizeWdgt(int defaultSize, QWidget* parent = 0):MemSizeWdgt(defaultSize, parent),_wrapper(NULL) { }; | ||||
r40 | ||||
~PythonQtShell_MemSizeWdgt(); | ||||
virtual void actionEvent(QActionEvent* arg__1); | ||||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* arg__1); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
virtual bool hasHeightForWidth() const; | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual void initPainter(QPainter* painter) const; | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* arg__1); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual QSize minimumSizeHint() const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* arg__1); | ||||
virtual QPaintDevice* redirected(QPoint* offset) const; | ||||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
virtual QPainter* sharedPainter() const; | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual QSize sizeHint() const; | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
Jeandet Alexis
|
r0 | class PythonQtWrapper_MemSizeWdgt : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
MemSizeWdgt* new_MemSizeWdgt(QWidget* parent = 0); | ||||
MemSizeWdgt* new_MemSizeWdgt(int defaultSize, QWidget* parent = 0); | ||||
void delete_MemSizeWdgt(MemSizeWdgt* obj) { delete obj; } | ||||
int getsize(MemSizeWdgt* theWrappedObject); | ||||
void setMaximum(MemSizeWdgt* theWrappedObject, unsigned int max); | ||||
void show(MemSizeWdgt* theWrappedObject); | ||||
void updateSizeValue(MemSizeWdgt* theWrappedObject); | ||||
}; | ||||
class PythonQtShell_QHexEdit : public QHexEdit | ||||
{ | ||||
public: | ||||
r71 | PythonQtShell_QHexEdit(QWidget* parent = 0):QHexEdit(parent),_wrapper(NULL) { }; | |||
Jeandet Alexis
|
r0 | |||
~PythonQtShell_QHexEdit(); | ||||
r40 | virtual void actionEvent(QActionEvent* arg__1); | |||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* arg__1); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
virtual bool hasHeightForWidth() const; | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual void initPainter(QPainter* painter) const; | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* arg__1); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* arg__1); | ||||
virtual QPaintDevice* redirected(QPoint* offset) const; | ||||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
virtual void scrollContentsBy(int dx, int dy); | ||||
virtual void setupViewport(QWidget* viewport); | ||||
virtual QPainter* sharedPainter() const; | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
virtual bool viewportEvent(QEvent* arg__1); | ||||
virtual QSize viewportSizeHint() const; | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
Jeandet Alexis
|
r0 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_QHexEdit : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QHexEdit* new_QHexEdit(QWidget* parent = 0); | ||||
void delete_QHexEdit(QHexEdit* obj) { delete obj; } | ||||
QColor addressAreaColor(QHexEdit* theWrappedObject); | ||||
int addressOffset(QHexEdit* theWrappedObject); | ||||
int cursorPosition(QHexEdit* theWrappedObject); | ||||
QByteArray data(QHexEdit* theWrappedObject); | ||||
const QFont* font(QHexEdit* theWrappedObject) const; | ||||
r47 | int getSelectionBegin(QHexEdit* theWrappedObject); | |||
int getSelectionEnd(QHexEdit* theWrappedObject); | ||||
Jeandet Alexis
|
r0 | QColor highlightingColor(QHexEdit* theWrappedObject); | ||
int indexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const; | ||||
void insert(QHexEdit* theWrappedObject, int i, char ch); | ||||
void insert(QHexEdit* theWrappedObject, int i, const QByteArray& ba); | ||||
bool isReadOnly(QHexEdit* theWrappedObject); | ||||
int lastIndexOf(QHexEdit* theWrappedObject, const QByteArray& ba, int from = 0) const; | ||||
bool overwriteMode(QHexEdit* theWrappedObject); | ||||
void remove(QHexEdit* theWrappedObject, int pos, int len = 1); | ||||
void replace(QHexEdit* theWrappedObject, int pos, int len, const QByteArray& after); | ||||
r47 | void resetSelection(QHexEdit* theWrappedObject); | |||
void resetSelection(QHexEdit* theWrappedObject, int pos); | ||||
Jeandet Alexis
|
r0 | QColor selectionColor(QHexEdit* theWrappedObject); | ||
QString selectionToReadableString(QHexEdit* theWrappedObject); | ||||
void setAddressAreaColor(QHexEdit* theWrappedObject, const QColor& color); | ||||
void setAddressOffset(QHexEdit* theWrappedObject, int offset); | ||||
void setCursorPosition(QHexEdit* theWrappedObject, int cusorPos); | ||||
void setData(QHexEdit* theWrappedObject, const QByteArray& data); | ||||
void setFont(QHexEdit* theWrappedObject, const QFont& arg__1); | ||||
void setHighlightingColor(QHexEdit* theWrappedObject, const QColor& color); | ||||
void setOverwriteMode(QHexEdit* theWrappedObject, bool arg__1); | ||||
void setReadOnly(QHexEdit* theWrappedObject, bool arg__1); | ||||
r47 | void setSelection(QHexEdit* theWrappedObject, int pos); | |||
Jeandet Alexis
|
r0 | void setSelectionColor(QHexEdit* theWrappedObject, const QColor& color); | ||
QString toReadableString(QHexEdit* theWrappedObject); | ||||
}; | ||||
r40 | class PythonQtShell_QHexSpinBox : public QHexSpinBox | |||
{ | ||||
public: | ||||
r71 | PythonQtShell_QHexSpinBox(QWidget* parent = 0):QHexSpinBox(parent),_wrapper(NULL) { }; | |||
r40 | ||||
~PythonQtShell_QHexSpinBox(); | ||||
virtual void actionEvent(QActionEvent* arg__1); | ||||
virtual void changeEvent(QEvent* event); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void clear(); | ||||
virtual void closeEvent(QCloseEvent* event); | ||||
virtual void contextMenuEvent(QContextMenuEvent* event); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* event); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void fixup(QString& str) const; | ||||
virtual void focusInEvent(QFocusEvent* event); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* event); | ||||
virtual bool hasHeightForWidth() const; | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* event); | ||||
virtual void initPainter(QPainter* painter) const; | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* event); | ||||
virtual void keyReleaseEvent(QKeyEvent* event); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* event); | ||||
virtual void mousePressEvent(QMouseEvent* event); | ||||
virtual void mouseReleaseEvent(QMouseEvent* event); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* event); | ||||
virtual QPaintDevice* redirected(QPoint* offset) const; | ||||
virtual void resizeEvent(QResizeEvent* event); | ||||
virtual QPainter* sharedPainter() const; | ||||
virtual void showEvent(QShowEvent* event); | ||||
virtual void stepBy(int steps); | ||||
virtual QAbstractSpinBox::StepEnabled stepEnabled() const; | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual QString textFromValue(int value) const; | ||||
virtual void timerEvent(QTimerEvent* event); | ||||
virtual QValidator::State validate(QString& input, int& pos) const; | ||||
virtual int valueFromText(const QString& text) const; | ||||
virtual void wheelEvent(QWheelEvent* event); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QHexSpinBox : public QHexSpinBox | ||||
{ public: | ||||
inline QString promoted_textFromValue(int value) const { return QHexSpinBox::textFromValue(value); } | ||||
inline QValidator::State promoted_validate(QString& input, int& pos) const { return QHexSpinBox::validate(input, pos); } | ||||
inline int promoted_valueFromText(const QString& text) const { return QHexSpinBox::valueFromText(text); } | ||||
}; | ||||
Jeandet Alexis
|
r0 | class PythonQtWrapper_QHexSpinBox : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QHexSpinBox* new_QHexSpinBox(QWidget* parent = 0); | ||||
void delete_QHexSpinBox(QHexSpinBox* obj) { delete obj; } | ||||
void show(QHexSpinBox* theWrappedObject); | ||||
QString textFromValue(QHexSpinBox* theWrappedObject, int value) const; | ||||
QValidator::State validate(QHexSpinBox* theWrappedObject, QString& input, int& pos) const; | ||||
int valueFromText(QHexSpinBox* theWrappedObject, const QString& text) const; | ||||
}; | ||||
Jeandet Alexis
|
r7 | class PythonQtShell_SocExplorerPlot : public SocExplorerPlot | ||
{ | ||||
public: | ||||
r71 | PythonQtShell_SocExplorerPlot(QWidget* parent = 0):SocExplorerPlot(parent),_wrapper(NULL) { }; | |||
Jeandet Alexis
|
r7 | |||
~PythonQtShell_SocExplorerPlot(); | ||||
r40 | virtual void actionEvent(QActionEvent* arg__1); | |||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* arg__1); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
virtual bool hasHeightForWidth() const; | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual void initPainter(QPainter* painter) const; | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* arg__1); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual QSize minimumSizeHint() const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* arg__1); | ||||
virtual QPaintDevice* redirected(QPoint* offset) const; | ||||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
virtual QPainter* sharedPainter() const; | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual QSize sizeHint() const; | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
Jeandet Alexis
|
r7 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
r40 | class PythonQtPublicPromoter_SocExplorerPlot : public SocExplorerPlot | |||
{ public: | ||||
inline void promoted_keyPressEvent(QKeyEvent* arg__1) { SocExplorerPlot::keyPressEvent(arg__1); } | ||||
inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { SocExplorerPlot::keyReleaseEvent(arg__1); } | ||||
inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { SocExplorerPlot::mouseMoveEvent(arg__1); } | ||||
inline void promoted_mousePressEvent(QMouseEvent* arg__1) { SocExplorerPlot::mousePressEvent(arg__1); } | ||||
inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { SocExplorerPlot::mouseReleaseEvent(arg__1); } | ||||
inline void promoted_wheelEvent(QWheelEvent* arg__1) { SocExplorerPlot::wheelEvent(arg__1); } | ||||
}; | ||||
Jeandet Alexis
|
r7 | class PythonQtWrapper_SocExplorerPlot : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
SocExplorerPlot* new_SocExplorerPlot(QWidget* parent = 0); | ||||
void delete_SocExplorerPlot(SocExplorerPlot* obj) { delete obj; } | ||||
int addGraph(SocExplorerPlot* theWrappedObject); | ||||
void addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y); | ||||
void addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QVariant x, QVariant y); | ||||
QPen getGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex); | ||||
r40 | void keyPressEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1); | |||
void keyReleaseEvent(SocExplorerPlot* theWrappedObject, QKeyEvent* arg__1); | ||||
void mouseMoveEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1); | ||||
void mousePressEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1); | ||||
void mouseReleaseEvent(SocExplorerPlot* theWrappedObject, QMouseEvent* arg__1); | ||||
r85 | void removeAllGraphs(SocExplorerPlot* theWrappedObject); | |||
bool removeGraph(SocExplorerPlot* theWrappedObject, int graphIndex); | ||||
void replot(SocExplorerPlot* theWrappedObject); | ||||
Jeandet Alexis
|
r7 | void rescaleAxis(SocExplorerPlot* theWrappedObject); | ||
r18 | void setAdaptativeSampling(SocExplorerPlot* theWrappedObject, int graphIndex, bool enable); | |||
Jeandet Alexis
|
r7 | void setGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y); | ||
void setGraphLineStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString lineStyle); | ||||
void setGraphName(SocExplorerPlot* theWrappedObject, int graphIndex, QString name); | ||||
void setGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex, QPen pen); | ||||
void setGraphScatterStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString scatterStyle); | ||||
void setLegendFont(SocExplorerPlot* theWrappedObject, QFont font); | ||||
void setLegendSelectedFont(SocExplorerPlot* theWrappedObject, QFont font); | ||||
void setTitle(SocExplorerPlot* theWrappedObject, QString title); | ||||
r85 | void setXaxisDateTimeFormat(SocExplorerPlot* theWrappedObject, const QString& format); | |||
Jeandet Alexis
|
r7 | void setXaxisLabel(SocExplorerPlot* theWrappedObject, QString label); | ||
void setXaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper); | ||||
void setYaxisLabel(SocExplorerPlot* theWrappedObject, QString label); | ||||
void setYaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper); | ||||
void show(SocExplorerPlot* theWrappedObject); | ||||
r40 | void wheelEvent(SocExplorerPlot* theWrappedObject, QWheelEvent* arg__1); | |||
Jeandet Alexis
|
r7 | }; | ||
r40 | class PythonQtShell_TCP_Terminal_Client : public TCP_Terminal_Client | |||
{ | ||||
public: | ||||
r71 | PythonQtShell_TCP_Terminal_Client(QObject* parent = 0):TCP_Terminal_Client(parent),_wrapper(NULL) { }; | |||
r40 | ||||
~PythonQtShell_TCP_Terminal_Client(); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
Jeandet Alexis
|
r0 | class PythonQtWrapper_TCP_Terminal_Client : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
TCP_Terminal_Client* new_TCP_Terminal_Client(QObject* parent = 0); | ||||
void delete_TCP_Terminal_Client(TCP_Terminal_Client* obj) { delete obj; } | ||||
void connectToServer(TCP_Terminal_Client* theWrappedObject); | ||||
void connectToServer(TCP_Terminal_Client* theWrappedObject, const QString& IP, int port); | ||||
bool isConnected(TCP_Terminal_Client* theWrappedObject); | ||||
void sendText(TCP_Terminal_Client* theWrappedObject, const QString& text); | ||||
void startServer(TCP_Terminal_Client* theWrappedObject); | ||||
void startServer(TCP_Terminal_Client* theWrappedObject, int port); | ||||
}; | ||||
class PythonQtWrapper_XByteArray : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
XByteArray* new_XByteArray(); | ||||
void delete_XByteArray(XByteArray* obj) { delete obj; } | ||||
int addressOffset(XByteArray* theWrappedObject); | ||||
int addressWidth(XByteArray* theWrappedObject); | ||||
QChar asciiChar(XByteArray* theWrappedObject, int index); | ||||
QByteArray* data(XByteArray* theWrappedObject); | ||||
bool dataChanged(XByteArray* theWrappedObject, int i); | ||||
QByteArray dataChanged(XByteArray* theWrappedObject, int i, int len); | ||||
QByteArray* insert(XByteArray* theWrappedObject, int i, char ch); | ||||
QByteArray* insert(XByteArray* theWrappedObject, int i, const QByteArray& ba); | ||||
int realAddressNumbers(XByteArray* theWrappedObject); | ||||
QByteArray* remove(XByteArray* theWrappedObject, int pos, int len); | ||||
QByteArray* replace(XByteArray* theWrappedObject, int index, char ch); | ||||
QByteArray* replace(XByteArray* theWrappedObject, int index, const QByteArray& ba); | ||||
QByteArray* replace(XByteArray* theWrappedObject, int index, int length, const QByteArray& ba); | ||||
void setAddressOffset(XByteArray* theWrappedObject, int offset); | ||||
void setAddressWidth(XByteArray* theWrappedObject, int width); | ||||
void setData(XByteArray* theWrappedObject, QByteArray data); | ||||
void setDataChanged(XByteArray* theWrappedObject, int i, bool state); | ||||
void setDataChanged(XByteArray* theWrappedObject, int i, const QByteArray& state); | ||||
int size(XByteArray* theWrappedObject); | ||||
QString toRedableString(XByteArray* theWrappedObject, int start = 0, int end = -1); | ||||
}; | ||||
Jeandet Alexis
|
r45 | class PythonQtShell_abstractBinFile : public abstractBinFile | ||
Jeandet Alexis
|
r39 | { | ||
public: | ||||
r71 | PythonQtShell_abstractBinFile():abstractBinFile(),_wrapper(NULL) { }; | |||
Jeandet Alexis
|
r39 | |||
Jeandet Alexis
|
r45 | ~PythonQtShell_abstractBinFile(); | ||
Jeandet Alexis
|
r39 | |||
r40 | virtual void childEvent(QChildEvent* arg__1); | |||
Jeandet Alexis
|
r39 | virtual int closeFile(); | ||
r40 | virtual void customEvent(QEvent* arg__1); | |||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
Jeandet Alexis
|
r39 | virtual QList<codeFragment* > getFragments(); | ||
virtual bool isopened(); | ||||
virtual bool openFile(const QString& File); | ||||
r40 | virtual void timerEvent(QTimerEvent* arg__1); | |||
r51 | virtual bool toBinary(const QString& File); | |||
virtual bool toSrec(const QString& File); | ||||
Jeandet Alexis
|
r39 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
r71 | class PythonQtPublicPromoter_abstractBinFile : public abstractBinFile | |||
{ public: | ||||
inline int promoted_closeFile() { return closeFile(); } | ||||
inline QList<codeFragment* > promoted_getFragments() { return getFragments(); } | ||||
inline bool promoted_isopened() { return isopened(); } | ||||
inline bool promoted_openFile(const QString& File) { return openFile(File); } | ||||
inline bool promoted_toBinary(const QString& File) { return toBinary(File); } | ||||
inline bool promoted_toSrec(const QString& File) { return toSrec(File); } | ||||
}; | ||||
Jeandet Alexis
|
r45 | class PythonQtWrapper_abstractBinFile : public QObject | ||
Jeandet Alexis
|
r39 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
Jeandet Alexis
|
r45 | abstractBinFile* new_abstractBinFile(); | ||
void delete_abstractBinFile(abstractBinFile* obj) { delete obj; } | ||||
r71 | int closeFile(abstractBinFile* theWrappedObject); | |||
QList<codeFragment* > getFragments(abstractBinFile* theWrappedObject); | ||||
bool isopened(abstractBinFile* theWrappedObject); | ||||
bool openFile(abstractBinFile* theWrappedObject, const QString& File); | ||||
bool toBinary(abstractBinFile* theWrappedObject, const QString& File); | ||||
bool toSrec(abstractBinFile* theWrappedObject, const QString& File); | ||||
void py_set_litleendian(abstractBinFile* theWrappedObject, bool litleendian){ theWrappedObject->litleendian = litleendian; } | ||||
bool py_get_litleendian(abstractBinFile* theWrappedObject){ return theWrappedObject->litleendian; } | ||||
Jeandet Alexis
|
r39 | }; | ||
r51 | class PythonQtShell_abstractBinFileWidget : public abstractBinFileWidget | |||
r47 | { | |||
public: | ||||
r71 | PythonQtShell_abstractBinFileWidget(QWidget* parent = 0):abstractBinFileWidget(parent),_wrapper(NULL) { }; | |||
r47 | ||||
r51 | ~PythonQtShell_abstractBinFileWidget(); | |||
r47 | ||||
virtual void actionEvent(QActionEvent* arg__1); | ||||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* arg__1); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
virtual bool hasHeightForWidth() const; | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual void initPainter(QPainter* painter) const; | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* arg__1); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual QSize minimumSizeHint() const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* arg__1); | ||||
virtual QPaintDevice* redirected(QPoint* offset) const; | ||||
r51 | virtual void reloadFile(); | |||
r47 | virtual void resizeEvent(QResizeEvent* arg__1); | |||
r51 | virtual void setFile(abstractBinFile* file); | |||
r47 | virtual QPainter* sharedPainter() const; | |||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual QSize sizeHint() const; | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
r71 | class PythonQtPublicPromoter_abstractBinFileWidget : public abstractBinFileWidget | |||
{ public: | ||||
inline void promoted_reloadFile() { reloadFile(); } | ||||
inline void promoted_setFile(abstractBinFile* file) { setFile(file); } | ||||
}; | ||||
r51 | class PythonQtWrapper_abstractBinFileWidget : public QObject | |||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
abstractBinFileWidget* new_abstractBinFileWidget(QWidget* parent = 0); | ||||
void delete_abstractBinFileWidget(abstractBinFileWidget* obj) { delete obj; } | ||||
r71 | void reloadFile(abstractBinFileWidget* theWrappedObject); | |||
void setFile(abstractBinFileWidget* theWrappedObject, abstractBinFile* file); | ||||
r51 | }; | |||
class PythonQtShell_binaryFile : public binaryFile | ||||
{ | ||||
public: | ||||
r71 | PythonQtShell_binaryFile():binaryFile(),_wrapper(NULL) { }; | |||
PythonQtShell_binaryFile(const QString& File):binaryFile(File),_wrapper(NULL) { }; | ||||
PythonQtShell_binaryFile(const QStringList& Files):binaryFile(Files),_wrapper(NULL) { }; | ||||
r51 | ||||
~PythonQtShell_binaryFile(); | ||||
virtual int closeFile(); | ||||
virtual QList<codeFragment* > getFragments(); | ||||
virtual bool isopened(); | ||||
virtual bool openFile(const QString& File); | ||||
virtual bool toBinary(const QString& fileName); | ||||
virtual bool toSrec(const QString& fileName); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_binaryFile : public binaryFile | ||||
{ public: | ||||
inline int promoted_closeFile() { return binaryFile::closeFile(); } | ||||
inline QList<codeFragment* > promoted_getFragments() { return binaryFile::getFragments(); } | ||||
inline bool promoted_isopened() { return binaryFile::isopened(); } | ||||
inline bool promoted_openFile(const QString& File) { return binaryFile::openFile(File); } | ||||
inline bool promoted_toBinary(const QString& fileName) { return binaryFile::toBinary(fileName); } | ||||
inline bool promoted_toSrec(const QString& fileName) { return binaryFile::toSrec(fileName); } | ||||
}; | ||||
class PythonQtWrapper_binaryFile : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
binaryFile* new_binaryFile(); | ||||
binaryFile* new_binaryFile(const QString& File); | ||||
binaryFile* new_binaryFile(const QStringList& Files); | ||||
void delete_binaryFile(binaryFile* obj) { delete obj; } | ||||
int closeFile(binaryFile* theWrappedObject); | ||||
codeFragment* getFragment(binaryFile* theWrappedObject, int index); | ||||
int getFragmentAddress(binaryFile* theWrappedObject, int index); | ||||
bool getFragmentData(binaryFile* theWrappedObject, int index, char** buffer); | ||||
QString getFragmentHeader(binaryFile* theWrappedObject, int index); | ||||
int getFragmentSize(binaryFile* theWrappedObject, int index); | ||||
QList<codeFragment* > getFragments(binaryFile* theWrappedObject); | ||||
int getFragmentsCount(binaryFile* theWrappedObject); | ||||
bool isopened(binaryFile* theWrappedObject); | ||||
bool openFile(binaryFile* theWrappedObject, const QString& File); | ||||
bool openFiles(binaryFile* theWrappedObject, const QStringList& Files); | ||||
bool static_binaryFile_toBinary(QList<codeFragment* > fragments, const QString& File); | ||||
bool toBinary(binaryFile* theWrappedObject, const QString& fileName); | ||||
bool toSrec(binaryFile* theWrappedObject, const QString& fileName); | ||||
}; | ||||
class PythonQtShell_binaryFileWidget : public binaryFileWidget | ||||
{ | ||||
public: | ||||
r71 | PythonQtShell_binaryFileWidget(QWidget* parent = 0):binaryFileWidget(parent),_wrapper(NULL) { }; | |||
r51 | ||||
~PythonQtShell_binaryFileWidget(); | ||||
virtual void reloadFile(); | ||||
virtual void setFile(abstractBinFile* file); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_binaryFileWidget : public binaryFileWidget | ||||
{ public: | ||||
inline void promoted_reloadFile() { binaryFileWidget::reloadFile(); } | ||||
inline void promoted_setFile(abstractBinFile* file) { binaryFileWidget::setFile(file); } | ||||
}; | ||||
r47 | class PythonQtWrapper_binaryFileWidget : public QObject | |||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
binaryFileWidget* new_binaryFileWidget(QWidget* parent = 0); | ||||
void delete_binaryFileWidget(binaryFileWidget* obj) { delete obj; } | ||||
r51 | void reloadFile(binaryFileWidget* theWrappedObject); | |||
void setFile(binaryFileWidget* theWrappedObject, abstractBinFile* file); | ||||
r47 | }; | |||
Jeandet Alexis
|
r39 | class PythonQtShell_codeFragment : public codeFragment | ||
{ | ||||
public: | ||||
r71 | PythonQtShell_codeFragment():codeFragment(),_wrapper(NULL) { }; | |||
PythonQtShell_codeFragment(char* data, quint64 size, quint64 address):codeFragment(data, size, address),_wrapper(NULL) { }; | ||||
Jeandet Alexis
|
r39 | |||
~PythonQtShell_codeFragment(); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_codeFragment : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
codeFragment* new_codeFragment(); | ||||
Jeandet Alexis
|
r45 | codeFragment* new_codeFragment(char* data, quint64 size, quint64 address); | ||
Jeandet Alexis
|
r39 | void delete_codeFragment(codeFragment* obj) { delete obj; } | ||
r71 | void py_set_address(codeFragment* theWrappedObject, quint64 address){ theWrappedObject->address = address; } | |||
quint64 py_get_address(codeFragment* theWrappedObject){ return theWrappedObject->address; } | ||||
Jeandet Alexis
|
r64 | void py_set_data(codeFragment* theWrappedObject, char* data){ theWrappedObject->data = data; } | ||
char* py_get_data(codeFragment* theWrappedObject){ return theWrappedObject->data; } | ||||
Jeandet Alexis
|
r45 | void py_set_header(codeFragment* theWrappedObject, QString header){ theWrappedObject->header = header; } | ||
QString py_get_header(codeFragment* theWrappedObject){ return theWrappedObject->header; } | ||||
r71 | void py_set_size(codeFragment* theWrappedObject, quint64 size){ theWrappedObject->size = size; } | |||
quint64 py_get_size(codeFragment* theWrappedObject){ return theWrappedObject->size; } | ||||
Jeandet Alexis
|
r39 | }; | ||
r40 | class PythonQtShell_elfFileWidget : public elfFileWidget | |||
{ | ||||
public: | ||||
r71 | PythonQtShell_elfFileWidget(QWidget* parent = 0):elfFileWidget(parent),_wrapper(NULL) { }; | |||
r40 | ||||
~PythonQtShell_elfFileWidget(); | ||||
r51 | virtual void reloadFile(); | |||
virtual void setFile(abstractBinFile* file); | ||||
r40 | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
r51 | class PythonQtPublicPromoter_elfFileWidget : public elfFileWidget | |||
{ public: | ||||
inline void promoted_reloadFile() { elfFileWidget::reloadFile(); } | ||||
Jeandet Alexis
|
r64 | inline void promoted_setFile(abstractBinFile* file) { elfFileWidget::setFile(file); } | ||
r51 | }; | |||
r37 | class PythonQtWrapper_elfFileWidget : public QObject | |||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
elfFileWidget* new_elfFileWidget(QWidget* parent = 0); | ||||
void delete_elfFileWidget(elfFileWidget* obj) { delete obj; } | ||||
r51 | void reloadFile(elfFileWidget* theWrappedObject); | |||
Jeandet Alexis
|
r64 | void setFile(elfFileWidget* theWrappedObject, abstractBinFile* file); | ||
r37 | }; | |||
r40 | class PythonQtShell_elfInfoWdgt : public elfInfoWdgt | |||
{ | ||||
public: | ||||
r71 | PythonQtShell_elfInfoWdgt(QWidget* parent = 0):elfInfoWdgt(parent),_wrapper(NULL) { }; | |||
r40 | ||||
~PythonQtShell_elfInfoWdgt(); | ||||
virtual void actionEvent(QActionEvent* arg__1); | ||||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* arg__1); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
virtual bool hasHeightForWidth() const; | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual void initPainter(QPainter* painter) const; | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* arg__1); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual QSize minimumSizeHint() const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* arg__1); | ||||
virtual QPaintDevice* redirected(QPoint* offset) const; | ||||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
virtual QPainter* sharedPainter() const; | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual QSize sizeHint() const; | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
Jeandet Alexis
|
r39 | class PythonQtWrapper_elfInfoWdgt : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
elfInfoWdgt* new_elfInfoWdgt(QWidget* parent = 0); | ||||
void delete_elfInfoWdgt(elfInfoWdgt* obj) { delete obj; } | ||||
}; | ||||
Jeandet Alexis
|
r0 | class PythonQtWrapper_elfparser : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
elfparser* new_elfparser(); | ||||
void delete_elfparser(elfparser* obj) { delete obj; } | ||||
int closeFile(elfparser* theWrappedObject); | ||||
r37 | QString getABI(elfparser* theWrappedObject); | |||
Jeandet Alexis
|
r0 | QString getArchitecture(elfparser* theWrappedObject); | ||
r37 | QString getClass(elfparser* theWrappedObject); | |||
QString getEndianness(elfparser* theWrappedObject); | ||||
Jeandet Alexis
|
r39 | qint64 getEntryPointAddress(elfparser* theWrappedObject); | ||
Jeandet Alexis
|
r0 | bool getSectionData(elfparser* theWrappedObject, int index, char** buffer); | ||
Jeandet Alexis
|
r39 | qint64 getSectionDatasz(elfparser* theWrappedObject, int index); | ||
qint64 getSectionMemsz(elfparser* theWrappedObject, int index); | ||||
Jeandet Alexis
|
r0 | QString getSectionName(elfparser* theWrappedObject, int index); | ||
Jeandet Alexis
|
r39 | qint64 getSectionPaddr(elfparser* theWrappedObject, int index); | ||
Jeandet Alexis
|
r0 | QString getSectionType(elfparser* theWrappedObject, int index); | ||
int getSectioncount(elfparser* theWrappedObject); | ||||
Jeandet Alexis
|
r39 | qint64 getSegmentFilesz(elfparser* theWrappedObject, int index); | ||
Jeandet Alexis
|
r0 | QString getSegmentFlags(elfparser* theWrappedObject, int index); | ||
Jeandet Alexis
|
r39 | qint64 getSegmentMemsz(elfparser* theWrappedObject, int index); | ||
qint64 getSegmentOffset(elfparser* theWrappedObject, int index); | ||||
qint64 getSegmentPaddr(elfparser* theWrappedObject, int index); | ||||
Jeandet Alexis
|
r0 | QString getSegmentType(elfparser* theWrappedObject, int index); | ||
Jeandet Alexis
|
r39 | qint64 getSegmentVaddr(elfparser* theWrappedObject, int index); | ||
Jeandet Alexis
|
r0 | int getSegmentcount(elfparser* theWrappedObject); | ||
QString getType(elfparser* theWrappedObject); | ||||
Jeandet Alexis
|
r39 | qint64 getVersion(elfparser* theWrappedObject); | ||
Jeandet Alexis
|
r0 | bool static_elfparser_isElf(const QString& File); | ||
bool iself(elfparser* theWrappedObject); | ||||
bool isopened(elfparser* theWrappedObject); | ||||
int setFilename(elfparser* theWrappedObject, const QString& name); | ||||
}; | ||||
r44 | ||||
Jeandet Alexis
|
r64 | class PythonQtShell_genericBinaryFileWidget : public genericBinaryFileWidget | ||
{ | ||||
public: | ||||
r71 | PythonQtShell_genericBinaryFileWidget(QWidget* parent = 0):genericBinaryFileWidget(parent),_wrapper(NULL) { }; | |||
Jeandet Alexis
|
r64 | |||
~PythonQtShell_genericBinaryFileWidget(); | ||||
virtual void actionEvent(QActionEvent* arg__1); | ||||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* arg__1); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
virtual bool hasHeightForWidth() const; | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual void initPainter(QPainter* painter) const; | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* arg__1); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual QSize minimumSizeHint() const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* arg__1); | ||||
virtual QPaintDevice* redirected(QPoint* offset) const; | ||||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
virtual QPainter* sharedPainter() const; | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual QSize sizeHint() const; | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_genericBinaryFileWidget : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
genericBinaryFileWidget* new_genericBinaryFileWidget(QWidget* parent = 0); | ||||
void delete_genericBinaryFileWidget(genericBinaryFileWidget* obj) { delete obj; } | ||||
}; | ||||
r44 | class PythonQtShell_srecFile : public srecFile | |||
{ | ||||
public: | ||||
r71 | PythonQtShell_srecFile():srecFile(),_wrapper(NULL) { }; | |||
PythonQtShell_srecFile(const QString& File):srecFile(File),_wrapper(NULL) { }; | ||||
PythonQtShell_srecFile(const QStringList& Files):srecFile(Files),_wrapper(NULL) { }; | ||||
r44 | ||||
~PythonQtShell_srecFile(); | ||||
virtual int closeFile(); | ||||
virtual QList<codeFragment* > getFragments(); | ||||
virtual bool isopened(); | ||||
virtual bool openFile(const QString& File); | ||||
r51 | virtual bool toBinary(const QString& File); | |||
virtual bool toSrec(const QString& File); | ||||
r44 | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_srecFile : public srecFile | ||||
{ public: | ||||
inline int promoted_closeFile() { return srecFile::closeFile(); } | ||||
inline QList<codeFragment* > promoted_getFragments() { return srecFile::getFragments(); } | ||||
inline bool promoted_isopened() { return srecFile::isopened(); } | ||||
inline bool promoted_openFile(const QString& File) { return srecFile::openFile(File); } | ||||
r51 | inline bool promoted_toBinary(const QString& File) { return srecFile::toBinary(File); } | |||
inline bool promoted_toSrec(const QString& File) { return srecFile::toSrec(File); } | ||||
r44 | }; | |||
class PythonQtWrapper_srecFile : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
srecFile* new_srecFile(); | ||||
srecFile* new_srecFile(const QString& File); | ||||
srecFile* new_srecFile(const QStringList& Files); | ||||
void delete_srecFile(srecFile* obj) { delete obj; } | ||||
Jeandet Alexis
|
r64 | bool static_srecFile_checkSum(const QString& line); | ||
r44 | int closeFile(srecFile* theWrappedObject); | |||
r51 | codeFragment* getFragment(srecFile* theWrappedObject, int index); | |||
Jeandet Alexis
|
r45 | int getFragmentAddress(srecFile* theWrappedObject, int index); | ||
bool getFragmentData(srecFile* theWrappedObject, int index, char** buffer); | ||||
QString getFragmentHeader(srecFile* theWrappedObject, int index); | ||||
int getFragmentSize(srecFile* theWrappedObject, int index); | ||||
r44 | QList<codeFragment* > getFragments(srecFile* theWrappedObject); | |||
Jeandet Alexis
|
r45 | int getFragmentsCount(srecFile* theWrappedObject); | ||
bool isSREC(srecFile* theWrappedObject); | ||||
bool static_srecFile_isSREC(const QString& File); | ||||
r44 | bool isopened(srecFile* theWrappedObject); | |||
Jeandet Alexis
|
r45 | int lineCount(srecFile* theWrappedObject); | ||
Jeandet Alexis
|
r57 | bool mergingRecords(srecFile* theWrappedObject); | ||
r44 | bool openFile(srecFile* theWrappedObject, const QString& File); | |||
bool openFiles(srecFile* theWrappedObject, const QStringList& Files); | ||||
Jeandet Alexis
|
r57 | void setMergingRecords(srecFile* theWrappedObject, bool enabled); | ||
r51 | bool toBinary(srecFile* theWrappedObject, const QString& File); | |||
Jeandet Alexis
|
r45 | bool static_srecFile_toSrec(QList<codeFragment* > fragments, const QString& File); | ||
r51 | bool toSrec(srecFile* theWrappedObject, const QString& File); | |||
r44 | }; | |||
Jeandet Alexis
|
r45 | |||
class PythonQtShell_srecFileWidget : public srecFileWidget | ||||
{ | ||||
public: | ||||
r71 | PythonQtShell_srecFileWidget(QWidget* parent = 0):srecFileWidget(parent),_wrapper(NULL) { }; | |||
Jeandet Alexis
|
r45 | |||
~PythonQtShell_srecFileWidget(); | ||||
r51 | virtual void reloadFile(); | |||
virtual void setFile(abstractBinFile* file); | ||||
Jeandet Alexis
|
r45 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
r51 | class PythonQtPublicPromoter_srecFileWidget : public srecFileWidget | |||
{ public: | ||||
inline void promoted_reloadFile() { srecFileWidget::reloadFile(); } | ||||
inline void promoted_setFile(abstractBinFile* file) { srecFileWidget::setFile(file); } | ||||
}; | ||||
Jeandet Alexis
|
r45 | class PythonQtWrapper_srecFileWidget : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
srecFileWidget* new_srecFileWidget(QWidget* parent = 0); | ||||
void delete_srecFileWidget(srecFileWidget* obj) { delete obj; } | ||||
r51 | void reloadFile(srecFileWidget* theWrappedObject); | |||
void setFile(srecFileWidget* theWrappedObject, abstractBinFile* file); | ||||
Jeandet Alexis
|
r45 | }; | ||