Changeset 10686 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- Jul 16, 2008 9:06:56 AM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsAudio.cpp
r10167 r10686 28 28 /* Apply UI decorations */ 29 29 Ui::VBoxVMSettingsAudio::setupUi (this); 30 connect (mGbAudio, SIGNAL (toggled (bool)), 31 mAudioChild, SLOT (setEnabled (bool))); 30 32 /* Applying language settings */ 31 33 retranslateUi(); -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMSettingsAudio.ui
r10167 r10686 23 23 <x>0</x> 24 24 <y>0</y> 25 <width> 436</width>26 <height> 203</height>25 <width>250</width> 26 <height>122</height> 27 27 </rect> 28 28 </property> 29 <layout class="QVBoxLayout" > 30 <property name="leftMargin" > 31 <number>0</number> 32 </property> 33 <property name="topMargin" > 34 <number>5</number> 35 </property> 36 <property name="rightMargin" > 37 <number>0</number> 38 </property> 39 <property name="bottomMargin" > 40 <number>5</number> 41 </property> 42 <item> 43 <widget class="QGroupBox" name="mGbAudio" > 44 <property name="sizePolicy" > 45 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 46 <horstretch>0</horstretch> 47 <verstretch>0</verstretch> 48 </sizepolicy> 49 </property> 29 <layout class="QGridLayout" > 30 <item row="0" column="0" colspan="2" > 31 <widget class="QCheckBox" name="mGbAudio" > 50 32 <property name="whatsThis" > 51 33 <string>When checked, the virtual PCI audio card is plugged into the virtual machine that uses the specified driver to communicate to the host audio card.</string> 52 34 </property> 53 <property name="t itle" >35 <property name="text" > 54 36 <string>Enable &Audio</string> 55 37 </property> 56 <property name="check able" >38 <property name="checked" > 57 39 <bool>true</bool> 58 40 </property> 59 <property name="checked" > 60 <bool>false</bool> 41 </widget> 42 </item> 43 <item row="1" column="0" > 44 <spacer> 45 <property name="orientation" > 46 <enum>Qt::Horizontal</enum> 61 47 </property> 48 <property name="sizeType" > 49 <enum>QSizePolicy::Fixed</enum> 50 </property> 51 <property name="sizeHint" > 52 <size> 53 <width>20</width> 54 <height>20</height> 55 </size> 56 </property> 57 </spacer> 58 </item> 59 <item row="1" column="1" > 60 <widget class="QWidget" native="1" name="mAudioChild" > 62 61 <layout class="QGridLayout" > 62 <property name="leftMargin" > 63 <number>0</number> 64 </property> 63 65 <property name="topMargin" > 64 <number>5</number> 66 <number>0</number> 67 </property> 68 <property name="rightMargin" > 69 <number>0</number> 70 </property> 71 <property name="bottomMargin" > 72 <number>0</number> 65 73 </property> 66 74 <item row="0" column="0" > 67 75 <widget class="QLabel" name="mLbAudioDriver" > 68 <property name="sizePolicy" > 69 <sizepolicy vsizetype="Fixed" hsizetype="Minimum" > 70 <horstretch>0</horstretch> 71 <verstretch>0</verstretch> 72 </sizepolicy> 76 <property name="text" > 77 <string>Host Audio &Driver:</string> 73 78 </property> 74 <property name=" text" >75 <s tring>Host Audio &Driver</string>79 <property name="alignment" > 80 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 76 81 </property> 77 82 <property name="buddy" > … … 87 92 </widget> 88 93 </item> 89 <item row="0" column="2" >90 <spacer>91 <property name="orientation" >92 <enum>Qt::Horizontal</enum>93 </property>94 <property name="sizeHint" >95 <size>96 <width>0</width>97 <height>10</height>98 </size>99 </property>100 </spacer>101 </item>102 94 <item row="1" column="0" > 103 95 <widget class="QLabel" name="mLbAudioController" > 104 <property name="sizePolicy" > 105 <sizepolicy vsizetype="Fixed" hsizetype="Minimum" > 106 <horstretch>0</horstretch> 107 <verstretch>0</verstretch> 108 </sizepolicy> 96 <property name="text" > 97 <string>Audio &Controller:</string> 109 98 </property> 110 <property name=" text" >111 <s tring>Audio &Controller</string>99 <property name="alignment" > 100 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 112 101 </property> 113 102 <property name="buddy" > … … 123 112 </widget> 124 113 </item> 125 <item row="1" column="2" >126 <spacer>127 <property name="orientation" >128 <enum>Qt::Horizontal</enum>129 </property>130 <property name="sizeHint" >131 <size>132 <width>0</width>133 <height>10</height>134 </size>135 </property>136 </spacer>137 </item>138 114 </layout> 139 115 </widget> 140 116 </item> 141 <item> 117 <item row="1" column="2" > 118 <spacer> 119 <property name="orientation" > 120 <enum>Qt::Horizontal</enum> 121 </property> 122 <property name="sizeHint" > 123 <size> 124 <width>40</width> 125 <height>20</height> 126 </size> 127 </property> 128 </spacer> 129 </item> 130 <item row="2" column="1" > 142 131 <spacer> 143 132 <property name="orientation" > … … 147 136 <size> 148 137 <width>20</width> 149 <height> 0</height>138 <height>40</height> 150 139 </size> 151 140 </property>
Note:
See TracChangeset
for help on using the changeset viewer.