From af8cd0d73ba638c6d428ce6d4e43c10d90d43d5f Mon Sep 17 00:00:00 2001 From: Le Tan Date: Fri, 1 Jun 2018 16:58:50 +0800 Subject: [PATCH] refine Info act --- src/vattachmentlist.cpp | 2 +- src/vdirectorytree.cpp | 2 +- src/vexplorer.cpp | 4 ++-- src/vfilelist.cpp | 2 +- src/vnotebookselector.cpp | 2 +- src/vsnippetlist.cpp | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/vattachmentlist.cpp b/src/vattachmentlist.cpp index b455361e..eec16a62 100644 --- a/src/vattachmentlist.cpp +++ b/src/vattachmentlist.cpp @@ -288,7 +288,7 @@ void VAttachmentList::handleContextMenuRequested(QPoint p_pos) menu.addSeparator(); QAction *fileInfoAct = new QAction(VIconUtils::menuIcon(":/resources/icons/note_info.svg"), - tr("&Info\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)), + tr("&Info (Rename)\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)), &menu); fileInfoAct->setToolTip(tr("View and edit current folder's information")); connect(fileInfoAct, &QAction::triggered, diff --git a/src/vdirectorytree.cpp b/src/vdirectorytree.cpp index fc9177be..a9f682a2 100644 --- a/src/vdirectorytree.cpp +++ b/src/vdirectorytree.cpp @@ -445,7 +445,7 @@ void VDirectoryTree::contextMenuRequested(QPoint pos) menu.addAction(pinToHistoryAct); QAction *dirInfoAct = new QAction(VIconUtils::menuIcon(":/resources/icons/dir_info.svg"), - tr("&Info\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)), + tr("&Info (Rename)\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)), &menu); dirInfoAct->setToolTip(tr("View and edit current folder's information")); connect(dirInfoAct, &QAction::triggered, diff --git a/src/vexplorer.cpp b/src/vexplorer.cpp index 69551cfb..482808ef 100644 --- a/src/vexplorer.cpp +++ b/src/vexplorer.cpp @@ -475,7 +475,7 @@ void VExplorer::handleContextMenuRequested(QPoint p_pos) menu.addSeparator(); QAction *fileInfoAct = new QAction(VIconUtils::menuIcon(":/resources/icons/note_info.svg"), - tr("&Info\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)), + tr("&Info (Rename)\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)), &menu); fileInfoAct->setToolTip(tr("View and edit current folder's information")); connect(fileInfoAct, &QAction::triggered, @@ -573,7 +573,7 @@ void VExplorer::handleContextMenuRequested(QPoint p_pos) if (selectedFiles.size() == 1) { QAction *fileInfoAct = new QAction(VIconUtils::menuIcon(":/resources/icons/note_info.svg"), - tr("&Info\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)), + tr("&Info (Rename)\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)), &menu); fileInfoAct->setToolTip(tr("View and edit current file's information")); connect(fileInfoAct, &QAction::triggered, diff --git a/src/vfilelist.cpp b/src/vfilelist.cpp index 12e38e23..46bd1c12 100644 --- a/src/vfilelist.cpp +++ b/src/vfilelist.cpp @@ -636,7 +636,7 @@ void VFileList::contextMenuRequested(QPoint pos) if (selectedSize == 1) { QAction *fileInfoAct = new QAction(VIconUtils::menuIcon(":/resources/icons/note_info.svg"), - tr("&Info\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)), + tr("&Info (Rename)\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)), &menu); fileInfoAct->setToolTip(tr("View and edit current note's information")); connect(fileInfoAct, SIGNAL(triggered(bool)), diff --git a/src/vnotebookselector.cpp b/src/vnotebookselector.cpp index 4b786e8d..2732690c 100644 --- a/src/vnotebookselector.cpp +++ b/src/vnotebookselector.cpp @@ -487,7 +487,7 @@ void VNotebookSelector::popupListContextMenuRequested(QPoint p_pos) if (nb->isValid()) { QAction *notebookInfoAct = new QAction(VIconUtils::menuIcon(":/resources/icons/notebook_info.svg"), - tr("&Info"), + tr("&Info (Rename)"), &menu); notebookInfoAct->setToolTip(tr("View and edit current notebook's information")); connect(notebookInfoAct, SIGNAL(triggered(bool)), diff --git a/src/vsnippetlist.cpp b/src/vsnippetlist.cpp index 434ab557..ec09e4d9 100644 --- a/src/vsnippetlist.cpp +++ b/src/vsnippetlist.cpp @@ -144,7 +144,7 @@ void VSnippetList::handleContextMenuRequested(QPoint p_pos) menu.addAction(applyAct); QAction *infoAct = new QAction(VIconUtils::menuIcon(":/resources/icons/snippet_info.svg"), - tr("&Info\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)), + tr("&Info (Rename)\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)), &menu); infoAct->setToolTip(tr("View and edit snippet's information")); connect(infoAct, &QAction::triggered,