Added Commit and FileAction dialogs
Skeleton code for Commit, Add, Delete, Revert actions FossilOrigin-Name: 9e35495cc3f4e18f458cf02f83d1d8075c0a85b9
This commit is contained in:
26
FileActionDialog.h
Normal file
26
FileActionDialog.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifndef FILEACTIONDIALOG_H
|
||||
#define FILEACTIONDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QStandardItemModel>
|
||||
|
||||
namespace Ui {
|
||||
class FileActionDialog;
|
||||
}
|
||||
|
||||
class FileActionDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit FileActionDialog(const QString &title, const QString &message, const QStringList &files, QWidget *parent = 0);
|
||||
~FileActionDialog();
|
||||
|
||||
static bool run(const QString &title, const QString &message, const QStringList &files, QWidget *parent);
|
||||
|
||||
private:
|
||||
Ui::FileActionDialog *ui;
|
||||
QStandardItemModel itemModel;
|
||||
};
|
||||
|
||||
#endif // FILEACTIONDIALOG_H
|
Reference in New Issue
Block a user