From 71d09ecaccd22e13ca2ac2faac9e2080364d1513 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 20 Sep 2020 17:08:04 -0500 Subject: Qt UI: Add ability to format from partition page --- ui/qt5/mountdialog.hh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ui/qt5/mountdialog.hh') diff --git a/ui/qt5/mountdialog.hh b/ui/qt5/mountdialog.hh index f701438..b8fdb6a 100644 --- a/ui/qt5/mountdialog.hh +++ b/ui/qt5/mountdialog.hh @@ -15,6 +15,7 @@ #include "horizonwizard.hh" +#include #include #include #ifdef HAS_INSTALL_ENV @@ -32,6 +33,11 @@ public: void setPartition(const QString &part); QString mountPoint() const; void setMountPoint(const QString &path); + + bool isFormatting() const; + void setFormatting(bool format); + QString formatType() const; + void setFormatType(const QString &formatType); private: #ifdef HAS_INSTALL_ENV QListWidget *partList; @@ -39,6 +45,8 @@ private: QLineEdit *partInput; #endif /* HAS_INSTALL_ENV */ QComboBox *pathInput; + QCheckBox *formatChoice; + QComboBox *formatInput; QString path; }; -- cgit v1.2.3-70-g09d2