Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[composer] Remove uuid from item properties ui (fix #9497)
  • Loading branch information
nyalldawson committed Feb 9, 2014
1 parent a9ac0d7 commit 133af64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 20 deletions.
3 changes: 0 additions & 3 deletions src/app/composer/qgscomposeritemwidget.cpp
Expand Up @@ -335,7 +335,6 @@ void QgsComposerItemWidget::setValuesForGuiElements()
mFrameGroupBox->blockSignals( true );
mBackgroundGroupBox->blockSignals( true );
mItemIdLineEdit->blockSignals( true );
mItemUuidLineEdit->blockSignals( true );
mBlendModeCombo->blockSignals( true );
mTransparencySlider->blockSignals( true );
mTransparencySpnBx->blockSignals( true );
Expand All @@ -351,7 +350,6 @@ void QgsComposerItemWidget::setValuesForGuiElements()
mFrameColorButton->setColorDialogOptions( QColorDialog::ShowAlphaChannel );
mOutlineWidthSpinBox->setValue( mItem->pen().widthF() );
mItemIdLineEdit->setText( mItem->id() );
mItemUuidLineEdit->setText( mItem->uuid() );
mFrameGroupBox->setChecked( mItem->hasFrame() );
mBackgroundGroupBox->setChecked( mItem->hasBackground() );
mBlendModeCombo->setBlendMode( mItem->blendMode() );
Expand All @@ -365,7 +363,6 @@ void QgsComposerItemWidget::setValuesForGuiElements()
mFrameGroupBox->blockSignals( false );
mBackgroundGroupBox->blockSignals( false );
mItemIdLineEdit->blockSignals( false );
mItemUuidLineEdit->blockSignals( false );
mBlendModeCombo->blockSignals( false );
mTransparencySlider->blockSignals( false );
mTransparencySpnBx->blockSignals( false );
Expand Down
20 changes: 3 additions & 17 deletions src/ui/qgscomposeritemwidgetbase.ui
Expand Up @@ -342,30 +342,16 @@
<property name="labelAlignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<item row="1" column="0">
<widget class="QLabel" name="mItemUuidLabel">
<property name="text">
<string>Uuid (read-only)</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="mItemUuidLineEdit">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="mItemIdLineEdit"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="mItemIdLabel">
<property name="text">
<string>Id</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="mItemIdLineEdit"/>
</item>
</layout>
</widget>
</item>
Expand Down

0 comments on commit 133af64

Please sign in to comment.