settingspropertypages: style

Change-Id: I2430de067715374ae7e31fefacf3e7970db89754
Reviewed-on: http://codereview.qt-project.org/5735
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
hjk
2011-09-28 15:47:34 +02:00
committed by hjk
parent 5cfc7bd582
commit 58f59e133f
3 changed files with 6 additions and 8 deletions

View File

@@ -114,13 +114,11 @@ void BuildSettingsWidget::setupUi()
vbox->setContentsMargins(0, 0, 0, 0); vbox->setContentsMargins(0, 0, 0, 0);
if (!m_target->buildConfigurationFactory()) { if (!m_target->buildConfigurationFactory()) {
QLabel * noSettingsLabel(new QLabel(this)); QLabel *noSettingsLabel = new QLabel(this);
noSettingsLabel->setText(tr("No build settings available")); noSettingsLabel->setText(tr("No build settings available"));
{ QFont f = noSettingsLabel->font();
QFont f(noSettingsLabel->font()); f.setPointSizeF(f.pointSizeF() * 1.2);
f.setPointSizeF(f.pointSizeF() * 1.2); noSettingsLabel->setFont(f);
noSettingsLabel->setFont(f);
}
vbox->addWidget(noSettingsLabel); vbox->addWidget(noSettingsLabel);
return; return;
} }

View File

@@ -53,7 +53,7 @@ class IBuildStepFactory;
namespace Internal { namespace Internal {
const char * const BUILDSETTINGS_PANEL_ID("ProjectExplorer.BuildSettingsPanel"); const char BUILDSETTINGS_PANEL_ID[] = "ProjectExplorer.BuildSettingsPanel";
class BuildSettingsPanelFactory : public ITargetPanelFactory class BuildSettingsPanelFactory : public ITargetPanelFactory
{ {

View File

@@ -55,7 +55,7 @@ class RunConfigWidget;
namespace Internal { namespace Internal {
const char * const RUNSETTINGS_PANEL_ID = "ProjectExplorer.RunSettingsPanel"; const char RUNSETTINGS_PANEL_ID[] = "ProjectExplorer.RunSettingsPanel";
namespace Ui { namespace Ui {
class RunSettingsPropertiesPage; class RunSettingsPropertiesPage;