30 lines
378 B
C
30 lines
378 B
C
|
|
#ifndef TIPPOP_H
|
||
|
|
#define TIPPOP_H
|
||
|
|
|
||
|
|
#include <QWidget>
|
||
|
|
|
||
|
|
class TipPop : public QWidget
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
|
||
|
|
public:
|
||
|
|
TipPop(QWidget *parent=NULL);
|
||
|
|
~TipPop();
|
||
|
|
|
||
|
|
void paintEvent(QPaintEvent *);
|
||
|
|
void init();
|
||
|
|
void moveCursorPoint(const float &dept);
|
||
|
|
void drawBorder();
|
||
|
|
private:
|
||
|
|
float m_deptValue;
|
||
|
|
float m_value;
|
||
|
|
|
||
|
|
|
||
|
|
private:
|
||
|
|
QLine *m_Lst;
|
||
|
|
float m_dept;
|
||
|
|
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // TIPPOP_H
|