VirtualBox

Ignore:
Timestamp:
Jul 15, 2008 3:22:19 PM (17 years ago)
Author:
vboxsync
Message:

FE/Qt4: VM HD settings face lift.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMSettingsHD.ui

    r10525 r10671  
    2323    <x>0</x>
    2424    <y>0</y>
    25     <width>336</width>
    26     <height>306</height>
     25    <width>326</width>
     26    <height>312</height>
    2727   </rect>
    2828  </property>
    29   <layout class="QVBoxLayout" >
    30    <property name="leftMargin" >
    31     <number>0</number>
    32    </property>
    33    <property name="topMargin" >
    34     <number>5</number>
    35    </property>
    36    <property name="rightMargin" >
    37     <number>0</number>
    38    </property>
    39    <property name="bottomMargin" >
    40     <number>5</number>
    41    </property>
    42    <item>
    43     <widget class="QGroupBox" name="mGbHD" >
    44      <property name="title" >
    45       <string>&amp;Hard Disks</string>
     29  <layout class="QGridLayout" >
     30   <item row="0" column="0" >
     31    <widget class="QCheckBox" name="mCbSATA" >
     32     <property name="whatsThis" >
     33      <string>When checked, enables the virtual SATA controller of this machine. Note that you cannot attach hard disks to SATA ports when the virtual SATA controller is disabled.</string>
    4634     </property>
    47      <layout class="QVBoxLayout" >
     35     <property name="text" >
     36      <string>&amp;Enable SATA Controller</string>
     37     </property>
     38    </widget>
     39   </item>
     40   <item row="1" column="0" >
     41    <widget class="QILabelSeparator" name="label" >
     42     <property name="sizePolicy" >
     43      <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
     44       <horstretch>0</horstretch>
     45       <verstretch>0</verstretch>
     46      </sizepolicy>
     47     </property>
     48     <property name="text" >
     49      <string>&amp;Attachments</string>
     50     </property>
     51     <property name="buddy" >
     52      <cstring>mTwAts</cstring>
     53     </property>
     54    </widget>
     55   </item>
     56   <item row="2" column="0" >
     57    <widget class="QWidget" native="1" name="mGbAts" >
     58     <property name="minimumSize" >
     59      <size>
     60       <width>0</width>
     61       <height>200</height>
     62      </size>
     63     </property>
     64     <layout class="QHBoxLayout" >
     65      <property name="leftMargin" >
     66       <number>0</number>
     67      </property>
    4868      <property name="topMargin" >
    49        <number>5</number>
     69       <number>0</number>
     70      </property>
     71      <property name="rightMargin" >
     72       <number>0</number>
     73      </property>
     74      <property name="bottomMargin" >
     75       <number>0</number>
    5076      </property>
    5177      <item>
    52        <widget class="QCheckBox" name="mCbSATA" >
     78       <widget class="QITableView" name="mTwAts" >
     79        <property name="contextMenuPolicy" >
     80         <enum>Qt::ActionsContextMenu</enum>
     81        </property>
    5382        <property name="whatsThis" >
    54          <string>When checked, enables the virtual SATA controller of this machine. Note that you cannot attach hard disks to SATA ports when the virtual SATA controller is disabled.</string>
     83         <string>Lists all hard disks attached to this machine. Use a mouse click or the F2 key on the highlighted item to activate the drop-down list and choose the desired value. Use the context menu or buttons to the right to add or remove hard disk attachments.</string>
    5584        </property>
    56         <property name="text" >
    57          <string>&amp;Enable SATA Controller</string>
     85        <property name="horizontalScrollBarPolicy" >
     86         <enum>Qt::ScrollBarAlwaysOff</enum>
    5887        </property>
    59        </widget>
    60       </item>
    61       <item>
    62        <widget class="QGroupBox" name="mGbAts" >
    63         <property name="title" >
    64          <string>Hard Disks &amp;Attachments</string>
     88        <property name="editTriggers" >
     89         <set>QAbstractItemView::NoEditTriggers</set>
    6590        </property>
    66         <layout class="QHBoxLayout" >
    67          <property name="topMargin" >
    68           <number>5</number>
    69          </property>
    70          <item>
    71           <widget class="QITableView" name="mTwAts" >
    72            <property name="minimumSize" >
    73             <size>
    74              <width>0</width>
    75              <height>200</height>
    76             </size>
    77            </property>
    78            <property name="contextMenuPolicy" >
    79             <enum>Qt::ActionsContextMenu</enum>
    80            </property>
    81            <property name="whatsThis" >
    82             <string>Lists all hard disks attached to this machine. Use a mouse click or the F2 key on the highlighted item to activate the drop-down list and choose the desired value. Use the context menu or buttons to the right to add or remove hard disk attachments.</string>
    83            </property>
    84            <property name="horizontalScrollBarPolicy" >
    85             <enum>Qt::ScrollBarAlwaysOff</enum>
    86            </property>
    87            <property name="editTriggers" >
    88             <set>QAbstractItemView::NoEditTriggers</set>
    89            </property>
    90            <property name="tabKeyNavigation" >
    91             <bool>false</bool>
    92            </property>
    93            <property name="selectionMode" >
    94             <enum>QAbstractItemView::SingleSelection</enum>
    95            </property>
    96            <property name="showGrid" >
    97             <bool>false</bool>
    98            </property>
    99            <property name="gridStyle" >
    100             <enum>Qt::NoPen</enum>
    101            </property>
    102            <property name="cornerButtonEnabled" >
    103             <bool>false</bool>
    104            </property>
    105           </widget>
    106          </item>
    107         </layout>
     91        <property name="tabKeyNavigation" >
     92         <bool>false</bool>
     93        </property>
     94        <property name="selectionMode" >
     95         <enum>QAbstractItemView::SingleSelection</enum>
     96        </property>
     97        <property name="showGrid" >
     98         <bool>false</bool>
     99        </property>
     100        <property name="gridStyle" >
     101         <enum>Qt::NoPen</enum>
     102        </property>
     103        <property name="cornerButtonEnabled" >
     104         <bool>false</bool>
     105        </property>
    108106       </widget>
    109107      </item>
     
    119117   <header>VBoxSettingsUtils.h</header>
    120118  </customwidget>
     119  <customwidget>
     120   <class>QILabelSeparator</class>
     121   <extends>QLabel</extends>
     122   <header>QILabelSeparator.h</header>
     123  </customwidget>
    121124 </customwidgets>
    122125 <resources/>
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