diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-06-16 13:52:36 (GMT) |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-06-16 13:52:36 (GMT) |
commit | 2543decb7ead117fcbea2ef0618ccaedf0f1b2f4 (patch) | |
tree | fc2aa2525f0e3c915ea6a369b3b9a9e67fe564ee /tests/auto/uic/baseline/previewwidgetbase.ui.h | |
parent | 237a3e690f290fd8ef8ef2a51459caa7fdc7bef1 (diff) | |
download | Qt-2543decb7ead117fcbea2ef0618ccaedf0f1b2f4.zip Qt-2543decb7ead117fcbea2ef0618ccaedf0f1b2f4.tar.gz Qt-2543decb7ead117fcbea2ef0618ccaedf0f1b2f4.tar.bz2 |
Made uic generate QLayout::setContentsMargin instead of setMargin.
With the exception of layout functions, which is too weird.
Task-number: 255846
Diffstat (limited to 'tests/auto/uic/baseline/previewwidgetbase.ui.h')
-rw-r--r-- | tests/auto/uic/baseline/previewwidgetbase.ui.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/auto/uic/baseline/previewwidgetbase.ui.h b/tests/auto/uic/baseline/previewwidgetbase.ui.h index f69a785..82899b7 100644 --- a/tests/auto/uic/baseline/previewwidgetbase.ui.h +++ b/tests/auto/uic/baseline/previewwidgetbase.ui.h @@ -117,7 +117,7 @@ public: #ifndef Q_OS_MAC vboxLayout->setSpacing(6); #endif - vboxLayout->setMargin(11); + vboxLayout->setContentsMargins(11, 11, 11, 11); vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); vboxLayout->setObjectName(QString::fromUtf8("unnamed")); hboxLayout = new QHBoxLayout(); @@ -125,7 +125,7 @@ public: hboxLayout->setSpacing(6); #endif #ifndef Q_OS_MAC - hboxLayout->setMargin(0); + hboxLayout->setContentsMargins(0, 0, 0, 0); #endif hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); hboxLayout->setObjectName(QString::fromUtf8("unnamed")); @@ -134,7 +134,7 @@ public: vboxLayout1->setSpacing(6); #endif #ifndef Q_OS_MAC - vboxLayout1->setMargin(0); + vboxLayout1->setContentsMargins(0, 0, 0, 0); #endif vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); vboxLayout1->setObjectName(QString::fromUtf8("unnamed")); @@ -144,7 +144,7 @@ public: #ifndef Q_OS_MAC ButtonGroup1->layout()->setSpacing(6); #endif - ButtonGroup1->layout()->setMargin(11); + ButtonGroup1->layout()->setContentsMargins(11, 11, 11, 11); vboxLayout2 = new QVBoxLayout(); QBoxLayout *boxlayout = qobject_cast<QBoxLayout *>(ButtonGroup1->layout()); if (boxlayout) @@ -177,7 +177,7 @@ public: #ifndef Q_OS_MAC ButtonGroup2->layout()->setSpacing(6); #endif - ButtonGroup2->layout()->setMargin(11); + ButtonGroup2->layout()->setContentsMargins(11, 11, 11, 11); vboxLayout3 = new QVBoxLayout(); QBoxLayout *boxlayout1 = qobject_cast<QBoxLayout *>(ButtonGroup2->layout()); if (boxlayout1) @@ -212,7 +212,7 @@ public: #ifndef Q_OS_MAC vboxLayout4->setSpacing(6); #endif - vboxLayout4->setMargin(0); + vboxLayout4->setContentsMargins(0, 0, 0, 0); vboxLayout4->setObjectName(QString::fromUtf8("vboxLayout4")); vboxLayout4->setObjectName(QString::fromUtf8("unnamed")); LineEdit1 = new QLineEdit(PreviewWidgetBase); @@ -229,7 +229,7 @@ public: #ifndef Q_OS_MAC hboxLayout1->setSpacing(6); #endif - hboxLayout1->setMargin(0); + hboxLayout1->setContentsMargins(0, 0, 0, 0); hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); hboxLayout1->setObjectName(QString::fromUtf8("unnamed")); SpinBox1 = new QSpinBox(PreviewWidgetBase); |