fix: 改变粘贴顺序在最后
Description: 改变粘贴顺序在最后 Log: 改变粘贴顺序在最后 Change-Id: I836a5d521c9e8722e68d86ca4b0cffb8301b17f8
This commit is contained in:
parent
7a2b905bc6
commit
a7e7c64fbd
|
@ -15,15 +15,16 @@ ResultTextView::ResultTextView(QWidget *parent)
|
||||||
m_actCopy->setText(tr("Copy"));
|
m_actCopy->setText(tr("Copy"));
|
||||||
m_actCut = new QAction(this);
|
m_actCut = new QAction(this);
|
||||||
m_actCut->setText(tr("Cut"));
|
m_actCut->setText(tr("Cut"));
|
||||||
m_actPaste = new QAction(this);
|
|
||||||
m_actPaste->setText(tr("Paste"));
|
|
||||||
m_actSelectAll = new QAction(this);
|
m_actSelectAll = new QAction(this);
|
||||||
m_actSelectAll->setText(tr("SelectAll"));
|
m_actSelectAll->setText(tr("SelectAll"));
|
||||||
|
m_actPaste = new QAction(this);
|
||||||
|
m_actPaste->setText(tr("Paste"));
|
||||||
|
|
||||||
m_Menu->addAction(m_actSelectAll);
|
m_Menu->addAction(m_actSelectAll);
|
||||||
m_Menu->addAction(m_actCopy);
|
m_Menu->addAction(m_actCopy);
|
||||||
m_Menu->addAction(m_actPaste);
|
|
||||||
m_Menu->addAction(m_actCut);
|
m_Menu->addAction(m_actCut);
|
||||||
|
m_Menu->addAction(m_actPaste);
|
||||||
|
|
||||||
connect(m_actSelectAll, &QAction::triggered, this, [ = ]() {
|
connect(m_actSelectAll, &QAction::triggered, this, [ = ]() {
|
||||||
emit this->selectAll();
|
emit this->selectAll();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user