forked from qt-creator/qt-creator
Change-Id: I5b72560b283584075b30e4bb313a5c143f5c2548 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
33 lines
848 B
C++
33 lines
848 B
C++
// Copyright (C) 2016 Hugues Delorme
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
|
|
|
#pragma once
|
|
|
|
#include <vcsbase/submiteditorwidget.h>
|
|
|
|
namespace Bazaar::Internal {
|
|
|
|
class BranchInfo;
|
|
class BazaarCommitPanel;
|
|
|
|
/*submit editor widget based on git SubmitEditor
|
|
Some extra fields have been added to the standard SubmitEditorWidget,
|
|
to help to conform to the commit style that is used by both git and Bazaar*/
|
|
|
|
class BazaarCommitWidget : public VcsBase::SubmitEditorWidget
|
|
{
|
|
public:
|
|
BazaarCommitWidget();
|
|
|
|
void setFields(const BranchInfo &branch, const QString &userName, const QString &email);
|
|
|
|
QString committer() const;
|
|
QStringList fixedBugs() const;
|
|
bool isLocalOptionEnabled() const;
|
|
|
|
private:
|
|
BazaarCommitPanel *m_bazaarCommitPanel;
|
|
};
|
|
|
|
} // Bazaar::Insteral
|