mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
VolumeVerifier: Calculate CRC32/MD5/SHA-1
This commit is contained in:
parent
4fd2d8e8c4
commit
eced9d7c7e
6 changed files with 151 additions and 63 deletions
|
@ -6,7 +6,11 @@
|
|||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include <QCheckBox>
|
||||
#include <QFormLayout>
|
||||
#include <QLineEdit>
|
||||
#include <QPushButton>
|
||||
#include <QTableWidget>
|
||||
#include <QTextEdit>
|
||||
|
@ -25,6 +29,7 @@ public:
|
|||
|
||||
private:
|
||||
void CreateWidgets();
|
||||
std::pair<QCheckBox*, QLineEdit*> AddHashLine(QFormLayout* layout, QString text);
|
||||
void ConnectWidgets();
|
||||
|
||||
void Verify();
|
||||
|
@ -33,5 +38,12 @@ private:
|
|||
std::shared_ptr<DiscIO::Volume> m_volume;
|
||||
QTableWidget* m_problems;
|
||||
QTextEdit* m_summary_text;
|
||||
QFormLayout* m_hash_layout;
|
||||
QCheckBox* m_crc32_checkbox;
|
||||
QCheckBox* m_md5_checkbox;
|
||||
QCheckBox* m_sha1_checkbox;
|
||||
QLineEdit* m_crc32_line_edit;
|
||||
QLineEdit* m_md5_line_edit;
|
||||
QLineEdit* m_sha1_line_edit;
|
||||
QPushButton* m_verify_button;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue