videoplayback/hbvideoplaybackview/tsrc/testmpxvideoplaybacktoolbar/src/testmpxvideoplaybacktoolbar.cpp
equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: tester for methods in TestMPXVideoPlaybackToolBar |
14 * Description: tester for methods in TestMPXVideoPlaybackToolBar |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 2 % |
18 // Version : %version: 3 % |
19 |
19 |
20 |
20 |
21 #include <qdebug> |
21 #include <qdebug> |
22 #include <hbmainwindow.h> |
22 #include <hbmainwindow.h> |
23 #include <hbapplication.h> |
23 #include <hbapplication.h> |
416 // |
416 // |
417 details->mVideoEnabled = true; |
417 details->mVideoEnabled = true; |
418 details->mVideoHeight = 1; |
418 details->mVideoHeight = 1; |
419 details->mVideoWidth = 1; |
419 details->mVideoWidth = 1; |
420 details->mTvOutConnected = false; |
420 details->mTvOutConnected = false; |
421 details->mTvOutPlayAllowed = true; |
|
422 details->mSeekable = true; |
421 details->mSeekable = true; |
423 details->mPausableStream = true; |
422 details->mPausableStream = true; |
424 mController->mViewMode = EFullScreenView; |
423 mController->mViewMode = EFullScreenView; |
425 |
424 |
426 mVideoToolBar->updateWithFileDetails( details ); |
425 mVideoToolBar->updateWithFileDetails( details ); |
453 // |
452 // |
454 details->mVideoEnabled = false; |
453 details->mVideoEnabled = false; |
455 details->mVideoHeight = 0; |
454 details->mVideoHeight = 0; |
456 details->mVideoWidth = 1; |
455 details->mVideoWidth = 1; |
457 details->mTvOutConnected = true; |
456 details->mTvOutConnected = true; |
458 details->mTvOutPlayAllowed = true; |
|
459 details->mSeekable = false; |
457 details->mSeekable = false; |
460 details->mPausableStream = false; |
458 details->mPausableStream = false; |
461 |
459 |
462 mVideoToolBar->updateWithFileDetails( details ); |
460 mVideoToolBar->updateWithFileDetails( details ); |
463 |
461 |
472 // |
470 // |
473 details->mVideoEnabled = false; |
471 details->mVideoEnabled = false; |
474 details->mVideoHeight = 0; |
472 details->mVideoHeight = 0; |
475 details->mVideoWidth = 1; |
473 details->mVideoWidth = 1; |
476 details->mTvOutConnected = true; |
474 details->mTvOutConnected = true; |
477 details->mTvOutPlayAllowed = true; |
|
478 details->mSeekable = false; |
475 details->mSeekable = false; |
479 details->mPausableStream = false; |
476 details->mPausableStream = false; |
480 mController->mViewMode = EAudioOnlyView; |
477 mController->mViewMode = EAudioOnlyView; |
481 |
478 |
482 mVideoToolBar->updateWithFileDetails( details ); |
479 mVideoToolBar->updateWithFileDetails( details ); |
514 // |
511 // |
515 details->mVideoEnabled = true; |
512 details->mVideoEnabled = true; |
516 details->mVideoHeight = 1; |
513 details->mVideoHeight = 1; |
517 details->mVideoWidth = 1; |
514 details->mVideoWidth = 1; |
518 details->mTvOutConnected = false; |
515 details->mTvOutConnected = false; |
519 details->mTvOutPlayAllowed = true; |
|
520 details->mSeekable = true; |
516 details->mSeekable = true; |
521 details->mPausableStream = true; |
517 details->mPausableStream = true; |
522 |
518 |
523 mVideoToolBar->updateWithFileDetails( details ); |
519 mVideoToolBar->updateWithFileDetails( details ); |
524 |
520 |