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

Method FileListView

src/filelistview.cpp:10–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8//����ʾ�ļ������Ժ󣬰������ļ����ڸ��б���
9
10FileListView::FileListView(QWidget *parent)
11 : QWidget(parent), m_pNotepad(nullptr)
12{
13 ui.setupUi(this);
14
15 connect(ui.filelistWidget, &QListWidget::itemDoubleClicked, this, &FileListView::itemDoubleClicked);
16
17 setContextMenuPolicy(Qt::CustomContextMenu); //����ö��ֵ
18
19 connect(this, &QListWidget::customContextMenuRequested, this, &FileListView::slot_ShowPopMenu);
20}
21
22FileListView::~FileListView()
23{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected