ui: Revised project setup
* changed help texts * use help buttons instead of descriptions in dialogs * fixed show files button not up-to-date with directory list box * fixed source file extensions shown in cdb setup * refactored size and content setting for project content classes
This commit is contained in:
@@ -11,28 +11,7 @@ QtProjectWizzardContentExtensions::QtProjectWizzardContentExtensions(
|
||||
{
|
||||
}
|
||||
|
||||
void QtProjectWizzardContentExtensions::populateWindow(QGridLayout* layout, int& row)
|
||||
{
|
||||
layout->setRowMinimumHeight(row++, 20);
|
||||
|
||||
QLabel* title = new QLabel("Source File Extensions");
|
||||
title->setWordWrap(true);
|
||||
title->setObjectName("section");
|
||||
layout->addWidget(title, row, QtProjectWizzardWindow::FRONT_COL, Qt::AlignTop);
|
||||
layout->setRowStretch(row, 0);
|
||||
|
||||
QLabel* text = new QLabel("Define extensions for source files including the dot e.g. .cpp");
|
||||
text->setWordWrap(true);
|
||||
text->setOpenExternalLinks(true);
|
||||
layout->addWidget(text, row + 1, QtProjectWizzardWindow::FRONT_COL, Qt::AlignTop);
|
||||
layout->setRowStretch(row + 1, 1);
|
||||
|
||||
m_sourceList = new QtDirectoryListBox(this, title->text());
|
||||
layout->addWidget(m_sourceList, row, QtProjectWizzardWindow::BACK_COL, 2, 1, Qt::AlignTop);
|
||||
row += 2;
|
||||
}
|
||||
|
||||
void QtProjectWizzardContentExtensions::populateForm(QGridLayout* layout, int& row)
|
||||
void QtProjectWizzardContentExtensions::populate(QGridLayout* layout, int& row)
|
||||
{
|
||||
QLabel* sourceLabel = createFormLabel("Source File Extensions");
|
||||
sourceLabel->setObjectName("label");
|
||||
|
||||
Reference in New Issue
Block a user