- 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
32 lines
702 B
C++
32 lines
702 B
C++
#ifndef COMMITDIALOG_H
|
|
#define COMMITDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QStandardItemModel>
|
|
|
|
namespace Ui {
|
|
class CommitDialog;
|
|
}
|
|
|
|
class CommitDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit CommitDialog(QWidget *parent, const QStringList &commitMsgHistory, const QStringList &files);
|
|
~CommitDialog();
|
|
|
|
static bool run(QWidget *parent, QString &commitMsg, const QStringList &commitMsgHistory, const QStringList &files);
|
|
|
|
private slots:
|
|
void on_comboBox_activated(const QString &arg1);
|
|
void on_plainTextEdit_textChanged();
|
|
void on_listView_doubleClicked(const QModelIndex &index);
|
|
|
|
private:
|
|
Ui::CommitDialog *ui;
|
|
QStandardItemModel itemModel;
|
|
};
|
|
|
|
#endif // COMMITDIALOG_H
|