VirtualBox

Ignore:
Timestamp:
Aug 12, 2020 9:27:07 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139854
Message:

FE/Qt: bugref:9812. Removing UIMachineSettingsDisplay.ui

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/VBoxUI.pro

    r85680 r85710  
    3434    src/settings/machine/UIMachineSettingsGeneral.ui \
    3535    src/settings/machine/UIMachineSettingsSystem.ui \
    36     src/settings/machine/UIMachineSettingsDisplay.ui \
    3736    src/settings/machine/UIMachineSettingsStorage.ui \
    3837    src/settings/machine/UIMachineSettingsNetwork.ui \
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsAudio.cpp

    r85680 r85710  
    174174void UIMachineSettingsAudio::retranslateUi()
    175175{
    176     m_pCheckBoxAudio->setWhatsThis(QApplication::translate("UIMachineSettingsAudio", "When checked, a virtual PCI audio card"
    177                                                            "will be plugged into the virtual machine and will communicate with"
    178                                                            "the host audio system using the specified driver."));
    179     m_pCheckBoxAudio->setText(QApplication::translate("UIMachineSettingsAudio", "Enable &Audio"));
    180     m_pAudioHostDriverLabel->setText(QApplication::translate("UIMachineSettingsAudio", "Host Audio &Driver:"));
    181     m_pAudioHostDriverEditor->setWhatsThis(QApplication::translate("UIMachineSettingsAudio", "Selects the audio output driver."
    182                                                                    "The <b>Null Audio Driver</b> makes the guest see an audio card,"
    183                                                                    "however every access to it will be ignored."));
    184     m_pAudioControllerLabel->setText(QApplication::translate("UIMachineSettingsAudio", "Audio &Controller:"));
    185     m_pAudioControllerEditor->setWhatsThis(QApplication::translate("UIMachineSettingsAudio", "Selects the type of the virtual sound"
    186                                                                    "card. Depending on this value, VirtualBox will provide different"
    187                                                                    "audio hardware to the virtual machine."));
    188     m_pLabelAudioExtended->setText(QApplication::translate("UIMachineSettingsAudio", "Extended Features:"));
    189     m_pCheckBoxAudioOutput->setWhatsThis(QApplication::translate("UIMachineSettingsAudio", "When checked, output to the virtual"
    190                                                                  "audio device will reach the host. Otherwise the guest is muted."));
    191     m_pCheckBoxAudioOutput->setText(QApplication::translate("UIMachineSettingsAudio", "Enable Audio &Output"));
    192     m_pCheckBoxAudioInput->setWhatsThis(QApplication::translate("UIMachineSettingsAudio", "When checked, the guest will be able"
    193                                                                 "to capture audio input from the host. Otherwise the guest will"
    194                                                                 "capture only silence."));
    195     m_pCheckBoxAudioInput->setText(QApplication::translate("UIMachineSettingsAudio", "Enable Audio &Input"));
     176    m_pCheckBoxAudio->setWhatsThis(tr("When checked, a virtual PCI audio card"
     177                                      "will be plugged into the virtual machine and will communicate with"
     178                                      "the host audio system using the specified driver."));
     179    m_pCheckBoxAudio->setText(tr("Enable &Audio"));
     180    m_pAudioHostDriverLabel->setText(tr("Host Audio &Driver:"));
     181    m_pAudioHostDriverEditor->setWhatsThis(tr("Selects the audio output driver."
     182                                              "The <b>Null Audio Driver</b> makes the guest see an audio card,"
     183                                              "however every access to it will be ignored."));
     184    m_pAudioControllerLabel->setText(tr("Audio &Controller:"));
     185    m_pAudioControllerEditor->setWhatsThis(tr("Selects the type of the virtual sound"
     186                                              "card. Depending on this value, VirtualBox will provide different"
     187                                              "audio hardware to the virtual machine."));
     188    m_pLabelAudioExtended->setText(tr("Extended Features:"));
     189    m_pCheckBoxAudioOutput->setWhatsThis(tr("When checked, output to the virtual"
     190                                            "audio device will reach the host. Otherwise the guest is muted."));
     191    m_pCheckBoxAudioOutput->setText(tr("Enable Audio &Output"));
     192    m_pCheckBoxAudioInput->setWhatsThis(tr("When checked, the guest will be able"
     193                                           "to capture audio input from the host. Otherwise the guest will"
     194                                           "capture only silence."));
     195    m_pCheckBoxAudioInput->setText(tr("Enable Audio &Input"));
    196196
    197197}
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp

    r84792 r85710  
    1616 */
    1717
     18/* Qt includes: */
     19#include <QCheckBox>
     20#include <QComboBox>
     21#include <QGridLayout>
     22#include <QLabel>
     23#include <QLineEdit>
     24#include <QSpinBox>
     25#include <QStackedLayout>
     26
    1827/* GUI includes: */
     28#include "QIAdvancedSlider.h"
     29#include "QITabWidget.h"
    1930#include "QIWidgetValidator.h"
     31#include "UICommon.h"
    2032#include "UIConverter.h"
    2133#include "UIDesktopWidgetWatchdog.h"
     34#include "UIErrorString.h"
    2235#include "UIExtraDataManager.h"
     36#include "UIFilePathSelector.h"
     37#include "UIFilmContainer.h"
     38#include "UIGraphicsControllerEditor.h"
    2339#include "UIMachineSettingsDisplay.h"
    24 #include "UIErrorString.h"
    25 #include "UICommon.h"
     40#include "UIScaleFactorEditor.h"
     41#include "UIVideoMemoryEditor.h"
    2642
    2743/* COM includes: */
     
    282298    , m_enmGraphicsControllerTypeRecommended(KGraphicsControllerType_Null)
    283299    , m_pCache(0)
     300    , m_pCheckbox3D(0)
     301    , m_pCheckboxRemoteDisplay(0)
     302    , m_pCheckboxMultipleConn(0)
     303    , m_pCheckboxVideoCapture(0)
     304    , m_pComboRemoteDisplayAuthMethod(0)
     305    , m_pComboBoxCaptureMode(0)
     306    , m_pComboVideoCaptureSize(0)
     307    , m_pLabelVideoScreenCountMin(0)
     308    , m_pLabelVideoScreenCountMax(0)
     309    , m_pLabelVideoCaptureFrameRateMin(0)
     310    , m_pLabelVideoCaptureFrameRateMax(0)
     311    , m_pLabelVideoCaptureQualityMin(0)
     312    , m_pLabelVideoCaptureQualityMed(0)
     313    , m_pLabelVideoCaptureQualityMax(0)
     314    , m_pLabelAudioCaptureQualityMin(0)
     315    , m_pLabelAudioCaptureQualityMed(0)
     316    , m_pLabelAudioCaptureQualityMax(0)
     317    , m_pVideoMemoryLabel(0)
     318    , m_pLabelVideoScreenCount(0)
     319    , m_pGraphicsControllerLabel(0)
     320    , m_pLabelVideoOptions(0)
     321    , m_pLabelRemoteDisplayOptions(0)
     322    , m_pLabelCaptureMode(0)
     323    , m_pLabelVideoCapturePath(0)
     324    , m_pLabelVideoCaptureSizeHint(0)
     325    , m_pLabelVideoCaptureSize(0)
     326    , m_pLabelVideoCaptureFrameRate(0)
     327    , m_pLabelVideoCaptureRate(0)
     328    , m_pAudioCaptureQualityLabel(0)
     329    , m_pLabelVideoCaptureScreens(0)
     330    , m_pLabelGuestScreenScaleFactorEditor(0)
     331    , m_pLabelRemoteDisplayPort(0)
     332    , m_pLabelRemoteDisplayAuthMethod(0)
     333    , m_pLabelRemoteDisplayTimeout(0)
     334    , m_pEditorRemoteDisplayPort(0)
     335    , m_pEditorRemoteDisplayTimeout(0)
     336    , m_pEditorVideoScreenCount(0)
     337    , m_pEditorVideoCaptureWidth(0)
     338    , m_pEditorVideoCaptureFrameRate(0)
     339    , m_pEditorVideoCaptureHeight(0)
     340    , m_pEditorVideoCaptureBitRate(0)
     341    , m_pGraphicsControllerEditor(0)
     342    , m_pScaleFactorEditor(0)
     343    , m_pVideoMemoryEditor(0)
     344    , m_pEditorVideoCapturePath(0)
     345    , m_pScrollerVideoCaptureScreens(0)
     346    , m_pSliderAudioCaptureQuality(0)
     347    , m_pSliderVideoScreenCount(0)
     348    , m_pSliderVideoCaptureFrameRate(0)
     349    , m_pSliderVideoCaptureQuality(0)
     350    , m_pTabWidget(0)
     351    , m_pContainerRemoteDisplay(0)
     352    , m_pContainerRemoteDisplayOptions(0)
     353    , m_pContainerVideoCapture(0)
     354    , m_pContainerSliderVideoCaptureFrameRate(0)
     355    , m_pContainerSliderVideoCaptureQuality(0)
     356    , m_pContainerSliderAudioCaptureQuality(0)
     357    , m_pTabVideo(0)
     358    , m_pTabRemoteDisplay(0)
     359    , m_pTabVideoCapture(0)
     360    , m_pContainerLayoutSliderVideoCaptureQuality(0)
     361    , m_pLayout3D(0)
    284362{
    285363    /* Prepare: */
     
    693771void UIMachineSettingsDisplay::retranslateUi()
    694772{
    695     /* Translate uic generated strings: */
    696     Ui::UIMachineSettingsDisplay::retranslateUi(this);
     773    m_pVideoMemoryLabel->setText(tr("Video &Memory:"));
     774    m_pVideoMemoryEditor->setWhatsThis(tr("Controls the amount of video memory provided to the virtual machine."));
     775    m_pLabelVideoScreenCount->setText(tr("Mo&nitor Count:"));
     776    m_pSliderVideoScreenCount->setWhatsThis(tr("Controls the amount of virtual monitors provided to the virtual machine."));
     777    m_pEditorVideoScreenCount->setWhatsThis(tr("Controls the amount of virtual monitors provided to the virtual machine."));
     778    m_pLabelGuestScreenScaleFactorEditor->setText(tr("Scale Factor:"));
     779    m_pScaleFactorEditor->setWhatsThis(tr("Controls the guest screen scale factor."));
     780    m_pGraphicsControllerLabel->setText(tr("&Graphics Controller:"));
     781    m_pGraphicsControllerEditor->setWhatsThis(tr("Selects the graphics adapter type the virtual machine will use."));
     782    m_pLabelVideoOptions->setText(tr("Acceleration:"));
     783    m_pCheckbox3D->setWhatsThis(tr("When checked, the virtual machine will be given access to the 3D graphics capabilities available on the host."));
     784    m_pCheckbox3D->setText(tr("Enable &3D Acceleration"));
     785    m_pTabWidget->setTabText(m_pTabWidget->indexOf(m_pTabVideo), tr("&Screen"));
     786    m_pCheckboxRemoteDisplay->setWhatsThis(tr("When checked, the VM will act as a Remote Desktop Protocol (RDP) server, allowing remote clients to connect and operate the VM (when it is running) using a standard RDP client."));
     787    m_pCheckboxRemoteDisplay->setText(tr("&Enable Server"));
     788    m_pLabelRemoteDisplayPort->setText(tr("Server &Port:"));
     789    m_pEditorRemoteDisplayPort->setWhatsThis(tr("Holds the VRDP Server port number. You may specify <tt>0</tt> (zero), to select port 3389, the standard port for RDP."));
     790    m_pLabelRemoteDisplayAuthMethod->setText(tr("Authentication &Method:"));
     791    m_pComboRemoteDisplayAuthMethod->setWhatsThis(tr("Selects the VRDP authentication method."));
     792    m_pLabelRemoteDisplayTimeout->setText(tr("Authentication &Timeout:"));
     793    m_pEditorRemoteDisplayTimeout->setWhatsThis(tr("Holds the timeout for guest authentication, in milliseconds."));
     794    m_pLabelRemoteDisplayOptions->setText(tr("Extended Features:"));
     795    m_pCheckboxMultipleConn->setWhatsThis(tr("When checked, multiple simultaneous connections to the VM are permitted."));
     796    m_pCheckboxMultipleConn->setText(tr("&Allow Multiple Connections"));
     797    m_pTabWidget->setTabText(m_pTabWidget->indexOf(m_pTabRemoteDisplay), tr("&Remote Display"));
     798    m_pCheckboxVideoCapture->setWhatsThis(tr("When checked, VirtualBox will record the virtual machine session as a video file."));
     799    m_pCheckboxVideoCapture->setText(tr("&Enable Recording"));
     800    m_pLabelCaptureMode->setText(tr("Recording &Mode:"));
     801    m_pComboBoxCaptureMode->setWhatsThis(tr("Selects the recording mode."));
     802    m_pLabelVideoCapturePath->setText(tr("File &Path:"));
     803    m_pEditorVideoCapturePath->setWhatsThis(tr("Holds the filename VirtualBox uses to save the recorded content."));
     804    m_pLabelVideoCaptureSize->setText(tr("Frame &Size:"));
     805    m_pComboVideoCaptureSize->setWhatsThis(tr("Selects the resolution (frame size) of the recorded video."));
     806    m_pEditorVideoCaptureWidth->setWhatsThis(tr("Holds the <b>horizontal</b> resolution (frame width) of the recorded video."));
     807    m_pEditorVideoCaptureHeight->setWhatsThis(tr("Holds the <b>vertical</b> resolution (frame height) of the recorded video."));
     808    m_pLabelVideoCaptureFrameRate->setText(tr("&Frame Rate:"));
     809    m_pSliderVideoCaptureFrameRate->setWhatsThis(tr("Controls the maximum number of <b>frames per second</b>. Additional frames will be skipped. Reducing this value will increase the number of skipped frames and reduce the file size."));
     810    m_pEditorVideoCaptureFrameRate->setWhatsThis(tr("Controls the maximum number of <b>frames per second</b>. Additional frames will be skipped. Reducing this value will increase the number of skipped frames and reduce the file size."));
     811    m_pLabelVideoCaptureRate->setText(tr("&Video Quality:"));
     812    m_pSliderVideoCaptureQuality->setWhatsThis(tr("Controls the <b>quality</b>. Increasing this value will make the video look better at the cost of an increased file size."));
     813    m_pEditorVideoCaptureBitRate->setWhatsThis(tr("Holds the bitrate in <b>kilobits per second</b>. Increasing this value will make the video look better at the cost of an increased file size."));
     814    m_pAudioCaptureQualityLabel->setText(tr("&Audio Quality:"));
     815    m_pSliderAudioCaptureQuality->setWhatsThis(tr("Controls the <b>quality</b>. Increasing this value will make the audio sound better at the cost of an increased file size."));
     816    m_pLabelVideoCaptureScreens->setText(tr("&Screens:"));
     817    m_pScrollerVideoCaptureScreens->setWhatsThis(QString());
     818    m_pTabWidget->setTabText(m_pTabWidget->indexOf(m_pTabVideoCapture), tr("Re&cording"));
     819
    697820
    698821    /* Screen stuff: */
     
    9141037void UIMachineSettingsDisplay::prepare()
    9151038{
    916     /* Apply UI decorations: */
    917     Ui::UIMachineSettingsDisplay::setupUi(this);
     1039    prepareWidgets();
    9181040
    9191041    /* Prepare cache: */
     
    11901312    connect(m_pComboBoxCaptureMode, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),
    11911313                this, &UIMachineSettingsDisplay::sltHandleRecordingComboBoxChange);
     1314}
     1315
     1316void UIMachineSettingsDisplay::prepareWidgets()
     1317{
     1318    if (objectName().isEmpty())
     1319        setObjectName(QStringLiteral("UIMachineSettingsDisplay"));
     1320    resize(350, 300);
     1321    QVBoxLayout *pLayoutMain = new QVBoxLayout(this);
     1322    pLayoutMain->setObjectName(QStringLiteral("pLayoutMain"));
     1323    m_pTabWidget = new QITabWidget();
     1324    m_pTabWidget->setObjectName(QStringLiteral("m_pTabWidget"));
     1325    m_pTabVideo = new QWidget();
     1326    m_pTabVideo->setObjectName(QStringLiteral("m_pTabVideo"));
     1327    QVBoxLayout *pLayoutTabVideo = new QVBoxLayout(m_pTabVideo);
     1328    pLayoutTabVideo->setObjectName(QStringLiteral("pLayoutTabVideo"));
     1329    QWidget *pContainerVideo = new QWidget(m_pTabVideo);
     1330    pContainerVideo->setObjectName(QStringLiteral("pContainerVideo"));
     1331    QGridLayout *pLayoutContainerVideo = new QGridLayout(pContainerVideo);
     1332    pLayoutContainerVideo->setObjectName(QStringLiteral("pLayoutContainerVideo"));
     1333    pLayoutContainerVideo->setContentsMargins(0, 0, 0, 0);
     1334    m_pVideoMemoryLabel = new QLabel(pContainerVideo);
     1335    m_pVideoMemoryLabel->setObjectName(QStringLiteral("m_pVideoMemoryLabel"));
     1336    m_pVideoMemoryLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     1337    pLayoutContainerVideo->addWidget(m_pVideoMemoryLabel, 0, 0, 1, 1);
     1338
     1339    m_pVideoMemoryEditor = new UIVideoMemoryEditor(pContainerVideo);
     1340    m_pVideoMemoryEditor->setObjectName(QStringLiteral("m_pVideoMemoryEditor"));
     1341    pLayoutContainerVideo->addWidget(m_pVideoMemoryEditor, 0, 1, 2, 2);
     1342
     1343    m_pLabelVideoScreenCount = new QLabel(pContainerVideo);
     1344    m_pLabelVideoScreenCount->setObjectName(QStringLiteral("m_pLabelVideoScreenCount"));
     1345    m_pLabelVideoScreenCount->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     1346    pLayoutContainerVideo->addWidget(m_pLabelVideoScreenCount, 2, 0, 1, 1);
     1347
     1348    QGridLayout *pLayoutVideoScreenCount = new QGridLayout();
     1349    pLayoutVideoScreenCount->setSpacing(0);
     1350    pLayoutVideoScreenCount->setObjectName(QStringLiteral("pLayoutVideoScreenCount"));
     1351    m_pSliderVideoScreenCount = new QIAdvancedSlider(pContainerVideo);
     1352    m_pSliderVideoScreenCount->setObjectName(QStringLiteral("m_pSliderVideoScreenCount"));
     1353    m_pSliderVideoScreenCount->setOrientation(Qt::Horizontal);
     1354    pLayoutVideoScreenCount->addWidget(m_pSliderVideoScreenCount, 0, 0, 1, 3);
     1355
     1356    m_pLabelVideoScreenCountMin = new QLabel(pContainerVideo);
     1357    m_pLabelVideoScreenCountMin->setObjectName(QStringLiteral("m_pLabelVideoScreenCountMin"));
     1358    pLayoutVideoScreenCount->addWidget(m_pLabelVideoScreenCountMin, 1, 0, 1, 1);
     1359
     1360    QSpacerItem *pSpacerVideoScreenCount = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);
     1361    pLayoutVideoScreenCount->addItem(pSpacerVideoScreenCount, 1, 1, 1, 1);
     1362
     1363    m_pLabelVideoScreenCountMax = new QLabel(pContainerVideo);
     1364    m_pLabelVideoScreenCountMax->setObjectName(QStringLiteral("m_pLabelVideoScreenCountMax"));
     1365
     1366    pLayoutVideoScreenCount->addWidget(m_pLabelVideoScreenCountMax, 1, 2, 1, 1);
     1367    pLayoutContainerVideo->addLayout(pLayoutVideoScreenCount, 2, 1, 2, 1);
     1368
     1369    m_pEditorVideoScreenCount = new QSpinBox(pContainerVideo);
     1370    m_pEditorVideoScreenCount->setObjectName(QStringLiteral("m_pEditorVideoScreenCount"));
     1371    pLayoutContainerVideo->addWidget(m_pEditorVideoScreenCount, 2, 2, 1, 1);
     1372
     1373    m_pLabelGuestScreenScaleFactorEditor = new QLabel(pContainerVideo);
     1374    m_pLabelGuestScreenScaleFactorEditor->setObjectName(QStringLiteral("m_pLabelGuestScreenScaleFactorEditor"));
     1375    m_pLabelGuestScreenScaleFactorEditor->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     1376    pLayoutContainerVideo->addWidget(m_pLabelGuestScreenScaleFactorEditor, 4, 0, 1, 1);
     1377
     1378    QGridLayout *pLayoutGuestScreenScaleFactorEditor = new QGridLayout();
     1379    pLayoutGuestScreenScaleFactorEditor->setSpacing(0);
     1380    pLayoutGuestScreenScaleFactorEditor->setObjectName(QStringLiteral("pLayoutGuestScreenScaleFactorEditor"));
     1381    m_pScaleFactorEditor = new UIScaleFactorEditor(pContainerVideo);
     1382    m_pScaleFactorEditor->setObjectName(QStringLiteral("m_pScaleFactorEditor"));
     1383    pLayoutGuestScreenScaleFactorEditor->addWidget(m_pScaleFactorEditor, 0, 0, 2, 3);
     1384    pLayoutContainerVideo->addLayout(pLayoutGuestScreenScaleFactorEditor, 4, 1, 2, 2);
     1385
     1386    m_pGraphicsControllerLabel = new QLabel(pContainerVideo);
     1387    m_pGraphicsControllerLabel->setObjectName(QStringLiteral("m_pGraphicsControllerLabel"));
     1388    m_pGraphicsControllerLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     1389    pLayoutContainerVideo->addWidget(m_pGraphicsControllerLabel, 6, 0, 1, 1);
     1390
     1391    m_pGraphicsControllerEditor = new UIGraphicsControllerEditor(pContainerVideo);
     1392    m_pGraphicsControllerEditor->setObjectName(QStringLiteral("m_pGraphicsControllerEditor"));
     1393    pLayoutContainerVideo->addWidget(m_pGraphicsControllerEditor, 6, 1, 1, 2);
     1394
     1395    m_pLabelVideoOptions = new QLabel(pContainerVideo);
     1396    m_pLabelVideoOptions->setObjectName(QStringLiteral("m_pLabelVideoOptions"));
     1397    m_pLabelVideoOptions->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     1398    pLayoutContainerVideo->addWidget(m_pLabelVideoOptions, 7, 0, 1, 1);
     1399
     1400    m_pLayout3D = new QStackedLayout();
     1401    m_pLayout3D->setObjectName(QStringLiteral("m_pLayout3D"));
     1402    m_pCheckbox3D = new QCheckBox(pContainerVideo);
     1403    m_pCheckbox3D->setObjectName(QStringLiteral("m_pCheckbox3D"));
     1404    QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
     1405    sizePolicy.setHorizontalStretch(0);
     1406    sizePolicy.setVerticalStretch(0);
     1407    sizePolicy.setHeightForWidth(m_pCheckbox3D->sizePolicy().hasHeightForWidth());
     1408    m_pCheckbox3D->setSizePolicy(sizePolicy);
     1409    m_pLayout3D->addWidget(m_pCheckbox3D);
     1410
     1411    QWidget *pPlaceholder3D = new QWidget(pContainerVideo);
     1412    pPlaceholder3D->setObjectName(QStringLiteral("pPlaceholder3D"));
     1413
     1414    m_pLayout3D->addWidget(pPlaceholder3D);
     1415    pLayoutContainerVideo->addLayout(m_pLayout3D, 7, 1, 1, 1);
     1416    pLayoutTabVideo->addWidget(pContainerVideo);
     1417
     1418    QSpacerItem *pStretchVideo = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
     1419    pLayoutTabVideo->addItem(pStretchVideo);
     1420
     1421    m_pTabWidget->addTab(m_pTabVideo, QString());
     1422    m_pTabRemoteDisplay = new QWidget();
     1423    m_pTabRemoteDisplay->setObjectName(QStringLiteral("m_pTabRemoteDisplay"));
     1424    QVBoxLayout *pLayoutTabRemoteDisplay = new QVBoxLayout(m_pTabRemoteDisplay);
     1425    pLayoutTabRemoteDisplay->setObjectName(QStringLiteral("pLayoutTabRemoteDisplay"));
     1426    m_pContainerRemoteDisplay = new QWidget(m_pTabRemoteDisplay);
     1427    m_pContainerRemoteDisplay->setObjectName(QStringLiteral("m_pContainerRemoteDisplay"));
     1428    QGridLayout *pLayoutContainerRemoteDisplay = new QGridLayout(m_pContainerRemoteDisplay);
     1429    pLayoutContainerRemoteDisplay->setObjectName(QStringLiteral("pLayoutContainerRemoteDisplay"));
     1430    pLayoutContainerRemoteDisplay->setContentsMargins(0, 0, 0, 0);
     1431    m_pCheckboxRemoteDisplay = new QCheckBox(m_pContainerRemoteDisplay);
     1432    m_pCheckboxRemoteDisplay->setObjectName(QStringLiteral("m_pCheckboxRemoteDisplay"));
     1433    m_pCheckboxRemoteDisplay->setChecked(false);
     1434    pLayoutContainerRemoteDisplay->addWidget(m_pCheckboxRemoteDisplay, 0, 0, 1, 2);
     1435
     1436    QSpacerItem *pSpacerContainerRemoteDisplay = new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum);
     1437    pLayoutContainerRemoteDisplay->addItem(pSpacerContainerRemoteDisplay, 1, 0, 1, 1);
     1438
     1439    m_pContainerRemoteDisplayOptions = new QWidget(m_pContainerRemoteDisplay);
     1440    m_pContainerRemoteDisplayOptions->setObjectName(QStringLiteral("m_pContainerRemoteDisplayOptions"));
     1441    QGridLayout *pLayoutContainerRemoteDisplayServer = new QGridLayout(m_pContainerRemoteDisplayOptions);
     1442    pLayoutContainerRemoteDisplayServer->setObjectName(QStringLiteral("pLayoutContainerRemoteDisplayServer"));
     1443    pLayoutContainerRemoteDisplayServer->setContentsMargins(0, 0, 0, 0);
     1444    m_pLabelRemoteDisplayPort = new QLabel(m_pContainerRemoteDisplayOptions);
     1445    m_pLabelRemoteDisplayPort->setObjectName(QStringLiteral("m_pLabelRemoteDisplayPort"));
     1446    m_pLabelRemoteDisplayPort->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     1447    pLayoutContainerRemoteDisplayServer->addWidget(m_pLabelRemoteDisplayPort, 0, 0, 1, 1);
     1448
     1449    m_pEditorRemoteDisplayPort = new QLineEdit(m_pContainerRemoteDisplayOptions);
     1450    m_pEditorRemoteDisplayPort->setObjectName(QStringLiteral("m_pEditorRemoteDisplayPort"));
     1451    pLayoutContainerRemoteDisplayServer->addWidget(m_pEditorRemoteDisplayPort, 0, 1, 1, 1);
     1452
     1453    m_pLabelRemoteDisplayAuthMethod = new QLabel(m_pContainerRemoteDisplayOptions);
     1454    m_pLabelRemoteDisplayAuthMethod->setObjectName(QStringLiteral("m_pLabelRemoteDisplayAuthMethod"));
     1455    m_pLabelRemoteDisplayAuthMethod->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     1456    pLayoutContainerRemoteDisplayServer->addWidget(m_pLabelRemoteDisplayAuthMethod, 1, 0, 1, 1);
     1457
     1458    m_pComboRemoteDisplayAuthMethod = new QComboBox(m_pContainerRemoteDisplayOptions);
     1459    m_pComboRemoteDisplayAuthMethod->setObjectName(QStringLiteral("m_pComboRemoteDisplayAuthMethod"));
     1460    pLayoutContainerRemoteDisplayServer->addWidget(m_pComboRemoteDisplayAuthMethod, 1, 1, 1, 1);
     1461
     1462    m_pLabelRemoteDisplayTimeout = new QLabel(m_pContainerRemoteDisplayOptions);
     1463    m_pLabelRemoteDisplayTimeout->setObjectName(QStringLiteral("m_pLabelRemoteDisplayTimeout"));
     1464    m_pLabelRemoteDisplayTimeout->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     1465    pLayoutContainerRemoteDisplayServer->addWidget(m_pLabelRemoteDisplayTimeout, 2, 0, 1, 1);
     1466
     1467    m_pEditorRemoteDisplayTimeout = new QLineEdit(m_pContainerRemoteDisplayOptions);
     1468    m_pEditorRemoteDisplayTimeout->setObjectName(QStringLiteral("m_pEditorRemoteDisplayTimeout"));
     1469    pLayoutContainerRemoteDisplayServer->addWidget(m_pEditorRemoteDisplayTimeout, 2, 1, 1, 1);
     1470
     1471    m_pLabelRemoteDisplayOptions = new QLabel(m_pContainerRemoteDisplayOptions);
     1472    m_pLabelRemoteDisplayOptions->setObjectName(QStringLiteral("m_pLabelRemoteDisplayOptions"));
     1473    m_pLabelRemoteDisplayOptions->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     1474    pLayoutContainerRemoteDisplayServer->addWidget(m_pLabelRemoteDisplayOptions, 3, 0, 1, 1);
     1475
     1476    m_pCheckboxMultipleConn = new QCheckBox(m_pContainerRemoteDisplayOptions);
     1477    m_pCheckboxMultipleConn->setObjectName(QStringLiteral("m_pCheckboxMultipleConn"));
     1478    sizePolicy.setHeightForWidth(m_pCheckboxMultipleConn->sizePolicy().hasHeightForWidth());
     1479    m_pCheckboxMultipleConn->setSizePolicy(sizePolicy);
     1480
     1481    pLayoutContainerRemoteDisplayServer->addWidget(m_pCheckboxMultipleConn, 3, 1, 1, 1);
     1482    pLayoutContainerRemoteDisplay->addWidget(m_pContainerRemoteDisplayOptions, 1, 1, 1, 1);
     1483    pLayoutTabRemoteDisplay->addWidget(m_pContainerRemoteDisplay);
     1484
     1485    QSpacerItem *pStretchRemoteDisplay = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
     1486    pLayoutTabRemoteDisplay->addItem(pStretchRemoteDisplay);
     1487
     1488    m_pTabWidget->addTab(m_pTabRemoteDisplay, QString());
     1489    m_pTabVideoCapture = new QWidget();
     1490    m_pTabVideoCapture->setObjectName(QStringLiteral("m_pTabVideoCapture"));
     1491    QVBoxLayout *pLayoutTabVideoCapture = new QVBoxLayout(m_pTabVideoCapture);
     1492    pLayoutTabVideoCapture->setObjectName(QStringLiteral("pLayoutTabVideoCapture"));
     1493    m_pContainerVideoCapture = new QWidget(m_pTabVideoCapture);
     1494    m_pContainerVideoCapture->setObjectName(QStringLiteral("m_pContainerVideoCapture"));
     1495    QGridLayout *pLayoutContainerVideoCapture = new QGridLayout(m_pContainerVideoCapture);
     1496    pLayoutContainerVideoCapture->setObjectName(QStringLiteral("pLayoutContainerVideoCapture"));
     1497    pLayoutContainerVideoCapture->setContentsMargins(0, 0, 0, 0);
     1498    m_pCheckboxVideoCapture = new QCheckBox(m_pContainerVideoCapture);
     1499    m_pCheckboxVideoCapture->setObjectName(QStringLiteral("m_pCheckboxVideoCapture"));
     1500    m_pCheckboxVideoCapture->setChecked(false);
     1501    pLayoutContainerVideoCapture->addWidget(m_pCheckboxVideoCapture, 0, 0, 1, 2);
     1502
     1503    QSpacerItem *pLeftSpacer = new QSpacerItem(20, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);
     1504    pLayoutContainerVideoCapture->addItem(pLeftSpacer, 1, 0, 1, 1);
     1505
     1506    QWidget *pContainerVideoCaptureOptions = new QWidget(m_pContainerVideoCapture);
     1507    pContainerVideoCaptureOptions->setObjectName(QStringLiteral("pContainerVideoCaptureOptions"));
     1508    QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
     1509    sizePolicy1.setHorizontalStretch(1);
     1510    sizePolicy1.setVerticalStretch(0);
     1511    sizePolicy1.setHeightForWidth(pContainerVideoCaptureOptions->sizePolicy().hasHeightForWidth());
     1512    pContainerVideoCaptureOptions->setSizePolicy(sizePolicy1);
     1513    QGridLayout *pContainerLayoutVideoCapture = new QGridLayout(pContainerVideoCaptureOptions);
     1514    pContainerLayoutVideoCapture->setObjectName(QStringLiteral("pContainerLayoutVideoCapture"));
     1515    pContainerLayoutVideoCapture->setContentsMargins(0, 0, 0, 0);
     1516    m_pLabelCaptureMode = new QLabel(pContainerVideoCaptureOptions);
     1517    m_pLabelCaptureMode->setObjectName(QStringLiteral("m_pLabelCaptureMode"));
     1518    m_pLabelCaptureMode->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     1519    pContainerLayoutVideoCapture->addWidget(m_pLabelCaptureMode, 0, 0, 1, 1);
     1520
     1521    m_pComboBoxCaptureMode = new QComboBox(pContainerVideoCaptureOptions);
     1522    m_pComboBoxCaptureMode->setObjectName(QStringLiteral("m_pComboBoxCaptureMode"));
     1523    pContainerLayoutVideoCapture->addWidget(m_pComboBoxCaptureMode, 0, 1, 1, 3);
     1524
     1525    m_pLabelVideoCapturePath = new QLabel(pContainerVideoCaptureOptions);
     1526    m_pLabelVideoCapturePath->setObjectName(QStringLiteral("m_pLabelVideoCapturePath"));
     1527    m_pLabelVideoCapturePath->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     1528    pContainerLayoutVideoCapture->addWidget(m_pLabelVideoCapturePath, 1, 0, 1, 1);
     1529
     1530    m_pEditorVideoCapturePath = new UIFilePathSelector(pContainerVideoCaptureOptions);
     1531    m_pEditorVideoCapturePath->setObjectName(QStringLiteral("m_pEditorVideoCapturePath"));
     1532    pContainerLayoutVideoCapture->addWidget(m_pEditorVideoCapturePath, 1, 1, 1, 3);
     1533
     1534    m_pLabelVideoCaptureSize = new QLabel(pContainerVideoCaptureOptions);
     1535    m_pLabelVideoCaptureSize->setObjectName(QStringLiteral("m_pLabelVideoCaptureSize"));
     1536    m_pLabelVideoCaptureSize->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     1537    pContainerLayoutVideoCapture->addWidget(m_pLabelVideoCaptureSize, 2, 0, 1, 1);
     1538
     1539    m_pComboVideoCaptureSize = new QComboBox(pContainerVideoCaptureOptions);
     1540    m_pComboVideoCaptureSize->setObjectName(QStringLiteral("m_pComboVideoCaptureSize"));
     1541    QSizePolicy sizePolicy2(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
     1542    sizePolicy2.setHorizontalStretch(1);
     1543    sizePolicy2.setVerticalStretch(0);
     1544    sizePolicy2.setHeightForWidth(m_pComboVideoCaptureSize->sizePolicy().hasHeightForWidth());
     1545    m_pComboVideoCaptureSize->setSizePolicy(sizePolicy2);
     1546    pContainerLayoutVideoCapture->addWidget(m_pComboVideoCaptureSize, 2, 1, 1, 1);
     1547
     1548    m_pEditorVideoCaptureWidth = new QSpinBox(pContainerVideoCaptureOptions);
     1549    m_pEditorVideoCaptureWidth->setObjectName(QStringLiteral("m_pEditorVideoCaptureWidth"));
     1550    pContainerLayoutVideoCapture->addWidget(m_pEditorVideoCaptureWidth, 2, 2, 1, 1);
     1551
     1552    m_pEditorVideoCaptureHeight = new QSpinBox(pContainerVideoCaptureOptions);
     1553    m_pEditorVideoCaptureHeight->setObjectName(QStringLiteral("m_pEditorVideoCaptureHeight"));
     1554    pContainerLayoutVideoCapture->addWidget(m_pEditorVideoCaptureHeight, 2, 3, 1, 1);
     1555
     1556    m_pLabelVideoCaptureFrameRate = new QLabel(pContainerVideoCaptureOptions);
     1557    m_pLabelVideoCaptureFrameRate->setObjectName(QStringLiteral("m_pLabelVideoCaptureFrameRate"));
     1558    m_pLabelVideoCaptureFrameRate->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     1559    pContainerLayoutVideoCapture->addWidget(m_pLabelVideoCaptureFrameRate, 3, 0, 1, 1);
     1560
     1561    m_pContainerSliderVideoCaptureFrameRate = new QWidget(pContainerVideoCaptureOptions);
     1562    m_pContainerSliderVideoCaptureFrameRate->setObjectName(QStringLiteral("m_pContainerSliderVideoCaptureFrameRate"));
     1563    QGridLayout *pContainerLayoutSliderVideoCaptureFrameRate = new QGridLayout(m_pContainerSliderVideoCaptureFrameRate);
     1564    pContainerLayoutSliderVideoCaptureFrameRate->setSpacing(0);
     1565    pContainerLayoutSliderVideoCaptureFrameRate->setObjectName(QStringLiteral("pContainerLayoutSliderVideoCaptureFrameRate"));
     1566    pContainerLayoutSliderVideoCaptureFrameRate->setContentsMargins(0, 0, 0, 0);
     1567    m_pSliderVideoCaptureFrameRate = new QIAdvancedSlider(m_pContainerSliderVideoCaptureFrameRate);
     1568    m_pSliderVideoCaptureFrameRate->setObjectName(QStringLiteral("m_pSliderVideoCaptureFrameRate"));
     1569    m_pSliderVideoCaptureFrameRate->setOrientation(Qt::Horizontal);
     1570    pContainerLayoutSliderVideoCaptureFrameRate->addWidget(m_pSliderVideoCaptureFrameRate, 0, 0, 1, 3);
     1571
     1572    m_pLabelVideoCaptureFrameRateMin = new QLabel(m_pContainerSliderVideoCaptureFrameRate);
     1573    m_pLabelVideoCaptureFrameRateMin->setObjectName(QStringLiteral("m_pLabelVideoCaptureFrameRateMin"));
     1574    pContainerLayoutSliderVideoCaptureFrameRate->addWidget(m_pLabelVideoCaptureFrameRateMin, 1, 0, 1, 1);
     1575
     1576    QSpacerItem *pStretchVideoCaptureFrameRate = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);
     1577    pContainerLayoutSliderVideoCaptureFrameRate->addItem(pStretchVideoCaptureFrameRate, 1, 1, 1, 1);
     1578
     1579    m_pLabelVideoCaptureFrameRateMax = new QLabel(m_pContainerSliderVideoCaptureFrameRate);
     1580    m_pLabelVideoCaptureFrameRateMax->setObjectName(QStringLiteral("m_pLabelVideoCaptureFrameRateMax"));
     1581    pContainerLayoutSliderVideoCaptureFrameRate->addWidget(m_pLabelVideoCaptureFrameRateMax, 1, 2, 1, 1);
     1582    pContainerLayoutVideoCapture->addWidget(m_pContainerSliderVideoCaptureFrameRate, 3, 1, 2, 1);
     1583
     1584    m_pEditorVideoCaptureFrameRate = new QSpinBox(pContainerVideoCaptureOptions);
     1585    m_pEditorVideoCaptureFrameRate->setObjectName(QStringLiteral("m_pEditorVideoCaptureFrameRate"));
     1586    pContainerLayoutVideoCapture->addWidget(m_pEditorVideoCaptureFrameRate, 3, 2, 1, 2);
     1587
     1588    m_pLabelVideoCaptureRate = new QLabel(pContainerVideoCaptureOptions);
     1589    m_pLabelVideoCaptureRate->setObjectName(QStringLiteral("m_pLabelVideoCaptureRate"));
     1590    m_pLabelVideoCaptureRate->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     1591    pContainerLayoutVideoCapture->addWidget(m_pLabelVideoCaptureRate, 5, 0, 1, 1);
     1592
     1593    m_pContainerSliderVideoCaptureQuality = new QWidget(pContainerVideoCaptureOptions);
     1594    m_pContainerSliderVideoCaptureQuality->setObjectName(QStringLiteral("m_pContainerSliderVideoCaptureQuality"));
     1595    m_pContainerLayoutSliderVideoCaptureQuality = new QGridLayout(m_pContainerSliderVideoCaptureQuality);
     1596    m_pContainerLayoutSliderVideoCaptureQuality->setSpacing(0);
     1597    m_pContainerLayoutSliderVideoCaptureQuality->setObjectName(QStringLiteral("m_pContainerLayoutSliderVideoCaptureQuality"));
     1598    m_pContainerLayoutSliderVideoCaptureQuality->setContentsMargins(0, 0, 0, 0);
     1599    m_pSliderVideoCaptureQuality = new QIAdvancedSlider(m_pContainerSliderVideoCaptureQuality);
     1600    m_pSliderVideoCaptureQuality->setObjectName(QStringLiteral("m_pSliderVideoCaptureQuality"));
     1601    m_pSliderVideoCaptureQuality->setOrientation(Qt::Horizontal);
     1602    m_pContainerLayoutSliderVideoCaptureQuality->addWidget(m_pSliderVideoCaptureQuality, 0, 0, 1, 5);
     1603
     1604    m_pLabelVideoCaptureQualityMin = new QLabel(m_pContainerSliderVideoCaptureQuality);
     1605    m_pLabelVideoCaptureQualityMin->setObjectName(QStringLiteral("m_pLabelVideoCaptureQualityMin"));
     1606    m_pContainerLayoutSliderVideoCaptureQuality->addWidget(m_pLabelVideoCaptureQualityMin, 1, 0, 1, 1);
     1607
     1608    QSpacerItem *pStretchVideoCaptureQualityLeft = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);
     1609    m_pContainerLayoutSliderVideoCaptureQuality->addItem(pStretchVideoCaptureQualityLeft, 1, 1, 1, 1);
     1610
     1611    m_pLabelVideoCaptureQualityMed = new QLabel(m_pContainerSliderVideoCaptureQuality);
     1612    m_pLabelVideoCaptureQualityMed->setObjectName(QStringLiteral("m_pLabelVideoCaptureQualityMed"));
     1613    m_pContainerLayoutSliderVideoCaptureQuality->addWidget(m_pLabelVideoCaptureQualityMed, 1, 2, 1, 1);
     1614
     1615    QSpacerItem *pStretchVideoCaptureQualityRight = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);
     1616    m_pContainerLayoutSliderVideoCaptureQuality->addItem(pStretchVideoCaptureQualityRight, 1, 3, 1, 1);
     1617
     1618    m_pLabelVideoCaptureQualityMax = new QLabel(m_pContainerSliderVideoCaptureQuality);
     1619    m_pLabelVideoCaptureQualityMax->setObjectName(QStringLiteral("m_pLabelVideoCaptureQualityMax"));
     1620
     1621    m_pContainerLayoutSliderVideoCaptureQuality->addWidget(m_pLabelVideoCaptureQualityMax, 1, 4, 1, 1);
     1622    pContainerLayoutVideoCapture->addWidget(m_pContainerSliderVideoCaptureQuality, 5, 1, 2, 1);
     1623
     1624    m_pEditorVideoCaptureBitRate = new QSpinBox(pContainerVideoCaptureOptions);
     1625    m_pEditorVideoCaptureBitRate->setObjectName(QStringLiteral("m_pEditorVideoCaptureBitRate"));
     1626    pContainerLayoutVideoCapture->addWidget(m_pEditorVideoCaptureBitRate, 5, 2, 1, 2);
     1627
     1628    m_pAudioCaptureQualityLabel = new QLabel(pContainerVideoCaptureOptions);
     1629    m_pAudioCaptureQualityLabel->setObjectName(QStringLiteral("m_pAudioCaptureQualityLabel"));
     1630    m_pAudioCaptureQualityLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     1631    pContainerLayoutVideoCapture->addWidget(m_pAudioCaptureQualityLabel, 7, 0, 1, 1);
     1632
     1633    m_pContainerSliderAudioCaptureQuality = new QWidget(pContainerVideoCaptureOptions);
     1634    m_pContainerSliderAudioCaptureQuality->setObjectName(QStringLiteral("m_pContainerSliderAudioCaptureQuality"));
     1635    QGridLayout *pContainerLayoutSliderAudioCaptureQuality = new QGridLayout(m_pContainerSliderAudioCaptureQuality);
     1636    pContainerLayoutSliderAudioCaptureQuality->setSpacing(0);
     1637    pContainerLayoutSliderAudioCaptureQuality->setObjectName(QStringLiteral("pContainerLayoutSliderAudioCaptureQuality"));
     1638    pContainerLayoutSliderAudioCaptureQuality->setContentsMargins(0, 0, 0, 0);
     1639    m_pSliderAudioCaptureQuality = new QIAdvancedSlider(m_pContainerSliderAudioCaptureQuality);
     1640    m_pSliderAudioCaptureQuality->setObjectName(QStringLiteral("m_pSliderAudioCaptureQuality"));
     1641    m_pSliderAudioCaptureQuality->setOrientation(Qt::Horizontal);
     1642    pContainerLayoutSliderAudioCaptureQuality->addWidget(m_pSliderAudioCaptureQuality, 0, 0, 1, 5);
     1643
     1644    m_pLabelAudioCaptureQualityMin = new QLabel(m_pContainerSliderAudioCaptureQuality);
     1645    m_pLabelAudioCaptureQualityMin->setObjectName(QStringLiteral("m_pLabelAudioCaptureQualityMin"));
     1646
     1647    pContainerLayoutSliderAudioCaptureQuality->addWidget(m_pLabelAudioCaptureQualityMin, 1, 0, 1, 1);
     1648
     1649    QSpacerItem *pStretchAudioCaptureQualityLeft = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);
     1650    pContainerLayoutSliderAudioCaptureQuality->addItem(pStretchAudioCaptureQualityLeft, 1, 1, 1, 1);
     1651
     1652    m_pLabelAudioCaptureQualityMed = new QLabel(m_pContainerSliderAudioCaptureQuality);
     1653    m_pLabelAudioCaptureQualityMed->setObjectName(QStringLiteral("m_pLabelAudioCaptureQualityMed"));
     1654    pContainerLayoutSliderAudioCaptureQuality->addWidget(m_pLabelAudioCaptureQualityMed, 1, 2, 1, 1);
     1655
     1656    QSpacerItem *pStretchAudioCaptureQualityRight = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);
     1657    pContainerLayoutSliderAudioCaptureQuality->addItem(pStretchAudioCaptureQualityRight, 1, 3, 1, 1);
     1658
     1659    m_pLabelAudioCaptureQualityMax = new QLabel(m_pContainerSliderAudioCaptureQuality);
     1660    m_pLabelAudioCaptureQualityMax->setObjectName(QStringLiteral("m_pLabelAudioCaptureQualityMax"));
     1661
     1662    pContainerLayoutSliderAudioCaptureQuality->addWidget(m_pLabelAudioCaptureQualityMax, 1, 4, 1, 1);
     1663    pContainerLayoutVideoCapture->addWidget(m_pContainerSliderAudioCaptureQuality, 7, 1, 2, 1);
     1664
     1665    m_pLabelVideoCaptureSizeHint = new QLabel(pContainerVideoCaptureOptions);
     1666    m_pLabelVideoCaptureSizeHint->setObjectName(QStringLiteral("m_pLabelVideoCaptureSizeHint"));
     1667    pContainerLayoutVideoCapture->addWidget(m_pLabelVideoCaptureSizeHint, 9, 1, 1, 1);
     1668
     1669    m_pLabelVideoCaptureScreens = new QLabel(pContainerVideoCaptureOptions);
     1670    m_pLabelVideoCaptureScreens->setObjectName(QStringLiteral("m_pLabelVideoCaptureScreens"));
     1671    m_pLabelVideoCaptureScreens->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignTop);
     1672    pContainerLayoutVideoCapture->addWidget(m_pLabelVideoCaptureScreens, 10, 0, 1, 1);
     1673
     1674    m_pScrollerVideoCaptureScreens = new UIFilmContainer(pContainerVideoCaptureOptions);
     1675    m_pScrollerVideoCaptureScreens->setObjectName(QStringLiteral("m_pScrollerVideoCaptureScreens"));
     1676    pContainerLayoutVideoCapture->addWidget(m_pScrollerVideoCaptureScreens, 10, 1, 1, 3);
     1677
     1678    pLayoutContainerVideoCapture->addWidget(pContainerVideoCaptureOptions, 1, 1, 1, 1);
     1679    pLayoutTabVideoCapture->addWidget(m_pContainerVideoCapture);
     1680
     1681    QSpacerItem *pStretchVideoCapture = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
     1682    pLayoutTabVideoCapture->addItem(pStretchVideoCapture);
     1683    m_pTabWidget->addTab(m_pTabVideoCapture, QString());
     1684    pLayoutMain->addWidget(m_pTabWidget);
     1685
     1686    m_pLabelVideoScreenCount->setBuddy(m_pEditorVideoScreenCount);
     1687    m_pLabelRemoteDisplayPort->setBuddy(m_pEditorRemoteDisplayPort);
     1688    m_pLabelRemoteDisplayAuthMethod->setBuddy(m_pComboRemoteDisplayAuthMethod);
     1689    m_pLabelRemoteDisplayTimeout->setBuddy(m_pEditorRemoteDisplayTimeout);
     1690    m_pLabelCaptureMode->setBuddy(m_pEditorVideoCapturePath);
     1691    m_pLabelVideoCapturePath->setBuddy(m_pEditorVideoCapturePath);
     1692    m_pLabelVideoCaptureSize->setBuddy(m_pComboVideoCaptureSize);
     1693    m_pLabelVideoCaptureFrameRate->setBuddy(m_pSliderVideoCaptureFrameRate);
     1694    m_pLabelVideoCaptureRate->setBuddy(m_pSliderVideoCaptureQuality);
     1695    m_pAudioCaptureQualityLabel->setBuddy(m_pSliderAudioCaptureQuality);
     1696    m_pLabelVideoCaptureScreens->setBuddy(m_pScrollerVideoCaptureScreens);
     1697
     1698    QObject::connect(m_pCheckboxRemoteDisplay, &QCheckBox::toggled, m_pContainerRemoteDisplayOptions, &QWidget::setEnabled);
    11921699}
    11931700
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.h

    r84790 r85710  
    2424/* GUI includes: */
    2525#include "UISettingsPage.h"
    26 #include "UIMachineSettingsDisplay.gen.h"
    2726
    2827/* COM includes: */
     
    3029
    3130/* Forward declarations: */
     31class QCheckBox;
     32class QComboBox;
     33class QLabel;
     34class QLineEdit;
     35class QGridLayout;
     36class QSpinBox;
     37class QStackedLayout;
     38class QIAdvancedSlider;
     39class QITabWidget;
    3240class UIActionPool;
    3341struct UIDataSettingsMachineDisplay;
     42class UIFilePathSelector;
     43class UIFilmContainer;
     44class UIGraphicsControllerEditor;
     45class UIScaleFactorEditor;
     46class UIVideoMemoryEditor;
    3447typedef UISettingsCache<UIDataSettingsMachineDisplay> UISettingsCacheMachineDisplay;
    3548
    3649/** Machine settings: Display page. */
    37 class SHARED_LIBRARY_STUFF UIMachineSettingsDisplay : public UISettingsPageMachine,
    38                                                       public Ui::UIMachineSettingsDisplay
     50class SHARED_LIBRARY_STUFF UIMachineSettingsDisplay : public UISettingsPageMachine
    3951{
    4052    Q_OBJECT;
     
    134146    /** Prepares connections. */
    135147    void prepareConnections();
     148    /** Prepares widgets. */
     149    void prepareWidgets();
    136150    /** Cleanups all. */
    137151    void cleanup();
     
    174188    /** Holds the page data cache instance. */
    175189    UISettingsCacheMachineDisplay *m_pCache;
     190
     191    /** @name Widgets
     192     * @{ */
     193       QCheckBox *m_pCheckbox3D;
     194       QCheckBox *m_pCheckboxRemoteDisplay;
     195       QCheckBox *m_pCheckboxMultipleConn;
     196       QCheckBox *m_pCheckboxVideoCapture;
     197       QComboBox *m_pComboRemoteDisplayAuthMethod;
     198       QComboBox *m_pComboBoxCaptureMode;
     199       QComboBox *m_pComboVideoCaptureSize;
     200       QLabel *m_pLabelVideoScreenCountMin;
     201       QLabel *m_pLabelVideoScreenCountMax;
     202       QLabel *m_pLabelVideoCaptureFrameRateMin;
     203       QLabel *m_pLabelVideoCaptureFrameRateMax;
     204       QLabel *m_pLabelVideoCaptureQualityMin;
     205       QLabel *m_pLabelVideoCaptureQualityMed;
     206       QLabel *m_pLabelVideoCaptureQualityMax;
     207       QLabel *m_pLabelAudioCaptureQualityMin;
     208       QLabel *m_pLabelAudioCaptureQualityMed;
     209       QLabel *m_pLabelAudioCaptureQualityMax;
     210       QLabel *m_pVideoMemoryLabel;
     211       QLabel *m_pLabelVideoScreenCount;
     212       QLabel *m_pGraphicsControllerLabel;
     213       QLabel *m_pLabelVideoOptions;
     214       QLabel *m_pLabelRemoteDisplayOptions;
     215       QLabel *m_pLabelCaptureMode;
     216       QLabel *m_pLabelVideoCapturePath;
     217       QLabel *m_pLabelVideoCaptureSizeHint;
     218       QLabel *m_pLabelVideoCaptureSize;
     219       QLabel *m_pLabelVideoCaptureFrameRate;
     220       QLabel *m_pLabelVideoCaptureRate;
     221       QLabel *m_pAudioCaptureQualityLabel;
     222       QLabel *m_pLabelVideoCaptureScreens;
     223       QLabel *m_pLabelGuestScreenScaleFactorEditor;
     224       QLabel *m_pLabelRemoteDisplayPort;
     225       QLabel *m_pLabelRemoteDisplayAuthMethod;
     226       QLabel *m_pLabelRemoteDisplayTimeout;
     227       QLineEdit *m_pEditorRemoteDisplayPort;
     228       QLineEdit *m_pEditorRemoteDisplayTimeout;
     229       QSpinBox *m_pEditorVideoScreenCount;
     230       QSpinBox *m_pEditorVideoCaptureWidth;
     231       QSpinBox *m_pEditorVideoCaptureFrameRate;
     232       QSpinBox *m_pEditorVideoCaptureHeight;
     233       QSpinBox *m_pEditorVideoCaptureBitRate;
     234       UIGraphicsControllerEditor *m_pGraphicsControllerEditor;
     235       UIScaleFactorEditor *m_pScaleFactorEditor;
     236       UIVideoMemoryEditor *m_pVideoMemoryEditor;
     237       UIFilePathSelector *m_pEditorVideoCapturePath;
     238       UIFilmContainer *m_pScrollerVideoCaptureScreens;
     239       QIAdvancedSlider *m_pSliderAudioCaptureQuality;
     240       QIAdvancedSlider *m_pSliderVideoScreenCount;
     241       QIAdvancedSlider *m_pSliderVideoCaptureFrameRate;
     242       QIAdvancedSlider *m_pSliderVideoCaptureQuality;
     243       QITabWidget *m_pTabWidget;
     244       QWidget *m_pContainerRemoteDisplay;
     245       QWidget *m_pContainerRemoteDisplayOptions;
     246       QWidget *m_pContainerVideoCapture;
     247       QWidget *m_pContainerSliderVideoCaptureFrameRate;
     248       QWidget *m_pContainerSliderVideoCaptureQuality;
     249       QWidget *m_pContainerSliderAudioCaptureQuality;
     250       QWidget *m_pTabVideo;
     251       QWidget *m_pTabRemoteDisplay;
     252       QWidget *m_pTabVideoCapture;
     253       QGridLayout *m_pContainerLayoutSliderVideoCaptureQuality;
     254       QStackedLayout *m_pLayout3D;
     255   /** @} */
    176256};
    177257
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsInterface.cpp

    r85680 r85710  
    301301    m_pMenuBarEditor->setWhatsThis(tr("Allows to modify VM menu-bar contents."));
    302302    m_pLabelVisualState->setText(tr("Visual State:"));
    303     m_pVisualStateEditor->setWhatsThis(tr("Selects the visual state. If machine is running it will be applied as soon as possible, otherwise desired one will be defined."));
     303    m_pVisualStateEditor->setWhatsThis(tr("Selects the visual state. If machine is running it will be applied as soon as possible,"
     304                                          "otherwise desired one will be defined."));
    304305    m_pLabelMiniToolBar->setText(tr("Mini ToolBar:"));
    305306    m_pCheckBoxShowMiniToolBar->setWhatsThis(tr("When checked, show the Mini ToolBar in full-screen and seamless modes."));
    306307    m_pCheckBoxShowMiniToolBar->setText(tr("Show in &Full-screen/Seamless"));
    307     m_pComboToolBarAlignment->setWhatsThis(tr("When checked, show the Mini ToolBar at the top of the screen, rather than in its default position at the bottom of the screen."));
     308    m_pComboToolBarAlignment->setWhatsThis(tr("When checked, show the Mini ToolBar at the top of the screen, rather than in its"
     309                                              "default position at the bottom of the screen."));
    308310    m_pComboToolBarAlignment->setText(tr("Show at &Top of Screen"));
    309311    m_pStatusBarEditor->setWhatsThis(tr("Allows to modify VM status-bar contents."));
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette