提交原始齿轮泵代码
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* PrintTextDisplay.h
|
||||
*
|
||||
* Created on: Jul 9, 2013
|
||||
* Author: yiyu
|
||||
* QQ:1036184468
|
||||
* Descriptoin:
|
||||
|
||||
*/
|
||||
|
||||
#ifndef PRINTTEXTDISPLAY_H_
|
||||
#define PRINTTEXTDISPLAY_H_
|
||||
|
||||
#include <QWidget>
|
||||
#include "ParaSettingUI.h"
|
||||
class PrintTextDisplay:public QWidget,public ParaSettingUI{
|
||||
|
||||
public:
|
||||
explicit PrintTextDisplay(QWidget *parent = 0);
|
||||
~PrintTextDisplay();
|
||||
|
||||
void updateSysParaToUI(); //重载
|
||||
|
||||
void updateSysStatusToUI(); //重载
|
||||
|
||||
void paintEvent(QPaintEvent *);
|
||||
|
||||
void resizeWidget(int w,int h);
|
||||
|
||||
|
||||
|
||||
void enlargeDisplay();
|
||||
void reduceDisplay();
|
||||
|
||||
void setDisplaySize(int w,int h);
|
||||
|
||||
void setScaleRatio(int ratio);
|
||||
void scroll_update();
|
||||
private:
|
||||
int scaleRatio;
|
||||
int origHeight;
|
||||
int origWidth;
|
||||
bool updateDigitalOnly;
|
||||
};
|
||||
|
||||
|
||||
#endif /* PRINTTEXTDISPLAY_H_ */
|
||||
Reference in New Issue
Block a user