Added Commit and FileAction dialogs
Skeleton code for Commit, Add, Delete, Revert actions FossilOrigin-Name: 9e35495cc3f4e18f458cf02f83d1d8075c0a85b9
This commit is contained in:
29
CommitDialog.h
Normal file
29
CommitDialog.h
Normal file
@ -0,0 +1,29 @@
|
||||
#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
|
Reference in New Issue
Block a user