Add new resolutions
This commit is contained in:
1 parent
e829fa03bf
commit
944badc866
4 files changed
+12
-4
No files matched your search
@@ -101,12 +101,12 @@ ConfigureFormatDialog::ConfigureFormatDialog( QWidget *parent ) :
|
||||
resolutionLabel->setText( "Resolution chosen" );
|
||||
QLabel* widthLabel = new QLabel( "Width" );
|
||||
m_spinBoxWidth = new QSpinBox();
|
||||
m_spinBoxWidth->setRange( 0, 7240 );
|
||||
m_spinBoxWidth->setRange( 0, 8192 );
|
||||
m_spinBoxWidth->setValue( 0 );
|
||||
|
||||
QLabel* heightLabel = new QLabel( "Height" );
|
||||
m_spinBoxheight = new QSpinBox();
|
||||
m_spinBoxheight->setRange( 0, 5432 );
|
||||
m_spinBoxheight->setRange( 0, 4608 );
|
||||
m_spinBoxheight->setValue( 0 );
|
||||
|
||||
QLabel* pixelsLabel = new QLabel();
|
||||
|
||||
@@ -77,7 +77,15 @@ private:
|
||||
ADD_STANDARD_RESOLUTION( "VGA (640x480)", 640, 480 );
|
||||
ADD_STANDARD_RESOLUTION( "XVGA (1024x768)", 1024, 768 );
|
||||
ADD_STANDARD_RESOLUTION( "HD (1280x720)", 1280, 720 );
|
||||
ADD_STANDARD_RESOLUTION( "XVGA (1024x768)", 1024, 768 );
|
||||
ADD_STANDARD_RESOLUTION( "XVGA (1024x768)", 1024, 768 );
|
||||
ADD_STANDARD_RESOLUTION( "SXGA- (1280x900)", 1280, 900 );
|
||||
ADD_STANDARD_RESOLUTION( "SXGA (1280x1024)", 1280, 1024 );
|
||||
ADD_STANDARD_RESOLUTION( "WSXGA (1440x900)", 1440, 900 );
|
||||
ADD_STANDARD_RESOLUTION( "Full HD (1920x1080)", 1920, 1080 );
|
||||
ADD_STANDARD_RESOLUTION( "WQXGA (2560x1600)", 2560, 1600 );
|
||||
ADD_STANDARD_RESOLUTION( "Ultra HD (3840x2160)", 3840, 2160 );
|
||||
ADD_STANDARD_RESOLUTION( "8K", 8192, 4608 );
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
@@ -671,7 +671,7 @@ Void plaYUVerApp::updatePixelValueStatusBar( const QPoint & pos, PlaYUVerFrame*
|
||||
sPixelValue = curFrame->getPixelValue( pos, PlaYUVerFrame::COLOR_YUV );
|
||||
strPixel = QString( "Y: %1 U: %2 V: %3" ).arg( sPixelValue.Luma ).arg( sPixelValue.ChromaU ).arg( sPixelValue.ChromaV );
|
||||
strStatus.append( strPixel );
|
||||
statusBar()->showMessage( strStatus, 0 );
|
||||
statusBar()->showMessage( strStatus, 3000 );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user