You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-utils-2.2-install.../src/mountpointdialog.h

53 lines
907 B

#pragma once
#include <QtGui/QDialog>
#include <QMap>
#include "commons.h"
class QLabel;
class QLineEdit;
class QComboBox;
class QCheckBox;
class QWidget;
class MountPointDialog: public QDialog
{
Q_OBJECT
public:
MountPointDialog(
QWidget* parent,
const MountPointsList& AllMountPoints,
const MountPointsMap& NotUsedParts,
const MountPoint& mountPoint = MountPoint()
);
~MountPointDialog();
MountPoint getMountPoint() { return m_MountPoint; }
private slots:
void preAccept();
void changedControls();
private:
void setupUi();
private:
QLabel* m_labMountPoint;
QComboBox* m_cbMountPoint;
QLabel* m_labPart;
QComboBox* m_cbPart;
QCheckBox* m_chkboxFormat;
QWidget* m_widgetFS;
QLabel* m_labFS;
QComboBox* m_cmbboxFS;
QPushButton* m_butOk;
QPushButton* m_butCancel;
MountPoint m_MountPoint;
MountPointsMap m_NotUsedParts;
MountPointsList m_AllMountPoints;
};