- Timestamp:
- Jun 10, 2013 4:10:40 PM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/machine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp
r46473 r46477 480 480 } 481 481 482 void UIMachineSettingsDisplay::sltHandleVideoCaptureFrameWidth SpinboxChange()482 void UIMachineSettingsDisplay::sltHandleVideoCaptureFrameWidthEditorChange() 483 483 { 484 484 /* Look for preset: */ … … 488 488 } 489 489 490 void UIMachineSettingsDisplay::sltHandleVideoCaptureFrameHeight SpinboxChange()490 void UIMachineSettingsDisplay::sltHandleVideoCaptureFrameHeightEditorChange() 491 491 { 492 492 /* Look for preset: */ … … 506 506 } 507 507 508 void UIMachineSettingsDisplay::sltHandleVideoCaptureFrameRate SpinboxChange()508 void UIMachineSettingsDisplay::sltHandleVideoCaptureFrameRateEditorChange() 509 509 { 510 510 /* Apply proposed frame-rate: */ … … 527 527 } 528 528 529 void UIMachineSettingsDisplay::sltHandleVideoCaptureBitRate SpinboxChange()529 void UIMachineSettingsDisplay::sltHandleVideoCaptureBitRateEditorChange() 530 530 { 531 531 /* Calculate/apply proposed quality: */ … … 644 644 connect(m_pComboVideoCaptureSize, SIGNAL(currentIndexChanged(int)), this, SLOT(sltHandleVideoCaptureFrameSizeComboboxChange())); 645 645 646 /* Prepare frame-width/height spin-boxes: */646 /* Prepare frame-width/height editors: */ 647 647 vboxGlobal().setMinimumWidthAccordingSymbolCount(m_pEditorVideoCaptureWidth, 5); 648 648 vboxGlobal().setMinimumWidthAccordingSymbolCount(m_pEditorVideoCaptureHeight, 5); … … 651 651 m_pEditorVideoCaptureHeight->setMinimum(16); 652 652 m_pEditorVideoCaptureHeight->setMaximum(1200); 653 connect(m_pEditorVideoCaptureWidth, SIGNAL(valueChanged(int)), this, SLOT(sltHandleVideoCaptureFrameWidth SpinboxChange()));654 connect(m_pEditorVideoCaptureHeight, SIGNAL(valueChanged(int)), this, SLOT(sltHandleVideoCaptureFrameHeight SpinboxChange()));653 connect(m_pEditorVideoCaptureWidth, SIGNAL(valueChanged(int)), this, SLOT(sltHandleVideoCaptureFrameWidthEditorChange())); 654 connect(m_pEditorVideoCaptureHeight, SIGNAL(valueChanged(int)), this, SLOT(sltHandleVideoCaptureFrameHeightEditorChange())); 655 655 656 656 /* Prepare frame-rate slider: */ … … 665 665 connect(m_pSliderVideoCaptureFrameRate, SIGNAL(valueChanged(int)), this, SLOT(sltHandleVideoCaptureFrameRateSliderChange())); 666 666 667 /* Prepare frame-rate spin-box: */667 /* Prepare frame-rate editor: */ 668 668 vboxGlobal().setMinimumWidthAccordingSymbolCount(m_pEditorVideoCaptureFrameRate, 3); 669 669 m_pEditorVideoCaptureFrameRate->setMinimum(1); 670 670 m_pEditorVideoCaptureFrameRate->setMaximum(30); 671 connect(m_pEditorVideoCaptureFrameRate, SIGNAL(valueChanged(int)), this, SLOT(sltHandleVideoCaptureFrameRate SpinboxChange()));671 connect(m_pEditorVideoCaptureFrameRate, SIGNAL(valueChanged(int)), this, SLOT(sltHandleVideoCaptureFrameRateEditorChange())); 672 672 673 673 /* Prepare quality combo-box: */ … … 685 685 connect(m_pSliderVideoCaptureQuality, SIGNAL(valueChanged(int)), this, SLOT(sltHandleVideoCaptureQualitySliderChange())); 686 686 687 /* Prepare bit-rate spin-box: */687 /* Prepare bit-rate editor: */ 688 688 vboxGlobal().setMinimumWidthAccordingSymbolCount(m_pEditorVideoCaptureBitRate, 5); 689 689 m_pEditorVideoCaptureBitRate->setMinimum(32); 690 690 m_pEditorVideoCaptureBitRate->setMaximum(2048); 691 connect(m_pEditorVideoCaptureBitRate, SIGNAL(valueChanged(int)), this, SLOT(sltHandleVideoCaptureBitRate SpinboxChange()));691 connect(m_pEditorVideoCaptureBitRate, SIGNAL(valueChanged(int)), this, SLOT(sltHandleVideoCaptureBitRateEditorChange())); 692 692 } 693 693 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.h
r46461 r46477 168 168 /* Handlers: Video Capture stuff: */ 169 169 void sltHandleVideoCaptureFrameSizeComboboxChange(); 170 void sltHandleVideoCaptureFrameWidth SpinboxChange();171 void sltHandleVideoCaptureFrameHeight SpinboxChange();170 void sltHandleVideoCaptureFrameWidthEditorChange(); 171 void sltHandleVideoCaptureFrameHeightEditorChange(); 172 172 void sltHandleVideoCaptureFrameRateSliderChange(); 173 void sltHandleVideoCaptureFrameRate SpinboxChange();173 void sltHandleVideoCaptureFrameRateEditorChange(); 174 174 void sltHandleVideoCaptureQualitySliderChange(); 175 void sltHandleVideoCaptureBitRate SpinboxChange();175 void sltHandleVideoCaptureBitRateEditorChange(); 176 176 177 177 private:
Note:
See TracChangeset
for help on using the changeset viewer.