mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 04:49:14 +12:00
Qt: Add patching errors
This commit is contained in:
parent
66bcf384f3
commit
332fbcfff1
4 changed files with 51 additions and 6 deletions
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
#include <QLabel>
|
||||
#include <QMessageBox>
|
||||
#include <QWidget>
|
||||
#include <filesystem>
|
||||
|
||||
|
@ -13,6 +14,15 @@ class PatchWindow final : public QWidget {
|
|||
~PatchWindow() = default;
|
||||
|
||||
private:
|
||||
// Show a message box
|
||||
// Title: Title of the message box to display
|
||||
// Message: Message to display
|
||||
// Icon: The type of icon (error, warning, information, etc) to display
|
||||
// IconPath: If non-null, then a path to an icon in our assets to display on the OK button
|
||||
void displayMessage(
|
||||
const QString& title, const QString& message, QMessageBox::Icon icon = QMessageBox::Icon::Warning, const char* iconPath = nullptr
|
||||
);
|
||||
|
||||
std::filesystem::path inputPath = "";
|
||||
std::filesystem::path patchPath = "";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue