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

Method slot_select

src/md5hash.cpp:35–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33{}
34
35void Md5hash::slot_select()
36{
37 QFileDialog fd(this, QString(), CCNotePad::s_lastOpenDirPath);
38 fd.setFileMode(QFileDialog::ExistingFile);
39 m_fileList.clear();
40
41 if (fd.exec() == QDialog::Accepted) //����ɹ���ִ��
42 {
43 m_fileList = fd.selectedFiles(); //�����ļ��б�������
44
45 if (!m_fileList.isEmpty())
46 {
47 m_isFile = true;
48 ui.srcTextEdit->setPlainText(m_fileList.join("\n"));
49 }
50
51 }
52 else
53 {
54 fd.close();
55 }
56}
57
58void Md5hash::on_methodIdChange(int id)
59{

Callers

nothing calls this directly

Calls 3

isEmptyMethod · 0.80
closeMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected