VirtualBox

Changeset 8743

Show
Ignore:
Timestamp:
05/09/08 16:11:34 (2 months ago)
Author:
vboxsync
Message:

FE/Qt4: Fixed last Qt3 warnings, added QIDialogButtonBox & copyright notice.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxTakeSnapshotDlg.ui

    r7669 r8743  
    11<ui version="4.0" > 
     2 <comment> 
     3 VBox frontends: Qt4 GUI ("VirtualBox"): 
     4 
     5 Copyright (C) 2008 Sun Microsystems, Inc. 
     6 
     7 This file is part of VirtualBox Open Source Edition (OSE), as 
     8 available from http://www.virtualbox.org. This file is free software; 
     9 you can redistribute it and/or modify it under the terms of the GNU 
     10 General Public License (GPL) as published by the Free Software 
     11 Foundation, in version 2 as it comes in the "COPYING" file of the 
     12 VirtualBox OSE distribution. VirtualBox OSE is distributed in the 
     13 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 
     14 
     15 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa 
     16 Clara, CA 95054 USA or visit http://www.sun.com if you need 
     17 additional information or have any questions. 
     18 </comment> 
    219 <class>VBoxTakeSnapshotDlg</class> 
    320 <widget class="QDialog" name="VBoxTakeSnapshotDlg" > 
     
    96113   </item> 
    97114   <item> 
    98     <layout class="QHBoxLayout" > 
    99      <item> 
    100       <widget class="QPushButton" name="mBtnHelp" > 
    101        <property name="text" > 
    102         <string>Help</string> 
    103        </property> 
    104        <property name="shortcut" > 
    105         <string>F1</string> 
    106        </property> 
    107       </widget> 
    108      </item> 
    109      <item> 
    110       <spacer> 
    111        <property name="orientation" > 
    112         <enum>Qt::Horizontal</enum> 
    113        </property> 
    114        <property name="sizeHint" > 
    115         <size> 
    116          <width>40</width> 
    117          <height>20</height> 
    118         </size> 
    119        </property> 
    120       </spacer> 
    121      </item> 
    122      <item> 
    123       <widget class="QPushButton" name="mBtnOk" > 
    124        <property name="text" > 
    125         <string>&amp;Ok</string> 
    126        </property> 
    127        <property name="default" > 
    128         <bool>true</bool> 
    129        </property> 
    130       </widget> 
    131      </item> 
    132      <item> 
    133       <widget class="QPushButton" name="mBtnCancel" > 
    134        <property name="text" > 
    135         <string>Cancel</string> 
    136        </property> 
    137       </widget> 
    138      </item> 
    139     </layout> 
     115    <widget class="QIDialogButtonBox" name="mButtonBox" > 
     116     <property name="standardButtons" > 
     117      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set> 
     118     </property> 
     119    </widget> 
    140120   </item> 
    141121  </layout> 
    142122 </widget> 
     123 <customwidgets> 
     124  <customwidget> 
     125   <class>QIDialogButtonBox</class> 
     126   <extends>QDialogButtonBox</extends> 
     127   <header>QIDialogButtonBox.h</header> 
     128  </customwidget> 
     129 </customwidgets> 
    143130 <resources/> 
    144  <connections/> 
     131 <connections> 
     132  <connection> 
     133   <sender>mButtonBox</sender> 
     134   <signal>accepted()</signal> 
     135   <receiver>VBoxTakeSnapshotDlg</receiver> 
     136   <slot>accept()</slot> 
     137   <hints> 
     138    <hint type="sourcelabel" > 
     139     <x>156</x> 
     140     <y>216</y> 
     141    </hint> 
     142    <hint type="destinationlabel" > 
     143     <x>156</x> 
     144     <y>119</y> 
     145    </hint> 
     146   </hints> 
     147  </connection> 
     148  <connection> 
     149   <sender>mButtonBox</sender> 
     150   <signal>rejected()</signal> 
     151   <receiver>VBoxTakeSnapshotDlg</receiver> 
     152   <slot>reject()</slot> 
     153   <hints> 
     154    <hint type="sourcelabel" > 
     155     <x>156</x> 
     156     <y>216</y> 
     157    </hint> 
     158    <hint type="destinationlabel" > 
     159     <x>156</x> 
     160     <y>119</y> 
     161    </hint> 
     162   </hints> 
     163  </connection> 
     164 </connections> 
    145165</ui> 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy