1 Star 0 Fork 1.5K

杰克v / ndd

forked from 爬山虎 / ndd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
MediatorDisplay.h 968 Bytes
一键复制 编辑 原始数据 按行查看 历史
#pragma once
#include <QObject>
class MediatorDisplay:public QObject
{
Q_OBJECT
public:
MediatorDisplay();
virtual ~MediatorDisplay();
void setLeftNum(int value);
void setRightNum(int value);
int getLeftNum();
int getRightNum();
void setLeftScrollValue(int value);
void setRightScrollValue(int value);
int getLeftScrollValue();
int getRightScrollValue();
void setLeftScrollXValue(int value);
void setRightScrollXValue(int value);
int getLeftScrollXValue();
int getRightScrollXValue();
signals:
//当前行同步
void syncCurLineNum(int direction);
//滚动条同步
void syncCurScrollValue(int direction);
void syncCurScrollXValue(int direction);
private:
//左右当前行的值
int m_leftLineNum;
int m_rightLineNum;
//左右滚动条的值
int m_leftScrollValue;
int m_rightScrollValue;
//左右滚动条的值x
int m_leftScrollXValue;
int m_rightScrollXValue;
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/JieKev/notepad--.git
git@gitee.com:JieKev/notepad--.git
JieKev
notepad--
ndd
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891