You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
412 B
C++
24 lines
412 B
C++
#pragma once
|
|
|
|
#include <QTextEdit>
|
|
|
|
#include "iPlugin_global.h"
|
|
|
|
// 文本,解释结果,使用
|
|
class I_PLUGIN_EXPORT ZxTextEdit : public QTextEdit
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
ZxTextEdit(QWidget *parent = 0);
|
|
~ZxTextEdit();
|
|
|
|
signals:
|
|
|
|
// 触发信号,以便用户对右键菜单进行调整
|
|
void sigCustomMenu(QMenu* );
|
|
|
|
protected:
|
|
virtual void contextMenuEvent(QContextMenuEvent *e);
|
|
};
|