Skip to content
Permalink
Browse files
[composer] Remove uuid from item properties ui (fix #9497)
  • Loading branch information
nyalldawson committed Feb 9, 2014
1 parent a9ac0d7 commit 133af645fe1017371424254c8ea80ba2b2660071
Showing with 3 additions and 20 deletions.
  1. +0 −3 src/app/composer/qgscomposeritemwidget.cpp
  2. +3 −17 src/ui/qgscomposeritemwidgetbase.ui
@@ -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 );
@@ -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() );
@@ -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 );
@@ -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>

0 comments on commit 133af64

Please sign in to comment.