VirtualBox

Ignore:
Timestamp:
Oct 24, 2009 3:55:47 AM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: VM Settings: Shared Folders Page: columns size-hint issue fixed, code restyled according GUI coding-style.

File:
1 edited

Legend:

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

    r23333 r24055  
    1 <ui version="4.0" >
     1<ui version="4.0">
    22 <comment>
    33 VBox frontends: Qt4 GUI ("VirtualBox"):
    44
    5  Copyright (C) 2008 Sun Microsystems, Inc.
     5 Copyright (C) 2008-2009 Sun Microsystems, Inc.
    66
    77 This file is part of VirtualBox Open Source Edition (OSE), as
     
    1818 </comment>
    1919 <class>VBoxVMSettingsSF</class>
    20  <widget class="QWidget" name="VBoxVMSettingsSF" >
    21   <property name="geometry" >
     20 <widget class="QWidget" name="VBoxVMSettingsSF">
     21  <property name="geometry">
    2222   <rect>
    2323    <x>0</x>
    2424    <y>0</y>
    25     <width>294</width>
    26     <height>218</height>
     25    <width>300</width>
     26    <height>220</height>
    2727   </rect>
    2828  </property>
    29   <property name="sizePolicy" >
    30    <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
    31     <horstretch>0</horstretch>
    32     <verstretch>0</verstretch>
    33    </sizepolicy>
    34   </property>
    35   <layout class="QGridLayout" >
    36    <item row="0" column="0" >
    37     <widget class="QWidget" native="1" name="mGbSharedFolders" >
    38      <layout class="QHBoxLayout" >
    39       <property name="leftMargin" >
    40        <number>0</number>
    41       </property>
    42       <property name="topMargin" >
    43        <number>0</number>
    44       </property>
    45       <property name="rightMargin" >
    46        <number>0</number>
    47       </property>
    48       <property name="bottomMargin" >
    49        <number>0</number>
    50       </property>
    51       <item>
    52        <widget class="QTreeWidget" name="mTreeView" >
    53         <property name="minimumSize" >
    54          <size>
    55           <width>0</width>
    56           <height>200</height>
    57          </size>
     29  <layout class="QVBoxLayout">
     30   <property name="margin">
     31    <number>0</number>
     32   </property>
     33   <item>
     34    <widget class="QILabelSeparator" native="1" name="mNameSeparator">
     35     <property name="text">
     36      <string>&amp;Folders List</string>
     37     </property>
     38     <property name="buddy">
     39      <cstring>mTwFolders</cstring>
     40     </property>
     41    </widget>
     42   </item>
     43   <item>
     44    <layout class="QHBoxLayout" name="mLtFolders">
     45     <property name="margin">
     46      <number>0</number>
     47     </property>
     48     <property name="spacing">
     49      <number>0</number>
     50     </property>
     51     <item>
     52      <widget class="QTreeWidget" name="mTwFolders">
     53       <property name="minimumSize">
     54        <size>
     55         <width>0</width>
     56         <height>200</height>
     57        </size>
     58       </property>
     59       <property name="contextMenuPolicy">
     60        <enum>Qt::CustomContextMenu</enum>
     61       </property>
     62       <property name="whatsThis">
     63        <string>Lists all shared folders accessible to this machine. Use 'net use x: \\vboxsvr\share' to access a shared folder named &lt;i>share&lt;/i> from a DOS-like OS, or 'mount -t vboxsf share mount_point' to access it from a Linux OS. This feature requires Guest Additions.</string>
     64       </property>
     65       <property name="uniformRowHeights">
     66        <bool>true</bool>
     67       </property>
     68       <property name="allColumnsShowFocus">
     69        <bool>true</bool>
     70       </property>
     71       <column>
     72        <property name="text">
     73         <string>Name</string>
    5874        </property>
    59         <property name="contextMenuPolicy" >
    60          <enum>Qt::CustomContextMenu</enum>
     75       </column>
     76       <column>
     77        <property name="text">
     78         <string>Path</string>
    6179        </property>
    62         <property name="whatsThis" >
    63          <string>Lists all shared folders accessible to this machine. Use 'net use x: \\vboxsvr\share' to access a shared folder named &lt;i>share&lt;/i> from a DOS-like OS, or 'mount -t vboxsf share mount_point' to access it from a Linux OS. This feature requires Guest Additions.</string>
     80       </column>
     81       <column>
     82        <property name="text">
     83         <string>Access</string>
    6484        </property>
    65         <property name="uniformRowHeights" >
    66          <bool>true</bool>
    67         </property>
    68         <property name="allColumnsShowFocus" >
    69          <bool>true</bool>
    70         </property>
    71         <column>
    72          <property name="text" >
    73           <string>Name</string>
    74          </property>
    75         </column>
    76         <column>
    77          <property name="text" >
    78           <string>Path</string>
    79          </property>
    80         </column>
    81         <column>
    82          <property name="text" >
    83           <string>Access</string>
    84          </property>
    85         </column>
    86        </widget>
    87       </item>
    88      </layout>
    89     </widget>
     85       </column>
     86      </widget>
     87     </item>
     88     <item>
     89      <widget class="VBoxToolBar" native="1" name="mTbFolders"/>
     90     </item>
     91    </layout>
    9092   </item>
    9193  </layout>
    9294 </widget>
    93  <layoutdefault spacing="6" margin="11" />
    94  <includes>
    95   <include location="local" >VBoxGlobal.h</include>
    96  </includes>
     95 <customwidgets>
     96  <customwidget>
     97   <class>QILabelSeparator</class>
     98   <extends>QLabel</extends>
     99   <header>QILabelSeparator.h</header>
     100   <container>1</container>
     101  </customwidget>
     102  <customwidget>
     103   <class>VBoxToolBar</class>
     104   <extends>QWidget</extends>
     105   <header>VBoxToolBar.h</header>
     106   <container>1</container>
     107  </customwidget>
     108 </customwidgets>
    97109 <resources/>
    98110 <connections/>
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