"\nTo perform the test:"
"\n1. Run DALi Widget View."
"\n2. Widget added signal will call after successfully launch widget on screen"
- "\n3. Widget creation aborted signal will call if unable to launch widget"
- "\n4. Active button for re launch the widget if aborted signal are emit."
- "\n5. Pause/Resume button are perform widget pause/resume respectively."
- "\n6. Cancel button un-set the widget touch event."
- "\n7. If the corresponding event signals mgs "
+ "\n3. Widget creation aborted signal will call after perform click on activate button"
+ "\n4. Pause/Resume button are perform widget pause/resume respectively."
+ "\n5. Cancel button un-set the widget touch event."
+ "\n6. If the corresponding event signals mgs "
"are changed then press <color value='green'><b>Pass</b></color>. "
"Otherwise, press <color value='red'><b>Fail</b></color>";
}
//Add widget
- mWidgetView = mWidgetViewManager.AddWidget("org.tizen.calendar.widget", "", bodySize.width, 0.9*bodySize.width, 2000.0 );
+ //mWidgetView = mWidgetViewManager.AddWidget("org.tizen.calendar.widget", "", bodySize.width, 0.9*bodySize.width, 2000.0 );
+ mWidgetView = mWidgetViewManager.AddWidget("org.tizen.coretbtwidgetapp", "", bodySize.width, 0.9*bodySize.width/2, 2000.0 );
+
mWidgetView.SetParentOrigin( ParentOrigin::TOP_LEFT );
mWidgetView.SetAnchorPoint( AnchorPoint::TOP_LEFT );
mWidgetView.SetBackgroundColor( Vector4(0.0f, 0.0f, 0.0f, 0.0f) );
mWidgetView.WidgetAddedSignal().Connect( this, &TBTDaliWidgetView::OnWidgetAdded );
mWidgetView.WidgetDeletedSignal().Connect( this, &TBTDaliWidgetView::OnWidgetDeleted );
- mWidgetView.WidgetDeletedSignal().Connect( this, &TBTDaliWidgetView::onWidgetCreationAbortedSignal );
- mWidgetView.WidgetDeletedSignal().Connect( this, &TBTDaliWidgetView::onWidgetContentUpdatedSignal );
- mWidgetView.WidgetDeletedSignal().Connect( this, &TBTDaliWidgetView::onWidgetFaultedSignal );
+ //mWidgetView.WidgetCreationAbortedSignal().Connect( this, &TBTDaliWidgetView::onWidgetCreationAbortedSignal );
+ mWidgetView.WidgetContentUpdatedSignal().Connect( this, &TBTDaliWidgetView::onWidgetContentUpdatedSignal );
+ mWidgetView.WidgetFaultedSignal().Connect( this, &TBTDaliWidgetView::onWidgetFaultedSignal );
//this->ctlBody.Add(mWidgetView);
mTableView.AddChild(mWidgetView, TableView::CellPosition(4,0));
- mTableView.SetFixedHeight(4, 0.9*bodySize.width);
+ mTableView.SetFixedHeight(4, 0.9*bodySize.width/2);
+
+ mWidgetView_1 = mWidgetViewManager.AddWidget("org.tizen.no.widget", "", bodySize.width, 0.9*bodySize.width/2, 2000.0 );
+ mWidgetView_1.SetParentOrigin( ParentOrigin::TOP_LEFT );
+ mWidgetView_1.SetAnchorPoint( AnchorPoint::TOP_LEFT );
+ mWidgetView_1.SetBackgroundColor( Vector4(0.0f, 0.0f, 0.0f, 0.0f) );
+ mWidgetView_1.SetPosition( 0.0f, 0.0f );
+ mWidgetView_1.WidgetCreationAbortedSignal().Connect( this, &TBTDaliWidgetView::onWidgetCreationAbortedSignal );
+
+ mTableView.AddChild(mWidgetView_1, TableView::CellPosition(5,0));
+ mTableView.SetFixedHeight(5, 0.9*bodySize.width/2);
//
Vector2 buttonSize=Vector2(bodySize.width/4, BUTTON_HEIGHT*bodySize.height);
else if(btnActivate==button)
{
DBG("btnActivate click");
- mWidgetView.ActivateFaultedWidget();
+ mWidgetView_1.ActivateFaultedWidget();
}
return true;
void TBTDaliWidgetView::OnWidgetAdded( WidgetView::WidgetView widgetView )
{
DBG("TBTDaliWidgetView::OnWidgetAdded");
- this->lblWidgetAdded.SetProperty( TextLabel::Property::TEXT, " Widget Added Signal called" );
+ this->lblWidgetAdded.SetProperty( TextLabel::Property::TEXT, " Widget Added Signal called" );
this->lblWidgetAdded.SetProperty( TextLabel::Property::TEXT_COLOR, Color::GREEN);
}