Add "Open Project" to welcome page

By popular request I added a "open project" option.
We don't currently have a way of differentiating project types
from other files so I had to hardcode .pro and .qmlproject
for now.

Themed icons was also added to the new and open buttons.

Reviewed-by: danimo
Task-number: QTCREATORBUG-1142
This commit is contained in:
Jens Bache-Wiig
2010-04-29 14:52:57 +02:00
parent f1dde74cc3
commit aa63a8d0c6
5 changed files with 56 additions and 15 deletions

View File

@@ -87,6 +87,9 @@ GettingStartedWelcomePageWidget::GettingStartedWelcomePageWidget(QWidget *parent
connect(ui->nextTipBtn, SIGNAL(clicked()), this, SLOT(slotNextTip()));
connect(ui->prevTipBtn, SIGNAL(clicked()), this, SLOT(slotPrevTip()));
connect(ui->createNewProjectButton, SIGNAL(clicked()), this, SLOT(slotCreateNewProject()));
ui->createNewProjectButton->setIcon(
QIcon::fromTheme("document-new", ui->createNewProjectButton->icon()));
}
GettingStartedWelcomePageWidget::~GettingStartedWelcomePageWidget()