VirtualBox

Ignore:
Timestamp:
Jul 16, 2013 1:33:00 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: Global properties: Display page: Fixing MacOS X layout bug.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings/global
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsDisplay.cpp

    r43459 r47189  
    77
    88/*
    9  * Copyright (C) 2012 Oracle Corporation
     9 * Copyright (C) 2012-2013 Oracle Corporation
    1010 *
    1111 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    124124}
    125125
    126 /* Navigation stuff: */
    127 void UIGlobalSettingsDisplay::setOrderAfter(QWidget* /* pWidget */)
     126void UIGlobalSettingsDisplay::setOrderAfter(QWidget*)
    128127{
    129128}
    130129
    131 /* Translation stuff: */
    132130void UIGlobalSettingsDisplay::retranslateUi()
    133131{
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsDisplay.h

    r43459 r47189  
    66
    77/*
    8  * Copyright (C) 2012 Oracle Corporation
     8 * Copyright (C) 2012-2013 Oracle Corporation
    99 *
    1010 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    5656    void saveFromCacheTo(QVariant &data);
    5757
    58     /* Navigation stuff: */
     58    /* Helper: Navigation stuff: */
    5959    void setOrderAfter(QWidget *pWidget);
    6060
    61     /* Translation stuff: */
     61    /* Helper: Translation stuff: */
    6262    void retranslateUi();
    6363
    6464protected slots:
    6565
    66     /* Max resolution combo activation handler: */
     66    /* Handler: Resolution-combo stuff: */
    6767    void sltMaxResolutionComboActivated();
    6868
    6969private:
    7070
    71     /* Populate combo-box: */
     71    /* Helper: Resolution-combo stuff: */
    7272    void populate();
    7373
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsDisplay.ui

    r43106 r47189  
    33 VBox frontends: Qt4 GUI ("VirtualBox"):
    44
    5  Copyright (C) 2012 Oracle Corporation
     5 Copyright (C) 2012-2013 Oracle Corporation
    66
    77 This file is part of VirtualBox Open Source Edition (OSE), as
     
    1515 <class>UIGlobalSettingsDisplay</class>
    1616 <widget class="QWidget" name="UIGlobalSettingsDisplay">
    17   <property name="geometry">
    18    <rect>
    19     <x>0</x>
    20     <y>0</y>
    21     <width>350</width>
    22     <height>250</height>
    23    </rect>
    24   </property>
    2517  <layout class="QGridLayout">
    2618   <property name="margin">
     
    2820   </property>
    2921   <item row="0" column="0">
    30     <spacer>
    31      <property name="orientation">
    32       <enum>Qt::Horizontal</enum>
    33      </property>
    34      <property name="sizeType">
    35       <enum>QSizePolicy::Fixed</enum>
    36      </property>
    37      <property name="sizeHint">
    38       <size>
    39        <width>40</width>
    40        <height>20</height>
    41       </size>
    42      </property>
    43     </spacer>
    44    </item>
    45    <item row="0" column="1">
    4622    <widget class="QLabel" name="m_pMaxResolutionLabel">
    47      <property name="sizePolicy">
    48       <sizepolicy vsizetype="Minimum" hsizetype="Minimum">
    49        <horstretch>0</horstretch>
    50        <verstretch>0</verstretch>
    51       </sizepolicy>
    52      </property>
    5323     <property name="text">
    5424      <string>Maximum Guest Screen &amp;Size:</string>
     
    6232    </widget>
    6333   </item>
    64    <item row="0" column="2">
     34   <item row="0" column="1">
    6535    <widget class="QComboBox" name="m_pMaxResolutionCombo">
    6636     <property name="sizePolicy">
    67       <sizepolicy vsizetype="Minimum" hsizetype="MinimumExpanding">
     37      <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding">
    6838       <horstretch>1</horstretch>
    6939       <verstretch>0</verstretch>
     
    7242    </widget>
    7343   </item>
    74    <item row="1" column="1">
     44   <item row="1" column="0">
    7545    <widget class="QLabel" name="m_pResolutionWidthLabel">
    76      <property name="sizePolicy">
    77       <sizepolicy vsizetype="Minimum" hsizetype="Minimum">
    78        <horstretch>0</horstretch>
    79        <verstretch>0</verstretch>
    80       </sizepolicy>
    81      </property>
    8246     <property name="text">
    8347      <string>&amp;Width:</string>
     
    9155    </widget>
    9256   </item>
    93    <item row="1" column="2">
     57   <item row="1" column="1">
    9458    <widget class="QSpinBox" name="m_pResolutionWidthSpin">
    9559     <property name="sizePolicy">
     
    10468    </widget>
    10569   </item>
    106    <item row="2" column="1">
     70   <item row="2" column="0">
    10771    <widget class="QLabel" name="m_pResolutionHeightLabel">
    108      <property name="sizePolicy">
    109       <sizepolicy vsizetype="Minimum" hsizetype="Minimum">
    110        <horstretch>0</horstretch>
    111        <verstretch>0</verstretch>
    112       </sizepolicy>
    113      </property>
    11472     <property name="text">
    11573      <string>&amp;Height:</string>
     
    12381    </widget>
    12482   </item>
    125    <item row="2" column="2">
     83   <item row="2" column="1">
    12684    <widget class="QSpinBox" name="m_pResolutionHeightSpin">
    12785     <property name="sizePolicy">
     
    13694    </widget>
    13795   </item>
    138    <item row="3" column="1" colspan="2">
     96   <item row="3" column="0" colspan="2">
    13997    <spacer>
    14098     <property name="orientation">
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsGeneral.h

    r47130 r47189  
    6161    void saveFromCacheTo(QVariant &data);
    6262
    63     /* Navigation stuff: */
     63    /* Helper: Navigation stuff: */
    6464    void setOrderAfter(QWidget *pWidget);
    6565
    66     /* Translation stuff: */
     66    /* Helper: Translation stuff: */
    6767    void retranslateUi();
    6868
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.h

    r44754 r47189  
    139139    void saveFromCacheTo(QVariant &data);
    140140
    141     /* Validation stuff: */
     141    /* Helpers: Validation stuff: */
    142142    void setValidator(QIWidgetValidator *pValidator);
    143143    bool revalidate(QString &strWarning, QString &strTitle);
    144144
    145     /* Navigation stuff: */
     145    /* Helper: Navigation stuff: */
    146146    void setOrderAfter(QWidget *pWidget);
    147147
    148     /* Translation stuff: */
     148    /* Helper: Translation stuff: */
    149149    void retranslateUi();
    150150
Note: See TracChangeset for help on using the changeset viewer.

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