VirtualBox

Ignore:
Timestamp:
Oct 21, 2009 8:53:51 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53772
Message:

FE/Qt4: GUI Coding-Style for Virtual Media Manager.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxMediaManagerDlg.ui

    r23333 r23953  
    33 VBox frontends: Qt4 GUI ("VirtualBox"):
    44
    5  Copyright (C) 2008 Sun Microsystems, Inc.
     5 Copyright (C) 2006-2009 Sun Microsystems, Inc.
    66
    77 This file is part of VirtualBox Open Source Edition (OSE), as
     
    2929  <property name="minimumSize" >
    3030   <size>
    31     <width>283</width>
     31    <width>280</width>
    3232    <height>190</height>
    3333   </size>
     
    3737  </property>
    3838  <widget class="QWidget" name="mCentralWidget" >
    39    <layout class="QHBoxLayout" >
     39   <layout class="QVBoxLayout" >
    4040    <item>
    41      <layout class="QVBoxLayout" >
    42       <item>
    43        <widget class="QTabWidget" name="mTwImages" >
    44         <property name="sizePolicy" >
    45          <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
    46           <horstretch>0</horstretch>
    47           <verstretch>0</verstretch>
    48          </sizepolicy>
    49         </property>
    50         <property name="currentIndex" >
    51          <number>0</number>
    52         </property>
    53         <widget class="QWidget" name="mTbHD" >
    54          <attribute name="title" >
    55           <string>Hard &amp;Disks</string>
    56          </attribute>
    57          <layout class="QVBoxLayout" >
    58           <item>
    59            <widget class="QITreeWidget" name="mHardDiskView" >
    60             <property name="contextMenuPolicy" >
    61              <enum>Qt::CustomContextMenu</enum>
    62             </property>
    63             <property name="acceptDrops" >
    64              <bool>true</bool>
    65             </property>
    66             <property name="horizontalScrollBarPolicy" >
    67              <enum>Qt::ScrollBarAlwaysOff</enum>
    68             </property>
    69             <property name="alternatingRowColors" >
    70              <bool>true</bool>
    71             </property>
    72             <property name="allColumnsShowFocus" >
    73              <bool>true</bool>
    74             </property>
    75             <column>
    76              <property name="text" >
    77               <string>Name</string>
    78              </property>
    79             </column>
    80             <column>
    81              <property name="text" >
    82               <string>Virtual Size</string>
    83              </property>
    84             </column>
    85             <column>
    86              <property name="text" >
    87               <string>Actual Size</string>
    88              </property>
    89             </column>
    90            </widget>
    91           </item>
    92           <item>
    93            <widget class="QFrame" name="mHdsContainer" >
    94             <property name="frameShape" >
    95              <enum>QFrame::Box</enum>
    96             </property>
    97             <property name="frameShadow" >
    98              <enum>QFrame::Sunken</enum>
    99             </property>
    100             <layout class="QGridLayout" >
    101              <property name="verticalSpacing" >
    102               <number>0</number>
    103              </property>
    104              <property name="margin" >
    105               <number>5</number>
    106              </property>
    107              <item row="0" column="0" >
    108               <widget class="QLabel" name="mLbHD1" >
    109                <property name="text" >
    110                 <string>Location</string>
    111                </property>
    112               </widget>
    113              </item>
    114              <item row="0" column="1" >
    115               <widget class="QILabel" name="mHdsPane1" >
    116                <property name="sizePolicy" >
    117                 <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
    118                  <horstretch>0</horstretch>
    119                  <verstretch>0</verstretch>
    120                 </sizepolicy>
    121                </property>
    122               </widget>
    123              </item>
    124              <item row="1" column="0" >
    125               <widget class="QLabel" name="mLbHD2" >
    126                <property name="text" >
    127                 <string>Type (Format)</string>
    128                </property>
    129               </widget>
    130              </item>
    131              <item row="1" column="1" >
    132               <widget class="QILabel" name="mHdsPane2" >
    133                <property name="sizePolicy" >
    134                 <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
    135                  <horstretch>0</horstretch>
    136                  <verstretch>0</verstretch>
    137                 </sizepolicy>
    138                </property>
    139               </widget>
    140              </item>
    141              <item row="2" column="0" >
    142               <widget class="QLabel" name="mLbHD3" >
    143                <property name="text" >
    144                 <string>Attached to</string>
    145                </property>
    146               </widget>
    147              </item>
    148              <item row="2" column="1" >
    149               <widget class="QILabel" name="mHdsPane3" >
    150                <property name="sizePolicy" >
    151                 <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
    152                  <horstretch>0</horstretch>
    153                  <verstretch>0</verstretch>
    154                 </sizepolicy>
    155                </property>
    156               </widget>
    157              </item>
    158             </layout>
    159            </widget>
    160           </item>
    161          </layout>
    162         </widget>
    163         <widget class="QWidget" name="mTbCD" >
    164          <attribute name="title" >
    165           <string>&amp;CD/DVD Images</string>
    166          </attribute>
    167          <layout class="QVBoxLayout" >
    168           <item>
    169            <widget class="QITreeWidget" name="mDVDView" >
    170             <property name="contextMenuPolicy" >
    171              <enum>Qt::CustomContextMenu</enum>
    172             </property>
    173             <property name="acceptDrops" >
    174              <bool>true</bool>
    175             </property>
    176             <property name="horizontalScrollBarPolicy" >
    177              <enum>Qt::ScrollBarAlwaysOff</enum>
    178             </property>
    179             <property name="alternatingRowColors" >
    180              <bool>true</bool>
    181             </property>
    182             <property name="allColumnsShowFocus" >
    183              <bool>true</bool>
    184             </property>
    185             <column>
    186              <property name="text" >
    187               <string>Name</string>
    188              </property>
    189             </column>
    190             <column>
    191              <property name="text" >
    192               <string>Size</string>
    193              </property>
    194             </column>
    195            </widget>
    196           </item>
    197           <item>
    198            <widget class="QFrame" name="mCdsContainer" >
    199             <property name="frameShape" >
    200              <enum>QFrame::Box</enum>
    201             </property>
    202             <property name="frameShadow" >
    203              <enum>QFrame::Sunken</enum>
    204             </property>
    205             <layout class="QGridLayout" >
    206              <property name="verticalSpacing" >
    207               <number>0</number>
    208              </property>
    209              <property name="margin" >
    210               <number>5</number>
    211              </property>
    212              <item row="0" column="0" >
    213               <widget class="QLabel" name="mLbCD1" >
    214                <property name="text" >
    215                 <string>Location</string>
    216                </property>
    217               </widget>
    218              </item>
    219              <item row="0" column="1" >
    220               <widget class="QILabel" name="mCdsPane1" >
    221                <property name="sizePolicy" >
    222                 <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
    223                  <horstretch>0</horstretch>
    224                  <verstretch>0</verstretch>
    225                 </sizepolicy>
    226                </property>
    227               </widget>
    228              </item>
    229              <item row="1" column="0" >
    230               <widget class="QLabel" name="mLbCD2" >
    231                <property name="text" >
    232                 <string>Attached to</string>
    233                </property>
    234               </widget>
    235              </item>
    236              <item row="1" column="1" >
    237               <widget class="QILabel" name="mCdsPane2" >
    238                <property name="sizePolicy" >
    239                 <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
    240                  <horstretch>0</horstretch>
    241                  <verstretch>0</verstretch>
    242                 </sizepolicy>
    243                </property>
    244               </widget>
    245              </item>
    246             </layout>
    247            </widget>
    248           </item>
    249          </layout>
    250         </widget>
    251         <widget class="QWidget" name="mTbFD" >
    252          <attribute name="title" >
    253           <string>&amp;Floppy Images</string>
    254          </attribute>
    255          <layout class="QVBoxLayout" >
    256           <item>
    257            <widget class="QITreeWidget" name="mFloppyView" >
    258             <property name="contextMenuPolicy" >
    259              <enum>Qt::CustomContextMenu</enum>
    260             </property>
    261             <property name="acceptDrops" >
    262              <bool>true</bool>
    263             </property>
    264             <property name="horizontalScrollBarPolicy" >
    265              <enum>Qt::ScrollBarAlwaysOff</enum>
    266             </property>
    267             <property name="alternatingRowColors" >
    268              <bool>true</bool>
    269             </property>
    270             <property name="allColumnsShowFocus" >
    271              <bool>true</bool>
    272             </property>
    273             <column>
    274              <property name="text" >
    275               <string>Name</string>
    276              </property>
    277             </column>
    278             <column>
    279              <property name="text" >
    280               <string>Size</string>
    281              </property>
    282             </column>
    283            </widget>
    284           </item>
    285           <item>
    286            <widget class="QFrame" name="mFdsContainer" >
    287             <property name="frameShape" >
    288              <enum>QFrame::Box</enum>
    289             </property>
    290             <property name="frameShadow" >
    291              <enum>QFrame::Sunken</enum>
    292             </property>
    293             <layout class="QGridLayout" >
    294              <property name="horizontalSpacing" >
    295               <number>6</number>
    296              </property>
    297              <property name="verticalSpacing" >
    298               <number>0</number>
    299              </property>
    300              <property name="margin" >
    301               <number>5</number>
    302              </property>
    303              <item row="0" column="0" >
    304               <widget class="QLabel" name="mLbFD1" >
    305                <property name="text" >
    306                 <string>Location</string>
    307                </property>
    308               </widget>
    309              </item>
    310              <item row="0" column="1" >
    311               <widget class="QILabel" name="mFdsPane1" >
    312                <property name="sizePolicy" >
    313                 <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
    314                  <horstretch>0</horstretch>
    315                  <verstretch>0</verstretch>
    316                 </sizepolicy>
    317                </property>
    318               </widget>
    319              </item>
    320              <item row="1" column="0" >
    321               <widget class="QLabel" name="mLbFD2" >
    322                <property name="text" >
    323                 <string>Attached to</string>
    324                </property>
    325               </widget>
    326              </item>
    327              <item row="1" column="1" >
    328               <widget class="QILabel" name="mFdsPane2" >
    329                <property name="sizePolicy" >
    330                 <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
    331                  <horstretch>0</horstretch>
    332                  <verstretch>0</verstretch>
    333                 </sizepolicy>
    334                </property>
    335               </widget>
    336              </item>
    337             </layout>
    338            </widget>
    339           </item>
    340          </layout>
    341         </widget>
    342        </widget>
    343       </item>
    344       <item>
    345        <widget class="QIDialogButtonBox" name="mButtonBox" >
    346         <property name="standardButtons" >
    347          <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
    348         </property>
    349        </widget>
    350       </item>
    351      </layout>
     41     <widget class="QTabWidget" name="mTabWidget" >
     42      <property name="sizePolicy" >
     43       <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
     44        <horstretch>0</horstretch>
     45        <verstretch>0</verstretch>
     46       </sizepolicy>
     47      </property>
     48      <widget class="QWidget" name="mTabHD" >
     49       <attribute name="title" >
     50        <string>Hard &amp;Disks</string>
     51       </attribute>
     52       <layout class="QVBoxLayout" >
     53        <item>
     54         <widget class="QITreeWidget" name="mTwHD" >
     55          <property name="contextMenuPolicy" >
     56           <enum>Qt::CustomContextMenu</enum>
     57          </property>
     58          <property name="acceptDrops" >
     59           <bool>true</bool>
     60          </property>
     61          <property name="horizontalScrollBarPolicy" >
     62           <enum>Qt::ScrollBarAlwaysOff</enum>
     63          </property>
     64          <property name="alternatingRowColors" >
     65           <bool>true</bool>
     66          </property>
     67          <property name="allColumnsShowFocus" >
     68           <bool>true</bool>
     69          </property>
     70          <column>
     71           <property name="text" >
     72            <string>Name</string>
     73           </property>
     74          </column>
     75          <column>
     76           <property name="text" >
     77            <string>Virtual Size</string>
     78           </property>
     79          </column>
     80          <column>
     81           <property name="text" >
     82            <string>Actual Size</string>
     83           </property>
     84          </column>
     85         </widget>
     86        </item>
     87        <item>
     88         <widget class="QFrame" name="mHDContainer" >
     89          <property name="frameShape" >
     90           <enum>QFrame::Box</enum>
     91          </property>
     92          <property name="frameShadow" >
     93           <enum>QFrame::Sunken</enum>
     94          </property>
     95          <layout class="QGridLayout" >
     96           <property name="verticalSpacing" >
     97            <number>0</number>
     98           </property>
     99           <property name="margin" >
     100            <number>5</number>
     101           </property>
     102           <item row="0" column="0" >
     103            <widget class="QLabel" name="mLbHD1" >
     104             <property name="text" >
     105              <string>Location</string>
     106             </property>
     107            </widget>
     108           </item>
     109           <item row="0" column="1" >
     110            <widget class="QILabel" name="mIpHD1" >
     111             <property name="sizePolicy" >
     112              <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
     113               <horstretch>0</horstretch>
     114               <verstretch>0</verstretch>
     115              </sizepolicy>
     116             </property>
     117            </widget>
     118           </item>
     119           <item row="1" column="0" >
     120            <widget class="QLabel" name="mLbHD2" >
     121             <property name="text" >
     122              <string>Type (Format)</string>
     123             </property>
     124            </widget>
     125           </item>
     126           <item row="1" column="1" >
     127            <widget class="QILabel" name="mIpHD2" >
     128             <property name="sizePolicy" >
     129              <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
     130               <horstretch>0</horstretch>
     131               <verstretch>0</verstretch>
     132              </sizepolicy>
     133             </property>
     134            </widget>
     135           </item>
     136           <item row="2" column="0" >
     137            <widget class="QLabel" name="mLbHD3" >
     138             <property name="text" >
     139              <string>Attached to</string>
     140             </property>
     141            </widget>
     142           </item>
     143           <item row="2" column="1" >
     144            <widget class="QILabel" name="mIpHD3" >
     145             <property name="sizePolicy" >
     146              <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
     147               <horstretch>0</horstretch>
     148               <verstretch>0</verstretch>
     149              </sizepolicy>
     150             </property>
     151            </widget>
     152           </item>
     153          </layout>
     154         </widget>
     155        </item>
     156       </layout>
     157      </widget>
     158      <widget class="QWidget" name="mTabCD" >
     159       <attribute name="title" >
     160        <string>&amp;CD/DVD Images</string>
     161       </attribute>
     162       <layout class="QVBoxLayout" >
     163        <item>
     164         <widget class="QITreeWidget" name="mTwCD" >
     165          <property name="contextMenuPolicy" >
     166           <enum>Qt::CustomContextMenu</enum>
     167          </property>
     168          <property name="acceptDrops" >
     169           <bool>true</bool>
     170          </property>
     171          <property name="horizontalScrollBarPolicy" >
     172           <enum>Qt::ScrollBarAlwaysOff</enum>
     173          </property>
     174          <property name="alternatingRowColors" >
     175           <bool>true</bool>
     176          </property>
     177          <property name="allColumnsShowFocus" >
     178           <bool>true</bool>
     179          </property>
     180          <column>
     181           <property name="text" >
     182            <string>Name</string>
     183           </property>
     184          </column>
     185          <column>
     186           <property name="text" >
     187            <string>Size</string>
     188           </property>
     189          </column>
     190         </widget>
     191        </item>
     192        <item>
     193         <widget class="QFrame" name="mCDContainer" >
     194          <property name="frameShape" >
     195           <enum>QFrame::Box</enum>
     196          </property>
     197          <property name="frameShadow" >
     198           <enum>QFrame::Sunken</enum>
     199          </property>
     200          <layout class="QGridLayout" >
     201           <property name="verticalSpacing" >
     202            <number>0</number>
     203           </property>
     204           <property name="margin" >
     205            <number>5</number>
     206           </property>
     207           <item row="0" column="0" >
     208            <widget class="QLabel" name="mLbCD1" >
     209             <property name="text" >
     210              <string>Location</string>
     211             </property>
     212            </widget>
     213           </item>
     214           <item row="0" column="1" >
     215            <widget class="QILabel" name="mIpCD1" >
     216             <property name="sizePolicy" >
     217              <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
     218               <horstretch>0</horstretch>
     219               <verstretch>0</verstretch>
     220              </sizepolicy>
     221             </property>
     222            </widget>
     223           </item>
     224           <item row="1" column="0" >
     225            <widget class="QLabel" name="mLbCD2" >
     226             <property name="text" >
     227              <string>Attached to</string>
     228             </property>
     229            </widget>
     230           </item>
     231           <item row="1" column="1" >
     232            <widget class="QILabel" name="mIpCD2" >
     233             <property name="sizePolicy" >
     234              <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
     235               <horstretch>0</horstretch>
     236               <verstretch>0</verstretch>
     237              </sizepolicy>
     238             </property>
     239            </widget>
     240           </item>
     241          </layout>
     242         </widget>
     243        </item>
     244       </layout>
     245      </widget>
     246      <widget class="QWidget" name="mTabFD" >
     247       <attribute name="title" >
     248        <string>&amp;Floppy Images</string>
     249       </attribute>
     250       <layout class="QVBoxLayout" >
     251        <item>
     252         <widget class="QITreeWidget" name="mTwFD" >
     253          <property name="contextMenuPolicy" >
     254           <enum>Qt::CustomContextMenu</enum>
     255          </property>
     256          <property name="acceptDrops" >
     257           <bool>true</bool>
     258          </property>
     259          <property name="horizontalScrollBarPolicy" >
     260           <enum>Qt::ScrollBarAlwaysOff</enum>
     261          </property>
     262          <property name="alternatingRowColors" >
     263           <bool>true</bool>
     264          </property>
     265          <property name="allColumnsShowFocus" >
     266           <bool>true</bool>
     267          </property>
     268          <column>
     269           <property name="text" >
     270            <string>Name</string>
     271           </property>
     272          </column>
     273          <column>
     274           <property name="text" >
     275            <string>Size</string>
     276           </property>
     277          </column>
     278         </widget>
     279        </item>
     280        <item>
     281         <widget class="QFrame" name="mFDContainer" >
     282          <property name="frameShape" >
     283           <enum>QFrame::Box</enum>
     284          </property>
     285          <property name="frameShadow" >
     286           <enum>QFrame::Sunken</enum>
     287          </property>
     288          <layout class="QGridLayout" >
     289           <property name="horizontalSpacing" >
     290            <number>6</number>
     291           </property>
     292           <property name="verticalSpacing" >
     293            <number>0</number>
     294           </property>
     295           <property name="margin" >
     296            <number>5</number>
     297           </property>
     298           <item row="0" column="0" >
     299            <widget class="QLabel" name="mLbFD1" >
     300             <property name="text" >
     301              <string>Location</string>
     302             </property>
     303            </widget>
     304           </item>
     305           <item row="0" column="1" >
     306            <widget class="QILabel" name="mIpFD1" >
     307             <property name="sizePolicy" >
     308              <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
     309               <horstretch>0</horstretch>
     310               <verstretch>0</verstretch>
     311              </sizepolicy>
     312             </property>
     313            </widget>
     314           </item>
     315           <item row="1" column="0" >
     316            <widget class="QLabel" name="mLbFD2" >
     317             <property name="text" >
     318              <string>Attached to</string>
     319             </property>
     320            </widget>
     321           </item>
     322           <item row="1" column="1" >
     323            <widget class="QILabel" name="mIpFD2" >
     324             <property name="sizePolicy" >
     325              <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
     326               <horstretch>0</horstretch>
     327               <verstretch>0</verstretch>
     328              </sizepolicy>
     329             </property>
     330            </widget>
     331           </item>
     332          </layout>
     333         </widget>
     334        </item>
     335       </layout>
     336      </widget>
     337     </widget>
     338    </item>
     339    <item>
     340     <widget class="QIDialogButtonBox" name="mButtonBox" >
     341      <property name="standardButtons" >
     342       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
     343      </property>
     344     </widget>
    352345    </item>
    353346   </layout>
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