Bazaar: Inline bazaarcommitpanel.ui

Change-Id: I5b72560b283584075b30e4bb313a5c143f5c2548
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2022-09-23 13:52:03 +02:00
parent 805e536df6
commit 6da227925a
5 changed files with 68 additions and 139 deletions

View File

@@ -3,14 +3,12 @@
#pragma once
#include "ui_bazaarcommitpanel.h"
#include <vcsbase/submiteditorwidget.h>
namespace Bazaar {
namespace Internal {
namespace Bazaar::Internal {
class BranchInfo;
class BazaarCommitPanel;
/*submit editor widget based on git SubmitEditor
Some extra fields have been added to the standard SubmitEditorWidget,
@@ -21,17 +19,14 @@ class BazaarCommitWidget : public VcsBase::SubmitEditorWidget
public:
BazaarCommitWidget();
void setFields(const BranchInfo &branch,
const QString &userName, const QString &email);
void setFields(const BranchInfo &branch, const QString &userName, const QString &email);
QString committer() const;
QStringList fixedBugs() const;
bool isLocalOptionEnabled() const;
private:
QWidget *m_bazaarCommitPanel;
Ui::BazaarCommitPanel m_bazaarCommitPanelUi;
BazaarCommitPanel *m_bazaarCommitPanel;
};
} // namespace Internal
} // namespace Bazaar
} // Bazaar::Insteral