VirtualBox

Ignore:
Timestamp:
May 9, 2008 12:25:03 PM (17 years ago)
Author:
vboxsync
Message:

FE/Qt4:
new QIButtonDialogBox:

  • auto set the properties of the help button

Snapshot Detail Dialog:

  • fixed last Qt3 support warnings
  • disabled auto fill background of the summary window (OSX)
  • added new QIButtonDialogBox
  • added copyright notice
File:
1 edited

Legend:

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

    r7583 r8740  
    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>VBoxSnapshotDetailsDlg</class>
    320 <widget class="QDialog" name="VBoxSnapshotDetailsDlg" >
     
    108125   </item>
    109126   <item>
    110     <layout class="QHBoxLayout" >
    111      <item>
    112       <widget class="QPushButton" name="mBtnHelp" >
    113        <property name="text" >
    114         <string>Help</string>
    115        </property>
    116        <property name="shortcut" >
    117         <string>F1</string>
    118        </property>
    119       </widget>
    120      </item>
    121      <item>
    122       <spacer>
    123        <property name="orientation" >
    124         <enum>Qt::Horizontal</enum>
    125        </property>
    126        <property name="sizeHint" >
    127         <size>
    128          <width>40</width>
    129          <height>20</height>
    130         </size>
    131        </property>
    132       </spacer>
    133      </item>
    134      <item>
    135       <widget class="QPushButton" name="mBtnOk" >
    136        <property name="text" >
    137         <string>&amp;OK</string>
    138        </property>
    139        <property name="default" >
    140         <bool>true</bool>
    141        </property>
    142       </widget>
    143      </item>
    144      <item>
    145       <widget class="QPushButton" name="mBtnCancel" >
    146        <property name="text" >
    147         <string>Cancel</string>
    148        </property>
    149       </widget>
    150      </item>
    151     </layout>
     127    <widget class="QIDialogButtonBox" name="mButtonBox" >
     128     <property name="standardButtons" >
     129      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
     130     </property>
     131    </widget>
    152132   </item>
    153133  </layout>
    154134 </widget>
     135 <customwidgets>
     136  <customwidget>
     137   <class>QIDialogButtonBox</class>
     138   <extends>QDialogButtonBox</extends>
     139   <header>QIDialogButtonBox.h</header>
     140  </customwidget>
     141 </customwidgets>
    155142 <resources>
    156143  <include location="../VirtualBox.qrc" />
    157144 </resources>
    158  <connections/>
     145 <connections>
     146  <connection>
     147   <sender>mButtonBox</sender>
     148   <signal>accepted()</signal>
     149   <receiver>VBoxSnapshotDetailsDlg</receiver>
     150   <slot>accept()</slot>
     151   <hints>
     152    <hint type="sourcelabel" >
     153     <x>203</x>
     154     <y>365</y>
     155    </hint>
     156    <hint type="destinationlabel" >
     157     <x>203</x>
     158     <y>193</y>
     159    </hint>
     160   </hints>
     161  </connection>
     162  <connection>
     163   <sender>mButtonBox</sender>
     164   <signal>rejected()</signal>
     165   <receiver>VBoxSnapshotDetailsDlg</receiver>
     166   <slot>reject()</slot>
     167   <hints>
     168    <hint type="sourcelabel" >
     169     <x>203</x>
     170     <y>365</y>
     171    </hint>
     172    <hint type="destinationlabel" >
     173     <x>203</x>
     174     <y>193</y>
     175    </hint>
     176   </hints>
     177  </connection>
     178 </connections>
    159179</ui>
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