Git: Revive ChangeSelectionDialog UI file

Much easier to maintain, real logic is more readable

Change-Id: I7c5f7854ea9ee67a3e1eb7a328702fc19852fdb5
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
This commit is contained in:
Orgad Shaneh
2013-09-30 20:16:33 +03:00
committed by Orgad Shaneh
parent 24227514e6
commit 13a0b348be
5 changed files with 192 additions and 94 deletions

View File

@@ -54,6 +54,8 @@ enum ChangeCommand {
Show
};
namespace Ui { class ChangeSelectionDialog; }
class ChangeSelectionDialog : public QDialog
{
Q_OBJECT
@@ -79,21 +81,11 @@ private slots:
private:
void enableButtons(bool b);
Ui::ChangeSelectionDialog *m_ui;
QProcess *m_process;
QString m_gitBinaryPath;
QProcessEnvironment m_gitEnvironment;
QLineEdit *m_workingDirEdit;
QLineEdit *m_changeNumberEdit;
QPushButton *m_selectDirButton;
QPushButton *m_selectFromHistoryButton;
QPushButton *m_showButton;
QPushButton *m_cherryPickButton;
QPushButton *m_revertButton;
QPushButton *m_checkoutButton;
QPushButton *m_closeButton;
QPlainTextEdit *m_detailsText;
ChangeCommand m_command;
};