1 Star 0 Fork 1.8K

rockdong/ndd

forked from 爬山虎/ndd 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
scintillahexeditview.h 785 Bytes
Copy Edit Raw Blame History
#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;
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/sinclairdong/notepad--.git
git@gitee.com:sinclairdong/notepad--.git
sinclairdong
notepad--
ndd
master

Search

0d507c66 1850385 C8b1a773 1850385