VirtualBox

Changeset 9631

Show
Ignore:
Timestamp:
06/11/08 22:16:06 (6 months ago)
Author:
vboxsync
Message:

Fe/Qt4: HD VMSettings ported to qt4. VMSettings finally ported to qt4.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk

    r9618 r9631  
    369369VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsGeneral.ui,$(VirtualBox_QT_UISRCS3)) 
    370370VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsGeneral.ui 
     371 
     372VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsHD.ui,$(VirtualBox_QT_UISRCS3)) 
     373VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsHD.ui 
    371374 
    372375VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsCD.ui,$(VirtualBox_QT_UISRCS3)) 
     
    549552        include/VBoxVMSettingsUtils.h \ 
    550553        include/VBoxVMSettingsGeneral.h \ 
     554        include/VBoxVMSettingsHD.h \ 
    551555        include/VBoxVMSettingsCD.h \ 
    552556        include/VBoxVMSettingsFD.h \ 
     
    633637        src/VBoxDiskImageManagerDlg.cpp \ 
    634638        src/VBoxVMSettingsGeneral.cpp \ 
     639        src/VBoxVMSettingsHD.cpp \ 
    635640        src/VBoxVMSettingsCD.cpp \ 
    636641        src/VBoxVMSettingsFD.cpp \ 
  • trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMSettingsDlg.ui

    r9356 r9631  
    296296     </property> 
    297297     <widget class="QWidget" name="mPageGeneral" /> 
    298      <widget class="QWidget" name="mPageHdds" > 
    299       <layout class="QVBoxLayout" > 
    300        <property name="leftMargin" > 
    301         <number>0</number> 
    302        </property> 
    303        <property name="topMargin" > 
    304         <number>5</number> 
    305        </property> 
    306        <property name="rightMargin" > 
    307         <number>0</number> 
    308        </property> 
    309        <property name="bottomMargin" > 
    310         <number>0</number> 
    311        </property> 
    312        <item> 
    313         <widget class="QGroupBox" name="mGbHDA" > 
    314          <property name="whatsThis" > 
    315           <string>When checked, attaches the specified virtual hard disk to the Master slot of the Primary IDE controller.</string> 
    316          </property> 
    317          <property name="title" > 
    318           <string>&amp;Primary Master</string> 
    319          </property> 
    320          <property name="checkable" > 
    321           <bool>true</bool> 
    322          </property> 
    323          <property name="checked" > 
    324           <bool>false</bool> 
    325          </property> 
    326          <layout class="QGridLayout" > 
    327           <property name="topMargin" > 
    328            <number>5</number> 
    329           </property> 
    330           <item row="0" column="0" > 
    331            <widget class="VBoxMediaComboBox" name="mCbHDA" > 
    332             <property name="sizePolicy" > 
    333              <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 
    334               <horstretch>0</horstretch> 
    335               <verstretch>0</verstretch> 
    336              </sizepolicy> 
    337             </property> 
    338             <property name="whatsThis" > 
    339              <string>Displays the virtual hard disk to attach to this IDE slot and allows to quickly select a different hard disk.</string> 
    340             </property> 
    341            </widget> 
    342           </item> 
    343           <item row="0" column="1" > 
    344            <widget class="QToolButton" name="mTbHDA" > 
    345             <property name="whatsThis" > 
    346              <string>Invokes the Virtual Disk Manager to create a new or select an existing virtual hard disk to attach.</string> 
    347             </property> 
    348             <property name="text" > 
    349              <string/> 
    350             </property> 
    351             <property name="autoRaise" > 
    352              <bool>true</bool> 
    353             </property> 
    354            </widget> 
    355           </item> 
    356           <item row="1" column="0" colspan="2" > 
    357            <widget class="QLabel" name="mLbHDA" > 
    358             <property name="text" > 
    359              <string>&lt;not attached></string> 
    360             </property> 
    361            </widget> 
    362           </item> 
    363          </layout> 
    364         </widget> 
    365        </item> 
    366        <item> 
    367         <widget class="QGroupBox" name="mGbHDB" > 
    368          <property name="whatsThis" > 
    369           <string>When checked, attaches the specified virtual hard disk to the Slave slot of the Primary IDE controller.</string> 
    370          </property> 
    371          <property name="title" > 
    372           <string>P&amp;rimary Slave</string> 
    373          </property> 
    374          <property name="checkable" > 
    375           <bool>true</bool> 
    376          </property> 
    377          <property name="checked" > 
    378           <bool>false</bool> 
    379          </property> 
    380          <layout class="QGridLayout" > 
    381           <property name="topMargin" > 
    382            <number>5</number> 
    383           </property> 
    384           <item row="0" column="0" > 
    385            <widget class="VBoxMediaComboBox" name="mCbHDB" > 
    386             <property name="sizePolicy" > 
    387              <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 
    388               <horstretch>0</horstretch> 
    389               <verstretch>0</verstretch> 
    390              </sizepolicy> 
    391             </property> 
    392             <property name="whatsThis" > 
    393              <string>Displays the virtual hard disk to attach to this IDE slot and allows to quickly select a different hard disk.</string> 
    394             </property> 
    395            </widget> 
    396           </item> 
    397           <item row="0" column="1" > 
    398            <widget class="QToolButton" name="mTbHDB" > 
    399             <property name="whatsThis" > 
    400              <string>Invokes the Virtual Disk Manager to create a new or select an existing virtual hard disk to attach.</string> 
    401             </property> 
    402             <property name="text" > 
    403              <string/> 
    404             </property> 
    405             <property name="autoRaise" > 
    406              <bool>true</bool> 
    407             </property> 
    408            </widget> 
    409           </item> 
    410           <item row="1" column="0" colspan="2" > 
    411            <widget class="QLabel" name="mLbHDB" > 
    412             <property name="text" > 
    413              <string>&lt;not attached></string> 
    414             </property> 
    415            </widget> 
    416           </item> 
    417          </layout> 
    418         </widget> 
    419        </item> 
    420        <item> 
    421         <widget class="QGroupBox" name="mGbHDD" > 
    422          <property name="whatsThis" > 
    423           <string>When checked, attaches the specified virtual hard disk to the Slave slot of the Secondary IDE controller.</string> 
    424          </property> 
    425          <property name="title" > 
    426           <string>&amp;Secondary (IDE 1) Slave</string> 
    427          </property> 
    428          <property name="checkable" > 
    429           <bool>true</bool> 
    430          </property> 
    431          <property name="checked" > 
    432           <bool>false</bool> 
    433          </property> 
    434          <layout class="QGridLayout" > 
    435           <property name="topMargin" > 
    436            <number>5</number> 
    437           </property> 
    438           <item row="0" column="0" > 
    439            <widget class="VBoxMediaComboBox" name="mCbHDD" > 
    440             <property name="sizePolicy" > 
    441              <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 
    442               <horstretch>0</horstretch> 
    443               <verstretch>0</verstretch> 
    444              </sizepolicy> 
    445             </property> 
    446             <property name="whatsThis" > 
    447              <string>Displays the virtual hard disk to attach to this IDE slot and allows to quickly select a different hard disk.</string> 
    448             </property> 
    449            </widget> 
    450           </item> 
    451           <item row="0" column="1" > 
    452            <widget class="QToolButton" name="mTbHDD" > 
    453             <property name="whatsThis" > 
    454              <string>Invokes the Virtual Disk Manager to create a new or select an existing virtual hard disk to attach.</string> 
    455             </property> 
    456             <property name="text" > 
    457              <string/> 
    458             </property> 
    459             <property name="autoRaise" > 
    460              <bool>true</bool> 
    461             </property> 
    462            </widget> 
    463           </item> 
    464           <item row="1" column="0" colspan="2" > 
    465            <widget class="QLabel" name="mLbHDD" > 
    466             <property name="text" > 
    467              <string>&lt;not attached></string> 
    468             </property> 
    469            </widget> 
    470           </item> 
    471          </layout> 
    472         </widget> 
    473        </item> 
    474        <item> 
    475         <spacer> 
    476          <property name="orientation" > 
    477           <enum>Qt::Vertical</enum> 
    478          </property> 
    479          <property name="sizeHint" > 
    480           <size> 
    481            <width>20</width> 
    482            <height>31</height> 
    483           </size> 
    484          </property> 
    485         </spacer> 
    486        </item> 
    487       </layout> 
    488      </widget> 
     298     <widget class="QWidget" name="mPageHD" /> 
    489299     <widget class="QWidget" name="mPageCD" /> 
    490300     <widget class="QWidget" name="mPageFD" /> 
     
    605415  </layout> 
    606416 </widget> 
    607  <customwidgets> 
    608   <customwidget> 
    609    <class>VBoxMediaComboBox</class> 
    610    <extends>QComboBox</extends> 
    611    <header>VBoxMediaComboBox.h</header> 
    612   </customwidget> 
    613  </customwidgets> 
    614417 <resources> 
    615418  <include location="../VirtualBox.qrc" /> 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy