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.
nmWATI/Include/iBase/iPlugin/QTextEditEx.h

24 lines
418 B
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#pragma once
#include <QTextEdit>
#include "iPlugin_global.h"
// 文本MPA解释结果使用
class I_PLUGIN_EXPORT QTextEditEx : public QTextEdit
{
Q_OBJECT
public:
QTextEditEx(QWidget *parent = 0);
~QTextEditEx();
signals:
// 触发信号,以便用户对右键菜单进行调整
void sigCustomMenu(QMenu* );
protected:
virtual void contextMenuEvent(QContextMenuEvent *e);
};