summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/projectwindow.cpp
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2010-02-19 14:16:37 +0100
committercon <qtc-committer@nokia.com>2010-02-23 17:00:50 +0100
commitcab971ae6148dfe4b5d731f51af00fc45062a92d (patch)
treee6b2f2a8ba46a71ce34515aa34642eae59a230fa /src/plugins/projectexplorer/projectwindow.cpp
parent4ae45cf22eaaf71d763d0702d04c19b3aa8cc221 (diff)
downloadqt-creator-cab971ae6148dfe4b5d731f51af00fc45062a92d.tar.gz
Project settings icons.
Diffstat (limited to 'src/plugins/projectexplorer/projectwindow.cpp')
-rw-r--r--src/plugins/projectexplorer/projectwindow.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/projectwindow.cpp b/src/plugins/projectexplorer/projectwindow.cpp
index d930acd531..4fcf486eef 100644
--- a/src/plugins/projectexplorer/projectwindow.cpp
+++ b/src/plugins/projectexplorer/projectwindow.cpp
@@ -169,7 +169,7 @@ void PanelsWidget::addPropertiesPanel(IPropertiesPanel *panel)
QLabel *iconLabel = new QLabel(m_root);
iconLabel->setPixmap(panel->icon().pixmap(ICON_SIZE, ICON_SIZE));
iconLabel->setContentsMargins(0, ABOVE_HEADING_MARGIN, 0, 0);
- m_layout->addWidget(iconLabel, headerRow, 0, 2, 1, Qt::AlignTop | Qt::AlignHCenter);
+ m_layout->addWidget(iconLabel, headerRow, 0, 3, 1, Qt::AlignTop | Qt::AlignHCenter);
}
// name:
@@ -178,13 +178,14 @@ void PanelsWidget::addPropertiesPanel(IPropertiesPanel *panel)
nameLabel->setContentsMargins(0, ABOVE_HEADING_MARGIN, 0, 0);
QFont f = nameLabel->font();
f.setBold(true);
- f.setPointSizeF(f.pointSizeF() * 1.4);
+ f.setPointSizeF(f.pointSizeF() * 1.6);
nameLabel->setFont(f);
- m_layout->addWidget(nameLabel, headerRow, 1, 1, 1, Qt::AlignBottom | Qt::AlignLeft);
+ m_layout->addWidget(nameLabel, headerRow, 1, 1, 1, Qt::AlignVCenter | Qt::AlignLeft);
// line:
const int lineRow(headerRow + 1);
- m_layout->addWidget(new OnePixelBlackLine(m_root), lineRow, 1);
+ QWidget *line = new OnePixelBlackLine(m_root);
+ m_layout->addWidget(line, lineRow, 1, 1, -1, Qt::AlignTop);
// add the widget:
const int widgetRow(lineRow + 1);