forked from qt-creator/qt-creator
Replace QWizard with Utils::Wizard
This commit is contained in:
@@ -55,6 +55,7 @@ CloneWizardPage::CloneWizardPage(QWidget *parent) :
|
||||
VCSBase::BaseCheckoutWizardPage(parent),
|
||||
d(new CloneWizardPagePrivate)
|
||||
{
|
||||
setTitle(tr("Location"));
|
||||
setSubTitle(tr("Specify repository URL, checkout directory and path."));
|
||||
setRepositoryLabel(tr("Clone URL:"));
|
||||
}
|
||||
|
||||
@@ -73,6 +73,7 @@ GitoriousHostWizardPage::GitoriousHostWizardPage(QWidget *parent) :
|
||||
QVBoxLayout *lt = new QVBoxLayout;
|
||||
lt->addWidget(m_widget);
|
||||
setLayout(lt);
|
||||
setTitle(tr("Host"));
|
||||
setSubTitle(tr("Select a host."));
|
||||
}
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@ GitoriousProjectWizardPage::GitoriousProjectWizardPage(const GitoriousHostWizard
|
||||
QVBoxLayout *lt = new QVBoxLayout;
|
||||
lt->addWidget(m_stackedWidget);
|
||||
setLayout(lt);
|
||||
setTitle(tr("Project"));
|
||||
}
|
||||
|
||||
static inline QString msgChooseProject(const QString &h)
|
||||
|
||||
@@ -97,6 +97,8 @@ GitoriousRepositoryWizardPage::GitoriousRepositoryWizardPage(const GitoriousProj
|
||||
ui->repositoryTreeView->setSelectionMode(QAbstractItemView::SingleSelection);
|
||||
connect(ui->repositoryTreeView->selectionModel(), SIGNAL(currentChanged(QModelIndex,QModelIndex)),
|
||||
this, SLOT(slotCurrentChanged(QModelIndex,QModelIndex)));
|
||||
|
||||
setTitle(tr("Repository"));
|
||||
}
|
||||
|
||||
GitoriousRepositoryWizardPage::~GitoriousRepositoryWizardPage()
|
||||
|
||||
Reference in New Issue
Block a user