fuel-scm/CommitDialog.h
kostas 92935b056a Select the root node in the Tree view when opening a project
Commit Dialog now displays the first line previous commit messages only


FossilOrigin-Name: 6f0dadf863a147669f09e5661541e2ae6043e2a5
2011-10-21 15:46:38 +00:00

33 lines
724 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, QStringList &files);
~CommitDialog();
static bool run(QWidget *parent, QString &commitMsg, const QStringList &commitMsgHistory, QStringList &files);
private slots:
void on_comboBox_activated(int index);
void on_listView_doubleClicked(const QModelIndex &index);
void on_listView_clicked(const QModelIndex &index);
private:
Ui::CommitDialog *ui;
QStandardItemModel itemModel;
QStringList commitMessages;
};
#endif // COMMITDIALOG_H