hlp:640x480-小屏vx4齿轮泵代码提交
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* phaseGraphic.h
|
||||
*
|
||||
* Created on: Jun 29, 2013
|
||||
* Author: yiyu
|
||||
* QQ:1036184468
|
||||
* Descriptoin:
|
||||
|
||||
*/
|
||||
|
||||
#ifndef PHASEGRAPHIC_H_
|
||||
#define PHASEGRAPHIC_H_
|
||||
|
||||
|
||||
#include "QWidget"
|
||||
#include "ParaSettingUI.h"
|
||||
#include <QPen>
|
||||
#include <QBrush>
|
||||
class PhaseGraphic:public QWidget,public ParaSettingUI{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit PhaseGraphic(QWidget *parent = 0);
|
||||
~PhaseGraphic();
|
||||
|
||||
void paintEvent(QPaintEvent *);
|
||||
|
||||
void updateSysStatusToUI();
|
||||
|
||||
void setLockedPhase(bool enable,int val);
|
||||
void setPhaseCount(int count);
|
||||
private:
|
||||
|
||||
QPen pen;
|
||||
QBrush brush;
|
||||
int lockPhaseFlag;
|
||||
int lockedPhase;
|
||||
int phaseCount; // 份数
|
||||
};
|
||||
#endif /* PHASEGRAPHIC_H_ */
|
||||
Reference in New Issue
Block a user