- Commit messages must not be empty - Double-clicking a file invokes diff FileAction Dialog: - Optional checkbox MainWindow: - Added Rename/Undo/About Actions - Added Renamed/Missing file states - Added tooltips to status column - Support for running fossil in detached mode (to prevent killing fossil due to timeout on diff sessions) FossilOrigin-Name: ea42e7cd8b7041d82e35720b14e30437b6db6e0d
30 lines
761 B
C++
30 lines
761 B
C++
#ifndef FILEACTIONDIALOG_H
|
|
#define FILEACTIONDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QStandardItemModel>
|
|
#include <QCheckBox>
|
|
|
|
namespace Ui {
|
|
class FileActionDialog;
|
|
}
|
|
|
|
class FileActionDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit FileActionDialog(QWidget *parent, const QString &title, const QString &message, const QStringList &files, const QString &checkBoxText=QString(), bool *checkBoxResult=0);
|
|
~FileActionDialog();
|
|
|
|
static bool run(QWidget *parent, const QString &title, const QString &message, const QStringList &files, const QString &checkBoxText=QString(), bool *checkBoxResult=0);
|
|
|
|
private:
|
|
Ui::FileActionDialog *ui;
|
|
QStandardItemModel itemModel;
|
|
QCheckBox *checkBox;
|
|
bool *checkBoxResult;
|
|
};
|
|
|
|
#endif // FILEACTIONDIALOG_H
|