| 8 | //����ʾ�ļ������Ժ������ļ����ڸ��б��� |
| 9 | |
| 10 | FileListView::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 | |
| 22 | FileListView::~FileListView() |
| 23 | { |
nothing calls this directly
no outgoing calls
no test coverage detected