2026年6月4日 commit
This commit is contained in:
+18
-15
@@ -5,42 +5,45 @@
|
||||
* Author: yiyu
|
||||
* QQ:1036184468
|
||||
* Descriptoin:
|
||||
|
||||
|
||||
*/
|
||||
|
||||
#ifndef PRINTTEXTDISPLAY_H_
|
||||
#define PRINTTEXTDISPLAY_H_
|
||||
|
||||
#include "SysPara.h"
|
||||
|
||||
#include <QWidget>
|
||||
#include "ParaSettingUI.h"
|
||||
class PrintTextDisplay:public QWidget,public ParaSettingUI{
|
||||
class PrintTextDisplay:public QWidget{
|
||||
|
||||
public:
|
||||
explicit PrintTextDisplay(QWidget *parent = 0);
|
||||
~PrintTextDisplay();
|
||||
|
||||
void updateSysParaToUI(); //重载
|
||||
void updateSysParaToUI(); //重载
|
||||
|
||||
void updateSysStatusToUI(); //重载
|
||||
void updateSysStatusToUI(); //重载
|
||||
|
||||
void paintEvent(QPaintEvent *);
|
||||
|
||||
void resizeWidget(int w,int h);
|
||||
void resizeWidget(int w,int h);
|
||||
|
||||
void enlargeDisplay();
|
||||
void reduceDisplay();
|
||||
|
||||
void setDisplaySize(int w,int h);
|
||||
|
||||
void enlargeDisplay();
|
||||
void reduceDisplay();
|
||||
void setScaleRatio(int ratio);
|
||||
|
||||
void setDisplaySize(int w,int h);
|
||||
int currScaleRatio();
|
||||
|
||||
void setScaleRatio(int ratio);
|
||||
void scroll_update();
|
||||
void scroll_update();
|
||||
private:
|
||||
int scaleRatio;
|
||||
int origHeight;
|
||||
int origWidth;
|
||||
bool updateDigitalOnly;
|
||||
SysPara* sysPara = nullptr;
|
||||
int scaleRatio;
|
||||
int origHeight;
|
||||
int origWidth;
|
||||
bool updateDigitalOnly;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user