Skeleton code for Commit, Add, Delete, Revert actions FossilOrigin-Name: 9e35495cc3f4e18f458cf02f83d1d8075c0a85b9
30 lines
609 B
C++
30 lines
609 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(const QStringList &commitMsgHistory, const QStringList &files, QWidget *parent = 0);
|
|
~CommitDialog();
|
|
|
|
static bool run(QString &commitMsg, const QStringList &commitMsgHistory, const QStringList &files, QWidget *parent);
|
|
|
|
private slots:
|
|
void on_comboBox_activated(const QString &arg1);
|
|
|
|
private:
|
|
Ui::CommitDialog *ui;
|
|
QStandardItemModel itemModel;
|
|
};
|
|
|
|
#endif // COMMITDIALOG_H
|