MCPcopy Create free account
hub / github.com/cxasm/notepad-- / closeFileByEditWidget

Method closeFileByEditWidget

src/cceditor/ccnotepad.cpp:5128–5137  ·  view source on GitHub ↗

在文件列表类中使用,关闭pEdit所在的编辑器

Source from the content-addressed store, hash-verified

5126
5127//在文件列表类中使用,关闭pEdit所在的编辑器
5128bool CCNotePad::closeFileByEditWidget(QWidget* pEdit)
5129{
5130 int index = ui.editTabWidget->indexOf(pEdit);
5131 if (index != -1)
5132 {
5133 slot_tabClose(index);
5134 return true;
5135 }
5136 return false;
5137}
5138
5139void CCNotePad::initFileListDockWin()
5140{

Callers 1

slot_ShowPopMenuMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected