equal
deleted
inserted
replaced
55 constructSubTypeModel( detail.contexts() ); |
55 constructSubTypeModel( detail.contexts() ); |
56 |
56 |
57 mItem->editor()->setText( detail.url() ); |
57 mItem->editor()->setText( detail.url() ); |
58 connect( mItem->comboBox(), SIGNAL(currentIndexChanged(int)), this, SLOT(indexChanged(int)) ); |
58 connect( mItem->comboBox(), SIGNAL(currentIndexChanged(int)), this, SLOT(indexChanged(int)) ); |
59 connect( mItem->editor(), SIGNAL(textChanged(QString)),this, SLOT(textChanged(QString)) ); |
59 connect( mItem->editor(), SIGNAL(textChanged(QString)),this, SLOT(textChanged(QString)) ); |
60 |
60 |
|
61 // Naming UI components for automation testability |
|
62 QString editorObjName = detail.definitionName() + " line edit %1"; |
|
63 mItem->editor()->setObjectName(editorObjName.arg(modelIndex().row())); |
|
64 |
|
65 QString comboBoxObjName = detail.definitionName() + " combo box %1"; |
|
66 mItem->comboBox()->setObjectName(comboBoxObjName.arg(modelIndex().row())); |
61 return mItem; |
67 return mItem; |
62 } |
68 } |
63 |
69 |
64 void CntUrlEditorViewItem::indexChanged( int aIndex ) |
70 void CntUrlEditorViewItem::indexChanged( int aIndex ) |
65 { |
71 { |