Changeset 95773 in vbox for trunk/src/VBox
- Timestamp:
- Jul 21, 2022 11:26:56 AM (2 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/editors
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIRecordingSettingsEditor.cpp
r95754 r95773 42 42 , m_fOptionsAvailable(false) 43 43 , m_fScreenOptionsAvailable(false) 44 , m_enmMode(UISettingsDefs::RecordingMode_ VideoAudio)44 , m_enmMode(UISettingsDefs::RecordingMode_Max) 45 45 , m_iFrameWidth(0) 46 46 , m_iFrameHeight(0) … … 743 743 } 744 744 /* Prepare recording audio quality scale layout: */ 745 QHBoxLayout *pLayoutRecordingAudioQ ialityScale = new QHBoxLayout;746 if (pLayoutRecordingAudioQ ialityScale)745 QHBoxLayout *pLayoutRecordingAudioQualityScale = new QHBoxLayout; 746 if (pLayoutRecordingAudioQualityScale) 747 747 { 748 pLayoutRecordingAudioQ ialityScale->setContentsMargins(0, 0, 0, 0);748 pLayoutRecordingAudioQualityScale->setContentsMargins(0, 0, 0, 0); 749 749 750 750 /* Prepare recording audio quality min label: */ 751 751 m_pLabelAudioQualityMin = new QLabel(m_pWidgetAudioQualitySettings); 752 752 if (m_pLabelAudioQualityMin) 753 pLayoutRecordingAudioQ ialityScale->addWidget(m_pLabelAudioQualityMin);754 pLayoutRecordingAudioQ ialityScale->addStretch();753 pLayoutRecordingAudioQualityScale->addWidget(m_pLabelAudioQualityMin); 754 pLayoutRecordingAudioQualityScale->addStretch(); 755 755 /* Prepare recording audio quality med label: */ 756 756 m_pLabelAudioQualityMed = new QLabel(m_pWidgetAudioQualitySettings); 757 757 if (m_pLabelAudioQualityMed) 758 pLayoutRecordingAudioQ ialityScale->addWidget(m_pLabelAudioQualityMed);759 pLayoutRecordingAudioQ ialityScale->addStretch();758 pLayoutRecordingAudioQualityScale->addWidget(m_pLabelAudioQualityMed); 759 pLayoutRecordingAudioQualityScale->addStretch(); 760 760 /* Prepare recording audio quality max label: */ 761 761 m_pLabelAudioQualityMax = new QLabel(m_pWidgetAudioQualitySettings); 762 762 if (m_pLabelAudioQualityMax) 763 pLayoutRecordingAudioQ ialityScale->addWidget(m_pLabelAudioQualityMax);764 765 pLayoutRecordingAudioQuality->addLayout(pLayoutRecordingAudioQ ialityScale);763 pLayoutRecordingAudioQualityScale->addWidget(m_pLabelAudioQualityMax); 764 765 pLayoutRecordingAudioQuality->addLayout(pLayoutRecordingAudioQualityScale); 766 766 } 767 767 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIRecordingSettingsEditor.h
r94436 r95773 140 140 void prepareConnections(); 141 141 142 /** Repopulates auth type combo-box. */143 void repopulateComboAuthType();144 145 142 /** Updates widget availability. */ 146 143 void updateWidgetAvailability(); … … 160 157 * @{ */ 161 158 /** Holds whether feature is enabled. */ 162 bool m_fFeatureEnabled; 159 bool m_fFeatureEnabled; 160 163 161 /** Holds whether options are available. */ 164 bool 162 bool m_fOptionsAvailable; 165 163 /** Holds whether screen options are available. */ 166 bool m_fScreenOptionsAvailable; 164 bool m_fScreenOptionsAvailable; 165 167 166 /** Holds the mode. */ 168 167 UISettingsDefs::RecordingMode m_enmMode; 168 169 169 /** Holds the folder. */ 170 QString 170 QString m_strFolder; 171 171 /** Holds the file path. */ 172 QString m_strFilePath; 172 QString m_strFilePath; 173 173 174 /** Holds the frame width. */ 174 int 175 int m_iFrameWidth; 175 176 /** Holds the frame height. */ 176 int 177 int m_iFrameHeight; 177 178 /** Holds the frame rate. */ 178 int 179 int m_iFrameRate; 179 180 /** Holds the bit rate. */ 180 int 181 int m_iBitRate; 181 182 /** Holds the audio quality rate. */ 182 int m_iAudioQualityRate; 183 int m_iAudioQualityRate; 184 183 185 /** Holds the screens. */ 184 QVector<BOOL> 186 QVector<BOOL> m_screens; 185 187 /** @} */ 186 188
Note:
See TracChangeset
for help on using the changeset viewer.