1 Star 0 Fork 1.5K

Penn.Lin / ndd

forked from 爬山虎 / ndd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
scintillahexeditview.h 785 Bytes
一键复制 编辑 原始数据 按行查看 历史
#pragma once
#include <qsciscintilla.h>
#include <Scintilla.h>
#include <QDragEnterEvent>
#include <QDropEvent>
typedef sptr_t(*SCINTILLA_FUNC) (sptr_t ptr, unsigned int, uptr_t, sptr_t);
typedef sptr_t SCINTILLA_PTR;
class ScintillaHexEditView : public QsciScintilla
{
Q_OBJECT
public:
ScintillaHexEditView(QWidget *parent = Q_NULLPTR);
virtual ~ScintillaHexEditView();
void setNoteWidget(QWidget * win);
sptr_t execute(quint32 Msg, uptr_t wParam = 0, sptr_t lParam = 0) const;
private:
void init();
protected:
void dragEnterEvent(QDragEnterEvent * event);
void dropEvent(QDropEvent * e);
private:
static bool _SciInit;
SCINTILLA_FUNC m_pScintillaFunc = nullptr;
SCINTILLA_PTR m_pScintillaPtr = 0;
QWidget* m_NoteWin;
};
C++
1
https://gitee.com/penn6699/notepad--.git
git@gitee.com:penn6699/notepad--.git
penn6699
notepad--
ndd
master

搜索帮助