Git: Rework branch dialog

* Make adding new branches more discoverable
 * Make adding tracking branches more discoverable
 * Update UI

Task-number: QTCREATORBUG-4943
Task-number: QTCREATORBUG-4944
Change-Id: Idcbf5f8321a3bd04c925e33d094bb479788a7d9b
Reviewed-on: http://codereview.qt.nokia.com/588
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Tobias Hunger
2011-05-30 12:14:49 +00:00
parent 9197596000
commit 5f6a91e009
9 changed files with 908 additions and 585 deletions

View File

@@ -0,0 +1,36 @@
#ifndef BRANCHADDDIALOG_H
#define BRANCHADDDIALOG_H
#include <QDialog>
namespace Git {
namespace Internal {
namespace Ui {
class BranchAddDialog;
}
class BranchAddDialog : public QDialog
{
Q_OBJECT
public:
explicit BranchAddDialog(QWidget *parent = 0);
~BranchAddDialog();
void setBranchName(const QString &);
QString branchName() const;
void setTrackedBranchName(const QString &name, bool remote);
bool track();
private:
Ui::BranchAddDialog *m_ui;
};
} // namespace Internal
} // namespace Git
#endif // BRANCHADDDIALOG_H