VirtualBox

Changeset 7583 in vbox for trunk/src


Ignore:
Timestamp:
Mar 26, 2008 3:49:53 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
29075
Message:

VBoxSnapshotDetailsDlg ported qt3->qt4

Location:
trunk/src/VBox/Frontends/VirtualBox4
Files:
1 deleted
2 edited

Legend:

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

    r7560 r7583  
    278278VirtualBox_QT_UISRCS4 += ui/VBoxSharedFoldersSettings.ui
    279279
     280VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxSnapshotDetailsDlg.ui,$(VirtualBox_QT_UISRCS3))
     281VirtualBox_QT_UISRCS4 += ui/VBoxSnapshotDetailsDlg.ui
     282
    280283
    281284#
     
    416419        include/VBoxVMFirstRunWzd.h \
    417420        include/VBoxRegistrationDlg.h \
    418         include/VBoxSharedFoldersSettings.h
     421        include/VBoxSharedFoldersSettings.h \
     422        include/VBoxSnapshotDetailsDlg.h
    419423
    420424# Sources containing local definitions of classes that use the Q_OBJECT macro
     
    489493        src/VBoxVMFirstRunWzd.cpp \
    490494        src/VBoxRegistrationDlg.cpp \
    491         src/VBoxSharedFoldersSettings.cpp
     495        src/VBoxSharedFoldersSettings.cpp \
     496        src/VBoxSnapshotDetailsDlg.cpp
    492497
    493498ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(BUILD_TARGET)),) # X11
  • trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxSnapshotDetailsDlg.ui

    r5999 r7583  
    1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
    2 <class>VBoxSnapshotDetailsDlg</class>
    3 <comment>
    4 :mode=html:tabSize=4:indentSize=4:noTabs=true:
    5 :folding=explicit:collapseFolds=1:
    6 
    7      Copyright (C) 2006-2007 innotek GmbH
    8    
    9      This file is part of VirtualBox Open Source Edition (OSE), as
    10      available from http://www.virtualbox.org. This file is free software;
    11      you can redistribute it and/or modify it under the terms of the GNU
    12      General Public License (GPL) as published by the Free Software
    13      Foundation, in version 2 as it comes in the "COPYING" file of the
    14      VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    15      hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    16 </comment>
    17 <widget class="QDialog">
    18     <property name="name">
    19         <cstring>VBoxSnapshotDetailsDlg</cstring>
    20     </property>
    21     <property name="geometry">
    22         <rect>
    23             <x>0</x>
    24             <y>0</y>
    25             <width>510</width>
    26             <height>454</height>
    27         </rect>
    28     </property>
    29     <property name="caption">
    30         <string>VBoxSnapshotDetailsDlg</string>
    31     </property>
    32     <property name="sizeGripEnabled">
     1<ui version="4.0" >
     2 <class>VBoxSnapshotDetailsDlg</class>
     3 <widget class="QDialog" name="VBoxSnapshotDetailsDlg" >
     4  <property name="geometry" >
     5   <rect>
     6    <x>0</x>
     7    <y>0</y>
     8    <width>408</width>
     9    <height>388</height>
     10   </rect>
     11  </property>
     12  <property name="windowTitle" >
     13   <string>VBoxSnapshotDetailsDlg</string>
     14  </property>
     15  <property name="windowIcon" >
     16   <iconset resource="../VirtualBox.qrc" >:/settings_16px.png</iconset>
     17  </property>
     18  <layout class="QVBoxLayout" >
     19   <item>
     20    <widget class="QGroupBox" name="mGbSnapshotDetails" >
     21     <property name="title" >
     22      <string>Snapshot Details</string>
     23     </property>
     24     <layout class="QVBoxLayout" >
     25      <property name="topMargin" >
     26       <number>4</number>
     27      </property>
     28      <item>
     29       <layout class="QVBoxLayout" >
     30        <item>
     31         <widget class="QLabel" name="mTxName" >
     32          <property name="text" >
     33           <string>&amp;Name</string>
     34          </property>
     35          <property name="buddy" >
     36           <cstring>mLeName</cstring>
     37          </property>
     38         </widget>
     39        </item>
     40        <item>
     41         <widget class="QLineEdit" name="mLeName" />
     42        </item>
     43       </layout>
     44      </item>
     45      <item>
     46       <layout class="QVBoxLayout" >
     47        <item>
     48         <widget class="QLabel" name="mTxDescription" >
     49          <property name="text" >
     50           <string>&amp;Description</string>
     51          </property>
     52          <property name="buddy" >
     53           <cstring>mTeDescription</cstring>
     54          </property>
     55         </widget>
     56        </item>
     57        <item>
     58         <widget class="QTextEdit" name="mTeDescription" >
     59          <property name="sizePolicy" >
     60           <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
     61            <horstretch>0</horstretch>
     62            <verstretch>0</verstretch>
     63           </sizepolicy>
     64          </property>
     65          <property name="tabChangesFocus" >
     66           <bool>true</bool>
     67          </property>
     68          <property name="acceptRichText" >
     69           <bool>false</bool>
     70          </property>
     71         </widget>
     72        </item>
     73       </layout>
     74      </item>
     75     </layout>
     76    </widget>
     77   </item>
     78   <item>
     79    <widget class="QGroupBox" name="mGbMachineDetails" >
     80     <property name="title" >
     81      <string>&amp;Machine Details</string>
     82     </property>
     83     <layout class="QVBoxLayout" >
     84      <property name="topMargin" >
     85       <number>4</number>
     86      </property>
     87      <item>
     88       <widget class="QTextEdit" name="mTeSummary" >
     89        <property name="sizePolicy" >
     90         <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
     91          <horstretch>0</horstretch>
     92          <verstretch>0</verstretch>
     93         </sizepolicy>
     94        </property>
     95        <property name="frameShape" >
     96         <enum>QFrame::NoFrame</enum>
     97        </property>
     98        <property name="frameShadow" >
     99         <enum>QFrame::Plain</enum>
     100        </property>
     101        <property name="readOnly" >
     102         <bool>true</bool>
     103        </property>
     104       </widget>
     105      </item>
     106     </layout>
     107    </widget>
     108   </item>
     109   <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" >
    33140        <bool>true</bool>
    34     </property>
    35     <vbox>
    36         <property name="name">
    37             <cstring>unnamed</cstring>
    38         </property>
    39         <property name="spacing">
    40             <number>10</number>
    41         </property>
    42         <property name="resizeMode">
    43             <enum>Minimum</enum>
    44         </property>
    45         <widget class="QGroupBox">
    46             <property name="name">
    47                 <cstring>groupBox2</cstring>
    48             </property>
    49             <property name="sizePolicy">
    50                 <sizepolicy>
    51                     <hsizetype>5</hsizetype>
    52                     <vsizetype>4</vsizetype>
    53                     <horstretch>0</horstretch>
    54                     <verstretch>1</verstretch>
    55                 </sizepolicy>
    56             </property>
    57             <property name="title">
    58                 <string> Snapshot Details </string>
    59             </property>
    60             <vbox>
    61                 <property name="name">
    62                     <cstring>unnamed</cstring>
    63                 </property>
    64                 <widget class="QLayoutWidget">
    65                     <property name="name">
    66                         <cstring>layout4</cstring>
    67                     </property>
    68                     <vbox>
    69                         <property name="name">
    70                             <cstring>unnamed</cstring>
    71                         </property>
    72                         <widget class="QLabel">
    73                             <property name="name">
    74                                 <cstring>txName</cstring>
    75                             </property>
    76                             <property name="text">
    77                                 <string>&amp;Name</string>
    78                             </property>
    79                             <property name="buddy" stdset="0">
    80                                 <cstring>leName</cstring>
    81                             </property>
    82                         </widget>
    83                         <widget class="QLineEdit">
    84                             <property name="name">
    85                                 <cstring>leName</cstring>
    86                             </property>
    87                             <property name="frameShape">
    88                                 <enum>LineEditPanel</enum>
    89                             </property>
    90                             <property name="frameShadow">
    91                                 <enum>Sunken</enum>
    92                             </property>
    93                         </widget>
    94                     </vbox>
    95                 </widget>
    96                 <widget class="QLayoutWidget">
    97                     <property name="name">
    98                         <cstring>layout6</cstring>
    99                     </property>
    100                     <vbox>
    101                         <property name="name">
    102                             <cstring>unnamed</cstring>
    103                         </property>
    104                         <widget class="QLabel">
    105                             <property name="name">
    106                                 <cstring>txDescription</cstring>
    107                             </property>
    108                             <property name="text">
    109                                 <string>&amp;Description</string>
    110                             </property>
    111                             <property name="buddy" stdset="0">
    112                                 <cstring>txeDescription</cstring>
    113                             </property>
    114                         </widget>
    115                         <widget class="QTextEdit">
    116                             <property name="name">
    117                                 <cstring>txeDescription</cstring>
    118                             </property>
    119                             <property name="sizePolicy">
    120                                 <sizepolicy>
    121                                     <hsizetype>5</hsizetype>
    122                                     <vsizetype>7</vsizetype>
    123                                     <horstretch>0</horstretch>
    124                                     <verstretch>0</verstretch>
    125                                 </sizepolicy>
    126                             </property>
    127                             <property name="textFormat">
    128                                 <enum>PlainText</enum>
    129                             </property>
    130                             <property name="tabChangesFocus">
    131                                 <bool>true</bool>
    132                             </property>
    133                         </widget>
    134                     </vbox>
    135                 </widget>
    136             </vbox>
    137         </widget>
    138         <widget class="QGroupBox">
    139             <property name="name">
    140                 <cstring>groupBox1</cstring>
    141             </property>
    142             <property name="sizePolicy">
    143                 <sizepolicy>
    144                     <hsizetype>5</hsizetype>
    145                     <vsizetype>7</vsizetype>
    146                     <horstretch>0</horstretch>
    147                     <verstretch>2</verstretch>
    148                 </sizepolicy>
    149             </property>
    150             <property name="title">
    151                 <string>&amp;Machine Details</string>
    152             </property>
    153             <hbox>
    154                 <property name="name">
    155                     <cstring>unnamed</cstring>
    156                 </property>
    157                 <widget class="QTextEdit">
    158                     <property name="name">
    159                         <cstring>txeSummary</cstring>
    160                     </property>
    161                     <property name="sizePolicy">
    162                         <sizepolicy>
    163                             <hsizetype>3</hsizetype>
    164                             <vsizetype>3</vsizetype>
    165                             <horstretch>0</horstretch>
    166                             <verstretch>0</verstretch>
    167                         </sizepolicy>
    168                     </property>
    169                     <property name="frameShape">
    170                         <enum>NoFrame</enum>
    171                     </property>
    172                     <property name="readOnly">
    173                         <bool>true</bool>
    174                     </property>
    175                 </widget>
    176             </hbox>
    177         </widget>
    178         <widget class="QLayoutWidget">
    179             <property name="name">
    180                 <cstring>layout23</cstring>
    181             </property>
    182             <hbox>
    183                 <property name="name">
    184                     <cstring>unnamed</cstring>
    185                 </property>
    186                 <widget class="QPushButton">
    187                     <property name="name">
    188                         <cstring>buttonHelp</cstring>
    189                     </property>
    190                     <property name="text">
    191                         <string>Help</string>
    192                     </property>
    193                     <property name="accel">
    194                         <string>F1</string>
    195                     </property>
    196                     <property name="autoDefault">
    197                         <bool>true</bool>
    198                     </property>
    199                 </widget>
    200                 <spacer>
    201                     <property name="name">
    202                         <cstring>spacer21</cstring>
    203                     </property>
    204                     <property name="orientation">
    205                         <enum>Horizontal</enum>
    206                     </property>
    207                     <property name="sizeType">
    208                         <enum>Expanding</enum>
    209                     </property>
    210                     <property name="sizeHint">
    211                         <size>
    212                             <width>61</width>
    213                             <height>20</height>
    214                         </size>
    215                     </property>
    216                 </spacer>
    217                 <widget class="QPushButton">
    218                     <property name="name">
    219                         <cstring>buttonOk</cstring>
    220                     </property>
    221                     <property name="text">
    222                         <string>&amp;OK</string>
    223                     </property>
    224                     <property name="autoDefault">
    225                         <bool>true</bool>
    226                     </property>
    227                     <property name="default">
    228                         <bool>true</bool>
    229                     </property>
    230                 </widget>
    231                 <widget class="QPushButton">
    232                     <property name="name">
    233                         <cstring>buttonCancel</cstring>
    234                     </property>
    235                     <property name="text">
    236                         <string>Cancel</string>
    237                     </property>
    238                     <property name="autoDefault">
    239                         <bool>true</bool>
    240                     </property>
    241                 </widget>
    242             </hbox>
    243         </widget>
    244     </vbox>
    245 </widget>
    246 <connections>
    247     <connection>
    248         <sender>buttonOk</sender>
    249         <signal>clicked()</signal>
    250         <receiver>VBoxSnapshotDetailsDlg</receiver>
    251         <slot>accept()</slot>
    252     </connection>
    253     <connection>
    254         <sender>buttonCancel</sender>
    255         <signal>clicked()</signal>
    256         <receiver>VBoxSnapshotDetailsDlg</receiver>
    257         <slot>reject()</slot>
    258     </connection>
    259     <connection>
    260         <sender>leName</sender>
    261         <signal>textChanged(const QString&amp;)</signal>
    262         <receiver>VBoxSnapshotDetailsDlg</receiver>
    263         <slot>leName_textChanged(const QString&amp;)</slot>
    264     </connection>
    265     <connection>
    266         <sender>buttonHelp</sender>
    267         <signal>clicked()</signal>
    268         <receiver>&amp;vboxProblem()</receiver>
    269         <slot>showHelpHelpDialog()</slot>
    270     </connection>
    271 </connections>
    272 <tabstops>
    273     <tabstop>leName</tabstop>
    274     <tabstop>txeDescription</tabstop>
    275     <tabstop>txeSummary</tabstop>
    276 </tabstops>
    277 <includes>
    278     <include location="local" impldecl="in declaration">COMDefs.h</include>
    279     <include location="local" impldecl="in implementation">VBoxUtils.h</include>
    280     <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include>
    281     <include location="local" impldecl="in implementation">VBoxGlobal.h</include>
    282 </includes>
    283 <slots>
    284     <slot>leName_textChanged( const QString &amp; aText )</slot>
    285 </slots>
    286 <variables>
    287     <variable access="private">CSnapshot csnapshot;</variable>
    288 </variables>
    289 <functions>
    290     <function access="private">init()</function>
    291     <function>getFromSnapshot( const CSnapshot &amp; s )</function>
    292     <function>putBackToSnapshot()</function>
    293 </functions>
    294 <pixmapinproject/>
    295 <layoutdefaults spacing="6" margin="11"/>
    296 </UI>
     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>
     152   </item>
     153  </layout>
     154 </widget>
     155 <resources>
     156  <include location="../VirtualBox.qrc" />
     157 </resources>
     158 <connections/>
     159</ui>
Note: See TracChangeset for help on using the changeset viewer.

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