儲存庫 vbox 的更動 18247
- 時間撮記:
- 2009-3-25 下午12:39:24 (16 年 以前)
- 位置:
- trunk/src/VBox/Frontends/VirtualBox
- 檔案:
-
- 修改 4 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGLSettingsLanguage.cpp
r12030 r18247 257 257 258 258 /* Adjust selector list */ 259 mTwLanguage->set FixedWidth (static_cast<QAbstractItemView*> (mTwLanguage)259 mTwLanguage->setMinimumWidth (static_cast<QAbstractItemView*> (mTwLanguage) 260 260 ->sizeHintForColumn (0) + 2 * mTwLanguage->frameWidth() + 261 261 QApplication::style()->pixelMetric (QStyle::PM_ScrollBarExtent)); -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGLSettingsNetwork.cpp
r18240 r18247 176 176 { 177 177 /* Update information label */ 178 QString hdr ("<tr><td>< b><nobr>%1: </nobr></b></td>"178 QString hdr ("<tr><td><nobr>%1: </nobr></td>" 179 179 "<td><nobr>%2</nobr></td></tr>"); 180 QString sub ("<tr><td>< b><nobr> %1: </nobr></b></td>"180 QString sub ("<tr><td><nobr> %1: </nobr></td>" 181 181 "<td><nobr>%2</nobr></td></tr>"); 182 182 QString data, tip, buffer; … … 184 184 /* Host-only Interface information */ 185 185 buffer = hdr.arg (QTreeWidget::tr ("Host Interface")) 186 .arg (mDhcpClientEnabled ? QTreeWidget::tr (" automatically configured", "interface")187 : QTreeWidget::tr (" manually configured", "interface"));186 .arg (mDhcpClientEnabled ? QTreeWidget::tr ("Automatically configured", "interface") 187 : QTreeWidget::tr ("Manually configured", "interface")); 188 188 data += buffer; 189 189 tip += buffer; … … 192 192 { 193 193 buffer = sub.arg (QTreeWidget::tr ("IPv4 Address")) 194 .arg (mInterfaceAddress.isEmpty() ? QTreeWidget::tr (" not set", "address")194 .arg (mInterfaceAddress.isEmpty() ? QTreeWidget::tr ("Not set", "address") 195 195 : mInterfaceAddress) + 196 196 sub.arg (QTreeWidget::tr ("IPv4 Mask")) 197 .arg (mInterfaceMask.isEmpty() ? QTreeWidget::tr (" not set", "mask")197 .arg (mInterfaceMask.isEmpty() ? QTreeWidget::tr ("Not set", "mask") 198 198 : mInterfaceMask); 199 199 tip += buffer; … … 202 202 { 203 203 buffer = sub.arg (QTreeWidget::tr ("IPv6 Address")) 204 .arg (mInterfaceAddress6.isEmpty() ? QTreeWidget::tr (" not set", "address")204 .arg (mInterfaceAddress6.isEmpty() ? QTreeWidget::tr ("Not set", "address") 205 205 : mInterfaceAddress6) + 206 206 sub.arg (QTreeWidget::tr ("IPv6 Mask Length")) 207 .arg (mInterfaceMaskLength6.isEmpty() ? QTreeWidget::tr (" not set", "length")207 .arg (mInterfaceMaskLength6.isEmpty() ? QTreeWidget::tr ("Not set", "length") 208 208 : mInterfaceMaskLength6); 209 209 tip += buffer; … … 213 213 /* DHCP Server information */ 214 214 buffer = hdr.arg (QTreeWidget::tr ("DHCP Server")) 215 .arg (mDhcpServerEnabled ? QTreeWidget::tr (" enabled", "server")216 : QTreeWidget::tr (" disabled", "server"));215 .arg (mDhcpServerEnabled ? QTreeWidget::tr ("Enabled", "server") 216 : QTreeWidget::tr ("Disabled", "server")); 217 217 data += buffer; 218 218 tip += buffer; … … 221 221 { 222 222 buffer = sub.arg (QTreeWidget::tr ("Address")) 223 .arg (mDhcpServerAddress.isEmpty() ? QTreeWidget::tr (" not set", "address")223 .arg (mDhcpServerAddress.isEmpty() ? QTreeWidget::tr ("Not set", "address") 224 224 : mDhcpServerAddress) + 225 225 sub.arg (QTreeWidget::tr ("Mask")) 226 .arg (mDhcpServerMask.isEmpty() ? QTreeWidget::tr (" not set", "mask")226 .arg (mDhcpServerMask.isEmpty() ? QTreeWidget::tr ("Not set", "mask") 227 227 : mDhcpServerMask) + 228 228 sub.arg (QTreeWidget::tr ("Lower Bound")) 229 .arg (mDhcpLowerAddress.isEmpty() ? QTreeWidget::tr (" not set", "bound")229 .arg (mDhcpLowerAddress.isEmpty() ? QTreeWidget::tr ("Not set", "bound") 230 230 : mDhcpLowerAddress) + 231 231 sub.arg (QTreeWidget::tr ("Upper Bound")) 232 .arg (mDhcpUpperAddress.isEmpty() ? QTreeWidget::tr (" not set", "bound")232 .arg (mDhcpUpperAddress.isEmpty() ? QTreeWidget::tr ("Not set", "bound") 233 233 : mDhcpUpperAddress); 234 234 tip += buffer; … … 248 248 mTwInterfaces->header()->hide(); 249 249 mTwInterfaces->setContextMenuPolicy (Qt::CustomContextMenu); 250 251 /* Setup data label */ 252 mLbInfo->setMinimumHeight (fontMetrics().height() * 4); 250 253 251 254 /* Prepare toolbar */ -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxGLSettingsLanguage.ui
r10784 r18247 73 73 <widget class="QITreeWidget" name="mTwLanguage" > 74 74 <property name="sizePolicy" > 75 <sizepolicy vsizetype=" Fixed" hsizetype="Fixed" >75 <sizepolicy vsizetype="Expanding" hsizetype="Expanding" > 76 76 <horstretch>0</horstretch> 77 77 <verstretch>0</verstretch> … … 115 115 <widget class="QLabel" name="mTxName" > 116 116 <property name="sizePolicy" > 117 <sizepolicy vsizetype=" Expanding" hsizetype="Expanding" >117 <sizepolicy vsizetype="Minimum" hsizetype="Expanding" > 118 118 <horstretch>0</horstretch> 119 119 <verstretch>0</verstretch> … … 127 127 </property> 128 128 </widget> 129 </item>130 <item row="3" column="2" >131 <spacer>132 <property name="orientation" >133 <enum>Qt::Vertical</enum>134 </property>135 <property name="sizeHint" >136 <size>137 <width>20</width>138 <height>40</height>139 </size>140 </property>141 </spacer>142 129 </item> 143 130 </layout> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxGLSettingsNetwork.ui
r18235 r18247 76 76 </property> 77 77 <property name="sizePolicy" > 78 <sizepolicy vsizetype=" Fixed" hsizetype="Expanding" >78 <sizepolicy vsizetype="Expanding" hsizetype="Expanding" > 79 79 <horstretch>0</horstretch> 80 80 <verstretch>0</verstretch> … … 84 84 <size> 85 85 <width>0</width> 86 <height>120</height> 87 </size> 88 </property> 89 <property name="maximumSize" > 90 <size> 91 <width>16777215</width> 92 <height>120</height> 86 <height>150</height> 93 87 </size> 94 88 </property> … … 110 104 </widget> 111 105 </item> 112 <item row="2" column="3" rowspan="1">106 <item row="2" column="3" > 113 107 <spacer> 114 108 <property name="orientation" > … … 116 110 </property> 117 111 <property name="sizeType" > 118 <enum>QSizePolicy:: Minimum</enum>112 <enum>QSizePolicy::Expanding</enum> 119 113 </property> 120 114 <property name="sizeHint" > … … 129 123 <widget class="QLabel" name="mLbInfo" > 130 124 <property name="sizePolicy" > 131 <sizepolicy vsizetype=" Expanding" hsizetype="Expanding" >125 <sizepolicy vsizetype="Minimum" hsizetype="Expanding" > 132 126 <horstretch>0</horstretch> 133 <verstretch> 1</verstretch>127 <verstretch>0</verstretch> 134 128 </sizepolicy> 135 129 </property> 136 130 <property name="alignment" > 137 <set>Qt::AlignLe ft|Qt::AlignTop</set>131 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 138 132 </property> 139 133 <property name="wordWrap" >
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器