🎨 Added clang-format
This commit is contained in:
@@ -2,37 +2,37 @@
|
||||
#define FILEACTIONDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QStandardItemModel>
|
||||
#include <QDialogButtonBox>
|
||||
#include <QStandardItemModel>
|
||||
|
||||
namespace Ui {
|
||||
class FileActionDialog;
|
||||
namespace Ui
|
||||
{
|
||||
class FileActionDialog;
|
||||
}
|
||||
|
||||
class FileActionDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit FileActionDialog(QWidget *parent, const QString &title, const QString &message, const QStringList &listData, const QString &checkBoxText=QString(), bool *checkBoxResult=0);
|
||||
explicit FileActionDialog(QWidget *parent, const QString &title, const QString &message, const QStringList &listData, const QString &checkBoxText = QString(), bool *checkBoxResult = 0);
|
||||
~FileActionDialog();
|
||||
|
||||
static bool run(QWidget *parent, const QString &title, const QString &message, const QStringList &listData, const QString &checkBoxText=QString(), bool *checkBoxResult=0);
|
||||
static bool run(QWidget *parent, const QString &title, const QString &message, const QStringList &listData, const QString &checkBoxText = QString(), bool *checkBoxResult = 0);
|
||||
|
||||
typedef QDialogButtonBox::StandardButton StandardButton;
|
||||
typedef QDialogButtonBox::StandardButtons StandardButtons;
|
||||
|
||||
static StandardButton runStandardButtons(QWidget *parent, StandardButtons, const QString &title, const QString &message, const QStringList &listData);
|
||||
typedef QDialogButtonBox::StandardButton StandardButton;
|
||||
typedef QDialogButtonBox::StandardButtons StandardButtons;
|
||||
|
||||
static StandardButton runStandardButtons(QWidget *parent, StandardButtons, const QString &title, const QString &message, const QStringList &listData);
|
||||
|
||||
private slots:
|
||||
void on_buttonBox_clicked(QAbstractButton *button);
|
||||
void on_buttonBox_clicked(QAbstractButton *button);
|
||||
|
||||
private:
|
||||
Ui::FileActionDialog *ui;
|
||||
QStandardItemModel itemModel;
|
||||
class QCheckBox *checkBox;
|
||||
bool *checkBoxResult;
|
||||
StandardButton clickedButton;
|
||||
QStandardItemModel itemModel;
|
||||
class QCheckBox *checkBox;
|
||||
bool *checkBoxResult;
|
||||
StandardButton clickedButton;
|
||||
};
|
||||
|
||||
#endif // FILEACTIONDIALOG_H
|
||||
#endif // FILEACTIONDIALOG_H
|
||||
|
Reference in New Issue
Block a user