/****************************************************************************
** DialogAnimation class
**
** Created: Mon Jun 10 22:48:00 2005
**      by: Varol Okan using Kate
**
**
****************************************************************************/

#include <qmessagebox.h>
#include <qlineedit.h>
//#include <qcombobox.h>
//#include <qspinbox.h>
//#include <qslider.h>

#include "sourcefileentry.h"
#include "dialogmovie.h"
#include "dialogmediainfo.h"

DialogMediaInfo::DialogMediaInfo (QWidget *pParent, const char *pName, WFlags f )
	: uiDialogMediaInfo (pParent, pName, f)
{
}

DialogMediaInfo::~DialogMediaInfo ()
{
}

void DialogMediaInfo::initMe  ( SourceFileInfo *pSourceFileInfo )
{
  m_pEditVideoAspect->setText ( pSourceFileInfo->qsRatio       );
  m_pEditVideoFPS->setText    ( pSourceFileInfo->qsFPS         );
  m_pEditVideoLength->setText ( pSourceFileInfo->qsLength      );
  m_pEditVideoFormat->setText ( pSourceFileInfo->qsVideoFormat );
  m_pEditAudioBits->setText   ( pSourceFileInfo->qsBits        );
  m_pEditAudioBPS->setText    ( pSourceFileInfo->qsBPS         );
  m_pEditAudioSample->setText ( pSourceFileInfo->qsSample      );
}

