mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
fix: QT complains about non-static data member initializers
This commit is contained in:
parent
f28da2da6e
commit
e449e2ba88
3 changed files with 10 additions and 64 deletions
|
@ -32,16 +32,16 @@ class Plot: public QWidget
|
|||
double GraphPixelsPerPoint;
|
||||
int CursorAPos;
|
||||
int CursorBPos;
|
||||
void PlotGraph(int *buffer, int len, QRect r,QRect r2, QPainter* painter, int graphNum);
|
||||
void PlotDemod(uint8_t *buffer, size_t len, QRect r,QRect r2, QPainter* painter, int graphNum, int plotOffset);
|
||||
void plotGridLines(QPainter* painter,QRect r);
|
||||
int xCoordOf(int i, QRect r );
|
||||
int yCoordOf(int v, QRect r, int maxVal);
|
||||
int valueOf_yCoord(int y, QRect r, int maxVal);
|
||||
void setMaxAndStart(int *buffer, int len, QRect plotRect);
|
||||
QColor getColor(int graphNum);
|
||||
void PlotGraph(int *buffer, int len, QRect r,QRect r2, QPainter* painter, int graphNum);
|
||||
void PlotDemod(uint8_t *buffer, size_t len, QRect r,QRect r2, QPainter* painter, int graphNum, int plotOffset);
|
||||
void plotGridLines(QPainter* painter,QRect r);
|
||||
int xCoordOf(int i, QRect r );
|
||||
int yCoordOf(int v, QRect r, int maxVal);
|
||||
int valueOf_yCoord(int y, QRect r, int maxVal);
|
||||
void setMaxAndStart(int *buffer, int len, QRect plotRect);
|
||||
QColor getColor(int graphNum);
|
||||
public:
|
||||
Plot(QWidget *parent = 0);
|
||||
Plot(QWidget *parent = 0);
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event);
|
||||
|
@ -128,7 +128,7 @@ public:
|
|||
void run();
|
||||
private:
|
||||
char *script_cmds_file = NULL;
|
||||
bool usb_present = false;
|
||||
bool usb_present;
|
||||
};
|
||||
|
||||
#endif // PROXGUI_QT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue