Bazaar: Inline pullorpushdialog.ui

Change-Id: Id7c90ac081dd63922c6289e5bc5233c588d982d6
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2022-09-06 13:02:22 +02:00
parent fc61bd0f85
commit 702617dbba
5 changed files with 129 additions and 340 deletions

View File

@@ -5,10 +5,15 @@
#include <QDialog>
namespace Bazaar {
namespace Internal {
#include <utils/pathchooser.h>
namespace Ui { class PullOrPushDialog; }
QT_BEGIN_NAMESPACE
class QCheckBox;
class QLineEdit;
class QRadioButton;
QT_END_NAMESPACE
namespace Bazaar::Internal {
class PullOrPushDialog : public QDialog
{
@@ -36,13 +41,19 @@ public:
bool isUseExistingDirectoryOptionEnabled() const;
bool isCreatePrefixOptionEnabled() const;
protected:
void changeEvent(QEvent *e) override;
private:
Mode m_mode;
Ui::PullOrPushDialog *m_ui;
QRadioButton *m_defaultButton;
QRadioButton *m_localButton;
Utils::PathChooser *m_localPathChooser;
QLineEdit *m_urlLineEdit;
QCheckBox *m_rememberCheckBox;
QCheckBox *m_overwriteCheckBox;
QCheckBox *m_useExistingDirCheckBox;
QCheckBox *m_createPrefixCheckBox;
QLineEdit *m_revisionLineEdit;
QCheckBox *m_localCheckBox;
};
} // namespace Internal
} // namespace Bazaar
} // Bazaar::Internal