Skip to content

Commit 133af64

Browse files
committed
[composer] Remove uuid from item properties ui (fix #9497)
1 parent a9ac0d7 commit 133af64

File tree

2 files changed

+3
-20
lines changed

2 files changed

+3
-20
lines changed

src/app/composer/qgscomposeritemwidget.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ void QgsComposerItemWidget::setValuesForGuiElements()
335335
mFrameGroupBox->blockSignals( true );
336336
mBackgroundGroupBox->blockSignals( true );
337337
mItemIdLineEdit->blockSignals( true );
338-
mItemUuidLineEdit->blockSignals( true );
339338
mBlendModeCombo->blockSignals( true );
340339
mTransparencySlider->blockSignals( true );
341340
mTransparencySpnBx->blockSignals( true );
@@ -351,7 +350,6 @@ void QgsComposerItemWidget::setValuesForGuiElements()
351350
mFrameColorButton->setColorDialogOptions( QColorDialog::ShowAlphaChannel );
352351
mOutlineWidthSpinBox->setValue( mItem->pen().widthF() );
353352
mItemIdLineEdit->setText( mItem->id() );
354-
mItemUuidLineEdit->setText( mItem->uuid() );
355353
mFrameGroupBox->setChecked( mItem->hasFrame() );
356354
mBackgroundGroupBox->setChecked( mItem->hasBackground() );
357355
mBlendModeCombo->setBlendMode( mItem->blendMode() );
@@ -365,7 +363,6 @@ void QgsComposerItemWidget::setValuesForGuiElements()
365363
mFrameGroupBox->blockSignals( false );
366364
mBackgroundGroupBox->blockSignals( false );
367365
mItemIdLineEdit->blockSignals( false );
368-
mItemUuidLineEdit->blockSignals( false );
369366
mBlendModeCombo->blockSignals( false );
370367
mTransparencySlider->blockSignals( false );
371368
mTransparencySpnBx->blockSignals( false );

src/ui/qgscomposeritemwidgetbase.ui

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -342,30 +342,16 @@
342342
<property name="labelAlignment">
343343
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
344344
</property>
345-
<item row="1" column="0">
346-
<widget class="QLabel" name="mItemUuidLabel">
347-
<property name="text">
348-
<string>Uuid (read-only)</string>
349-
</property>
350-
</widget>
351-
</item>
352-
<item row="1" column="1">
353-
<widget class="QLineEdit" name="mItemUuidLineEdit">
354-
<property name="readOnly">
355-
<bool>true</bool>
356-
</property>
357-
</widget>
358-
</item>
359-
<item row="0" column="1">
360-
<widget class="QLineEdit" name="mItemIdLineEdit"/>
361-
</item>
362345
<item row="0" column="0">
363346
<widget class="QLabel" name="mItemIdLabel">
364347
<property name="text">
365348
<string>Id</string>
366349
</property>
367350
</widget>
368351
</item>
352+
<item row="0" column="1">
353+
<widget class="QLineEdit" name="mItemIdLineEdit"/>
354+
</item>
369355
</layout>
370356
</widget>
371357
</item>

0 commit comments

Comments
 (0)