forked from qt-creator/qt-creator
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user