-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathannonationeditwidget.h
More file actions
41 lines (32 loc) · 900 Bytes
/
annonationeditwidget.h
File metadata and controls
41 lines (32 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef ANNONATIONEDITWIDGET_H
#define ANNONATIONEDITWIDGET_H
#include <QWidget>
#include <QTextEdit>
#include <QKeyEvent>
#include <windows.h> //注意头文件
#include <windowsx.h>
#include "tabwidgetcell.h"
namespace Ui {
class AnnonationEditWidget;
}
class TabWidgetCell;
class AnnonationEditWidget : public QWidget
{
Q_OBJECT
public:
explicit AnnonationEditWidget(QString sField, QString str = "", QWidget *parent = nullptr);
~AnnonationEditWidget();
void SetText(QString& str);
QString GetText();
signals:
//保存注释
void SaveAnnonationsSignal(QString sIndex, QString str, QString sField);
protected:
void closeEvent(QCloseEvent *event);
private:
Ui::AnnonationEditWidget *ui;
TabWidgetCell* tabWidget;
QString m_sField;
bool m_bModify;
};
#endif // ANNONATIONEDITWIDGET_H