| 33 | {} |
| 34 | |
| 35 | void 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 | |
| 58 | void Md5hash::on_methodIdChange(int id) |
| 59 | { |