Git: inline branchcheckoutdialog.ui

Change-Id: I105f63dd7ae0110ecb0afbd13ff70027fb9431b1
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
hjk
2022-08-05 11:51:35 +02:00
parent e572bdd90c
commit 4cf40b2456
5 changed files with 71 additions and 161 deletions

View File

@@ -27,11 +27,15 @@
#include <QDialog>
QT_BEGIN_NAMESPACE
class QCheckBox;
class QGroupBox;
class QRadioButton;
QT_END_NAMESPACE
namespace Git {
namespace Internal {
namespace Ui { class BranchCheckoutDialog; }
class BranchCheckoutDialog : public QDialog
{
Q_OBJECT
@@ -55,9 +59,14 @@ public:
private:
void updatePopStashCheckBox(bool moveChangesChecked);
Ui::BranchCheckoutDialog *m_ui;
bool m_foundStashForNextBranch = false;
bool m_hasLocalChanges = true;
QGroupBox *m_localChangesGroupBox;
QRadioButton *m_makeStashRadioButton;
QRadioButton *m_moveChangesRadioButton;
QRadioButton *m_discardChangesRadioButton;
QCheckBox *m_popStashCheckBox;
};
} // namespace Internal