Bug fix in ProgramOptions parse and graphical changes in options dialog in GUI app

This commit is contained in:
jfmcarreira committed 2015-03-26 01:05:47 +00:00
1 parent 24158961ae
commit 76b9dcf449
3 files changed
+5 -2

No files matched your search

+4
View File
@@ -48,6 +48,7 @@ public:
QHBoxLayout* layout = new QHBoxLayout( this );
layout->addWidget( m_pcDescription, Qt::AlignLeft );
layout->addWidget( m_pcValue, Qt::AlignRight );
layout->setContentsMargins( 1, 1, 1, 1 );
}
const QString getValue() const
{
@@ -90,6 +91,8 @@ ModulesHandleOptDialog::ModulesHandleOptDialog( QWidget *parent, PlaYUVerAppModu
mainLayout->addWidget( dialogButtonOkCancel );
setSizePolicy( QSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed ) );
connect( dialogButtonOkCancel, SIGNAL( accepted() ), this, SLOT( accept() ) );
connect( dialogButtonOkCancel, SIGNAL( rejected() ), this, SLOT( reject() ) );
}
@@ -116,6 +119,7 @@ Int ModulesHandleOptDialog::runConfiguration()
optionString.append( valueString.toStdString() );
argsArray.push_back( optionString );
}
optionString.clear();
}
if( argsArray.size() > 0 )
{
-1
View File
@@ -91,7 +91,6 @@ PlaYUVerFrame::PlaYUVerFrame( PlaYUVerFrame *other )
PlaYUVerFrame::PlaYUVerFrame( PlaYUVerFrame *other, UInt posX, UInt posY, UInt areaWidth, UInt areaHeight )
{
PlaYUVerPixFmtDescriptor* pcPelFormat = &( g_PlaYUVerPixFmtDescriptorsList[other->getPelFormat()] );
if( pcPelFormat->log2ChromaWidth )
{
+1 -1
View File
@@ -348,7 +348,7 @@ Void Options::scanArgs( std::vector<std::string> args_array)
{
for( unsigned i = 0; i < args_array.size(); i++ )
{
i += parseLONG( args_array[0] );
i += parseLONG( args_array[i] );
}
return;
}