<translation>Tool jpeg2yuv, necessary for AVI recording, is not available.
Please, refer to the documentation.</translation>
</message>
+ <message>
+ <source>MSG_NO_SUPPORTED_IMAGE_FORMATS</source>
+ <translation>There are no formats available for images output.
+Please, refer to the QT documentation.</translation>
+ </message>
+ <message>
+ <source>MSG_INVALID_IMAGE_FORMAT_INDEX</source>
+ <translation>Selected image format is out of supported scope.
+ </message>
</context>
<context>
<name>VisuGUI_TransparencyDlg</name>
VisuGUI_FindPane::VisuGUI_FindPane( QWidget* theParent ) :
QGroupBox( theParent ),
myCurrentPage( 0 ),
+ mySelectionMode( -1 ),
myActor( 0 )
{
setTitle( tr( "FIND_TITLE" ) );
void VisuGUI_TimeAnimationDlg::onPicsFormatChanged()
{
QList<QByteArray> aDumpFormats = QImageWriter::supportedImageFormats();
+ if (aDumpFormats.count() < 1) {
+ SUIT_MessageBox::warning(this, tr("ERROR"), tr("MSG_NO_SUPPORTED_IMAGE_FORMATS"), tr("&OK"));
+ return;
+ }
+ if (myPicsFormat->currentIndex() < 0 || aDumpFormats.count() <= myPicsFormat->currentIndex()) {
+ SUIT_MessageBox::warning(this, tr("ERROR"), tr("MSG_INVALID_IMAGE_FORMAT_INDEX"), tr("&OK"));
+ return;
+ }
myAnimator->setDumpFormat(aDumpFormats.at(myPicsFormat->currentIndex()));
}