summaryrefslogtreecommitdiff
path: root/ui/qt5/mountdialog.hh
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-09-20 17:08:04 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-09-20 17:08:04 -0500
commit71d09ecaccd22e13ca2ac2faac9e2080364d1513 (patch)
tree3c28e0bb8d50117dde6b9de6636a3395d14b9491 /ui/qt5/mountdialog.hh
parentb0b956ee5375c21ebd0461c6bfc5053e76ace478 (diff)
downloadhorizon-71d09ecaccd22e13ca2ac2faac9e2080364d1513.tar.gz
horizon-71d09ecaccd22e13ca2ac2faac9e2080364d1513.tar.bz2
horizon-71d09ecaccd22e13ca2ac2faac9e2080364d1513.tar.xz
horizon-71d09ecaccd22e13ca2ac2faac9e2080364d1513.zip
Qt UI: Add ability to format from partition page
Diffstat (limited to 'ui/qt5/mountdialog.hh')
-rw-r--r--ui/qt5/mountdialog.hh8
1 files changed, 8 insertions, 0 deletions
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 <QCheckBox>
#include <QComboBox>
#include <QDialog>
#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;
};