]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - client/proxguiqt.h
b76a5ea72c22041ec834bb02c47846a0bc4ff3b5
1 //-----------------------------------------------------------------------------
2 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
3 // at your option, any later version. See the LICENSE.txt file for the text of
5 //-----------------------------------------------------------------------------
7 //-----------------------------------------------------------------------------
9 #include <QApplication>
10 #include <QPushButton>
15 class ProxWidget
: public QWidget
21 double GraphPixelsPerPoint
;
26 ProxWidget(QWidget
*parent
= 0);
29 void paintEvent(QPaintEvent
*event
);
30 void closeEvent(QCloseEvent
*event
);
31 void mouseMoveEvent(QMouseEvent
*event
);
32 void mousePressEvent(QMouseEvent
*event
) { mouseMoveEvent(event
); }
33 void keyPressEvent(QKeyEvent
*event
);
36 class ProxGuiQT
: public QObject
41 QApplication
*plotapp
;
42 ProxWidget
*plotwidget
;
45 void (*main_func
)(void);
48 ProxGuiQT(int argc
, char **argv
);
50 void ShowGraphWindow(void);
51 void RepaintGraphWindow(void);
52 void HideGraphWindow(void);
56 void _ShowGraphWindow(void);
57 void _RepaintGraphWindow(void);
58 void _HideGraphWindow(void);
61 void ShowGraphWindowSignal(void);
62 void RepaintGraphWindowSignal(void);
63 void HideGraphWindowSignal(void);