forked from qt-creator/qt-creator
Nicer content margins.
This commit is contained in:
@@ -139,6 +139,7 @@ BuildSettingsWidget::BuildSettingsWidget(Project *project)
|
|||||||
: m_project(project)
|
: m_project(project)
|
||||||
{
|
{
|
||||||
QVBoxLayout *vbox = new QVBoxLayout(this);
|
QVBoxLayout *vbox = new QVBoxLayout(this);
|
||||||
|
vbox->setContentsMargins(0, -1, 0, -1);
|
||||||
QHBoxLayout *hbox = new QHBoxLayout();
|
QHBoxLayout *hbox = new QHBoxLayout();
|
||||||
hbox->addWidget(new QLabel(tr("Build Configuration:"), this));
|
hbox->addWidget(new QLabel(tr("Build Configuration:"), this));
|
||||||
m_buildConfigurationComboBox = new QComboBox(this);
|
m_buildConfigurationComboBox = new QComboBox(this);
|
||||||
|
|||||||
@@ -163,6 +163,7 @@ DependenciesWidget::DependenciesWidget(SessionManager *session,
|
|||||||
, m_model(new DependenciesModel(session, project, this))
|
, m_model(new DependenciesModel(session, project, this))
|
||||||
{
|
{
|
||||||
QHBoxLayout *layout = new QHBoxLayout(this);
|
QHBoxLayout *layout = new QHBoxLayout(this);
|
||||||
|
layout->setContentsMargins(0, -1, 0, -1);
|
||||||
QTreeView *treeView = new QTreeView(this);
|
QTreeView *treeView = new QTreeView(this);
|
||||||
treeView->setModel(m_model);
|
treeView->setModel(m_model);
|
||||||
treeView->setHeaderHidden(true);
|
treeView->setHeaderHidden(true);
|
||||||
|
|||||||
@@ -2,18 +2,29 @@
|
|||||||
<ui version="4.0">
|
<ui version="4.0">
|
||||||
<class>ProjectExplorer::Internal::EditorSettingsPropertiesPage</class>
|
<class>ProjectExplorer::Internal::EditorSettingsPropertiesPage</class>
|
||||||
<widget class="QWidget" name="ProjectExplorer::Internal::EditorSettingsPropertiesPage">
|
<widget class="QWidget" name="ProjectExplorer::Internal::EditorSettingsPropertiesPage">
|
||||||
<layout class="QFormLayout" name="formLayout">
|
<property name="geometry">
|
||||||
<property name="fieldGrowthPolicy">
|
<rect>
|
||||||
<enum>QFormLayout::ExpandingFieldsGrow</enum>
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>275</width>
|
||||||
|
<height>44</height>
|
||||||
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<item row="0" column="0">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
<widget class="QLabel" name="encodingLabel">
|
<widget class="QLabel" name="encodingLabel">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Default File Encoding:</string>
|
<string>Default File Encoding:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="1">
|
<item>
|
||||||
<widget class="QComboBox" name="encodingComboBox"/>
|
<widget class="QComboBox" name="encodingComboBox"/>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
|||||||
@@ -434,6 +434,7 @@ EnvironmentWidget::EnvironmentWidget(QWidget *parent)
|
|||||||
m_summaryPage = new QWidget();
|
m_summaryPage = new QWidget();
|
||||||
addWidget(m_summaryPage);
|
addWidget(m_summaryPage);
|
||||||
QVBoxLayout *vbox = new QVBoxLayout(m_summaryPage);
|
QVBoxLayout *vbox = new QVBoxLayout(m_summaryPage);
|
||||||
|
vbox->setContentsMargins(0, -1, 0, -1);
|
||||||
m_summaryText = new QLabel(this);
|
m_summaryText = new QLabel(this);
|
||||||
|
|
||||||
m_summaryText->setText("");
|
m_summaryText->setText("");
|
||||||
|
|||||||
@@ -11,6 +11,14 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QFormLayout" name="formLayout">
|
<layout class="QFormLayout" name="formLayout">
|
||||||
<property name="fieldGrowthPolicy">
|
<property name="fieldGrowthPolicy">
|
||||||
@@ -91,6 +99,21 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="groupBox">
|
<widget class="QGroupBox" name="groupBox">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ Qt4BuildEnvironmentWidget::Qt4BuildEnvironmentWidget(Qt4Project *project)
|
|||||||
: BuildStepConfigWidget(), m_pro(project)
|
: BuildStepConfigWidget(), m_pro(project)
|
||||||
{
|
{
|
||||||
QVBoxLayout *vbox = new QVBoxLayout(this);
|
QVBoxLayout *vbox = new QVBoxLayout(this);
|
||||||
|
vbox->setMargin(0);
|
||||||
|
|
||||||
m_clearSystemEnvironmentCheckBox = new QCheckBox(this);
|
m_clearSystemEnvironmentCheckBox = new QCheckBox(this);
|
||||||
m_clearSystemEnvironmentCheckBox->setText("Clear system environment");
|
m_clearSystemEnvironmentCheckBox->setText("Clear system environment");
|
||||||
|
|||||||
Reference in New Issue
Block a user