Changeset 42261 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jul 20, 2012 1:27:47 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 79316
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 1 added
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageControlVM.cpp
r42248 r42261 5 5 6 6 /* 7 * Copyright (C) 2006-201 1Oracle Corporation7 * Copyright (C) 2006-2012 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 189 189 { 190 190 CHECK_ERROR_BREAK(sessionMachine, COMSETTER(ClipboardMode)(mode)); 191 } 192 } 193 else if (!strcmp(a->argv[1], "draganddrop")) 194 { 195 if (a->argc <= 1 + 1) 196 { 197 errorArgument("Missing argument to '%s'. Expected drag'n'drop mode.", a->argv[1]); 198 rc = E_FAIL; 199 break; 200 } 201 202 DragAndDropMode_T mode; 203 if (!strcmp(a->argv[2], "disabled")) 204 mode = DragAndDropMode_Disabled; 205 else if (!strcmp(a->argv[2], "hosttoguest")) 206 mode = DragAndDropMode_HostToGuest; 207 else if (!strcmp(a->argv[2], "guesttohost")) 208 mode = DragAndDropMode_GuestToHost; 209 else if (!strcmp(a->argv[2], "bidirectional")) 210 mode = DragAndDropMode_Bidirectional; 211 else 212 { 213 errorArgument("Invalid '%s' argument '%s'.", a->argv[1], a->argv[2]); 214 rc = E_FAIL; 215 } 216 if (SUCCEEDED(rc)) 217 { 218 CHECK_ERROR_BREAK(sessionMachine, COMSETTER(DragAndDropMode)(mode)); 191 219 } 192 220 } -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r42248 r42261 305 305 " [--audiocontroller ac97|hda|sb16]\n" 306 306 " [--clipboard disabled|hosttoguest|guesttohost|\n" 307 " bidirectional]\n"); 307 " bidirectional]\n" 308 " [--draganddrop disabled|hosttoguest\n"); 308 309 RTStrmPrintf(pStrm, 309 310 " [--vrde on|off]\n" … … 429 430 " clipboard disabled|hosttoguest|guesttohost|\n" 430 431 " bidirectional]\n" 432 " draganddrop disabled|hosttoguest]\n" 431 433 " vrde on|off |\n" 432 434 " vrdeport <port> |\n" -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r42129 r42261 1513 1513 } 1514 1514 1515 /* Drag'n'drop */ 1516 { 1517 const char *psz = "Unknown"; 1518 DragAndDropMode_T enmMode; 1519 rc = machine->COMGETTER(DragAndDropMode)(&enmMode); 1520 switch (enmMode) 1521 { 1522 case DragAndDropMode_Disabled: 1523 if (details == VMINFO_MACHINEREADABLE) 1524 psz = "disabled"; 1525 else 1526 psz = "disabled"; 1527 break; 1528 case DragAndDropMode_HostToGuest: 1529 if (details == VMINFO_MACHINEREADABLE) 1530 psz = "hosttoguest"; 1531 else 1532 psz = "HostToGuest"; 1533 break; 1534 case DragAndDropMode_GuestToHost: 1535 if (details == VMINFO_MACHINEREADABLE) 1536 psz = "guesttohost"; 1537 else 1538 psz = "GuestToHost"; 1539 break; 1540 case DragAndDropMode_Bidirectional: 1541 if (details == VMINFO_MACHINEREADABLE) 1542 psz = "bidirectional"; 1543 else 1544 psz = "Bidirectional"; 1545 break; 1546 default: 1547 if (details == VMINFO_MACHINEREADABLE) 1548 psz = "unknown"; 1549 break; 1550 } 1551 if (details == VMINFO_MACHINEREADABLE) 1552 RTPrintf("draganddrop=\"%s\"\n", psz); 1553 else 1554 RTPrintf("Drag'n'drop Mode: %s\n", psz); 1555 } 1556 1515 1557 if (console) 1516 1558 { -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r42176 r42261 140 140 MODIFYVM_AUDIO, 141 141 MODIFYVM_CLIPBOARD, 142 MODIFYVM_DRAGANDDROP, 142 143 MODIFYVM_VRDPPORT, /* VRDE: deprecated */ 143 144 MODIFYVM_VRDPADDRESS, /* VRDE: deprecated */ … … 286 287 { "--audio", MODIFYVM_AUDIO, RTGETOPT_REQ_STRING }, 287 288 { "--clipboard", MODIFYVM_CLIPBOARD, RTGETOPT_REQ_STRING }, 289 { "--draganddrop", MODIFYVM_DRAGANDDROP, RTGETOPT_REQ_STRING }, 288 290 { "--vrdpport", MODIFYVM_VRDPPORT, RTGETOPT_REQ_STRING }, /* deprecated */ 289 291 { "--vrdpaddress", MODIFYVM_VRDPADDRESS, RTGETOPT_REQ_STRING }, /* deprecated */ … … 2002 2004 } 2003 2005 2006 case MODIFYVM_DRAGANDDROP: 2007 { 2008 DragAndDropMode_T mode; 2009 if (!strcmp(ValueUnion.psz, "disabled")) 2010 mode = DragAndDropMode_Disabled; 2011 else if (!strcmp(ValueUnion.psz, "hosttoguest")) 2012 mode = DragAndDropMode_HostToGuest; 2013 else if (!strcmp(ValueUnion.psz, "guesttohost")) 2014 mode = DragAndDropMode_GuestToHost; 2015 else if (!strcmp(ValueUnion.psz, "bidirectional")) 2016 mode = DragAndDropMode_Bidirectional; 2017 else 2018 { 2019 errorArgument("Invalid --draganddrop argument '%s'", ValueUnion.psz); 2020 rc = E_FAIL; 2021 } 2022 if (SUCCEEDED(rc)) 2023 { 2024 CHECK_ERROR(machine, COMSETTER(DragAndDropMode)(mode)); 2025 } 2026 break; 2027 } 2028 2004 2029 case MODIFYVM_VRDE_EXTPACK: 2005 2030 { -
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r42220 r42261 112 112 $(if $(VBOX_WITH_EHCI),VBOX_WITH_EHCI) \ 113 113 $(if $(VBOX_WITH_DRAG_AND_DROP),VBOX_WITH_DRAG_AND_DROP) \ 114 $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH) \ 114 115 $(if $(VBOX_WITH_CRHGSMI),VBOX_WITH_CRHGSMI) \ 115 116 $(if $(VBOX_WITH_VIRTIO),VBOX_WITH_VIRTIO) \ -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMInformationDlg.cpp
r41927 r42261 476 476 resolution += QString ("x%1").arg (bpp); 477 477 478 QString mode = gpConverter->toString(m.GetClipboardMode());479 478 QString clipboardMode = gpConverter->toString(m.GetClipboardMode()); 479 QString dragAndDropMode = gpConverter->toString(m.GetDragAndDropMode()); 480 480 481 481 CMachineDebugger debugger = console.GetDebugger(); … … 518 518 result += hdrRow.arg (":/state_running_16px.png").arg (tr ("Runtime Attributes")); 519 519 result += formatValue (tr ("Screen Resolution"), resolution, maxLength); 520 result += formatValue (tr ("Clipboard Mode"), mode, maxLength); 520 result += formatValue (tr ("Clipboard Mode"), clipboardMode, maxLength); 521 result += formatValue (tr ("Drag'n'Drop Mode"), dragAndDropMode, maxLength); 521 522 result += formatValue (VBoxGlobal::tr ("VT-x/AMD-V", "details report"), virtualization, maxLength); 522 523 result += formatValue (VBoxGlobal::tr ("Nested Paging", "details report"), nested, maxLength); -
trunk/src/VBox/Frontends/VirtualBox/src/converter/UIConverterBackend.h
r41850 r42261 55 55 template<> bool canConvert<KDeviceType>(); 56 56 template<> bool canConvert<KClipboardMode>(); 57 template<> bool canConvert<KDragAndDropMode>(); 57 58 template<> bool canConvert<KMediumType>(); 58 59 template<> bool canConvert<KMediumVariant>(); … … 82 83 template<> QString toString(const KDeviceType &type); 83 84 template<> QString toString(const KClipboardMode &mode); 85 template<> QString toString(const KDragAndDropMode &mode); 84 86 template<> QString toString(const KMediumType &type); 85 87 template<> QString toString(const KMediumVariant &variant); -
trunk/src/VBox/Frontends/VirtualBox/src/converter/UIConverterBackendCOM.cpp
r41888 r42261 34 34 template<> bool canConvert<KDeviceType>() { return true; } 35 35 template<> bool canConvert<KClipboardMode>() { return true; } 36 template<> bool canConvert<KDragAndDropMode>() { return true; } 36 37 template<> bool canConvert<KMediumType>() { return true; } 37 38 template<> bool canConvert<KMediumVariant>() { return true; } … … 200 201 } 201 202 203 /* QString <= KDragAndDropMode: */ 204 template<> QString toString(const KDragAndDropMode &mode) 205 { 206 switch (mode) 207 { 208 case KDragAndDropMode_Disabled: return QApplication::translate("VBoxGlobal", "Disabled", "DragAndDropType"); 209 case KDragAndDropMode_HostToGuest: return QApplication::translate("VBoxGlobal", "Host To Guest", "DragAndDropType"); 210 case KDragAndDropMode_GuestToHost: return QApplication::translate("VBoxGlobal", "Guest To Host", "DragAndDropType"); 211 case KDragAndDropMode_Bidirectional: return QApplication::translate("VBoxGlobal", "Bidirectional", "DragAndDropType"); 212 default: AssertMsgFailed(("No text for %d", mode)); break; 213 } 214 return QString(); 215 } 216 202 217 /* QString <= KMediumType: */ 203 218 template<> QString toString(const KMediumType &type) -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIListView.cpp
r41689 r42261 7 7 8 8 /* 9 * Copyright (C) 2006-20 08Oracle Corporation9 * Copyright (C) 2006-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 99 99 aPainter->drawLine (r.left(), r.top() - 1, r.right(), r.top() - 1); 100 100 aPainter->fillRect (r, linearGrad); 101 }else 101 } 102 else 102 103 { 103 104 /* Color for items and no focus on the application at all */ -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMessageBox.cpp
r41689 r42261 7 7 8 8 /* 9 * Copyright (C) 2006-20 09Oracle Corporation9 * Copyright (C) 2006-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 350 350 int size = style()->pixelMetric (QStyle::PM_MessageBoxIconSize, 0, this); 351 351 return icon.pixmap (size, size); 352 }else 352 } 353 else 353 354 return QPixmap(); 354 355 } -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QISplitter.cpp
r30868 r42261 7 7 8 8 /* 9 * Copyright (C) 2009-201 0Oracle Corporation9 * Copyright (C) 2009-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 101 101 linearGrad.setColorAt(1, gradientStop); 102 102 painter.fillRect(QRect(QPoint(0,1), size() - QSize(0, 2)), QBrush(linearGrad)); 103 }else 103 } 104 else 104 105 { 105 106 painter.setPen(topColor); … … 248 249 return new QSplitterHandle(orientation(), this); 249 250 #endif /* RT_OS_DARWIN */ 250 }else 251 } 252 else 251 253 return new QIShadeSplitterHandle(orientation(), this); 252 254 } -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIStateIndicator.cpp
r33540 r42261 7 7 8 8 /* 9 * Copyright (C) 2006-20 07Oracle Corporation9 * Copyright (C) 2006-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 137 137 else 138 138 QFrame::mousePressEvent (aEv); 139 }else 139 } 140 else 140 141 QFrame::mousePressEvent (aEv); 141 142 } -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r41833 r42261 7 7 8 8 /* 9 * Copyright (C) 2006-201 1Oracle Corporation9 * Copyright (C) 2006-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 2365 2365 Error, 2366 2366 tr("Failed to open appliance.")); 2367 }else 2367 } 2368 else 2368 2369 { 2369 2370 /* Preserve the current error info before calling the object again */ … … 2440 2441 Error, 2441 2442 tr("Failed to create appliance.")); 2442 }else 2443 } 2444 else 2443 2445 { 2444 2446 /* Preserve the current error info before calling the object again */ … … 2462 2464 Error, 2463 2465 tr("Failed to create an appliance.")); 2464 }else 2466 } 2467 else 2465 2468 { 2466 2469 message(pParent ? pParent : mainWindowShown(), -
trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/UIWindowMenuManager.cpp
r34401 r42261 7 7 8 8 /* 9 * Copyright (C) 2010 Oracle Corporation9 * Copyright (C) 2010-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 108 108 if (m_regWindows.contains(pActive->windowTitle())) 109 109 m_regWindows[pActive->windowTitle()]->setChecked(true); 110 }else 110 } 111 else 111 112 { 112 113 if (QAction *pChecked = m_pGroup->checkedAction()) -
trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/VBoxUtils-darwin.cpp
r36534 r42261 5 5 6 6 /* 7 * Copyright (C) 2006-201 0Oracle Corporation7 * Copyright (C) 2006-2012 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 531 531 break; 532 532 strTarget = QString::fromUtf8(pszPath); 533 }else 533 } 534 else 534 535 strTarget = strFile; 535 536 }while(0); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp
r41689 r42261 824 824 825 825 #ifdef VBOX_WITH_DRAG_AND_DROP 826 # ifdef VBOX_WITH_DRAG_AND_DROP_GH 826 827 if ( cpnt.x() < 0 827 828 || cpnt.x() > iCw - 1 … … 836 837 } 837 838 } 839 # endif 838 840 #endif /* VBOX_WITH_DRAG_AND_DROP */ 839 841 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMListView.cpp
r41689 r42261 529 529 pEvent->accept(); 530 530 } 531 }else if ( VBoxGlobal::hasAllowedExtension(file, OVFFileExts) 531 } 532 else if ( VBoxGlobal::hasAllowedExtension(file, OVFFileExts) 532 533 && pEvent->possibleActions().testFlag(Qt::CopyAction)) 533 534 { 534 535 pEvent->setDropAction(Qt::CopyAction); 535 536 pEvent->accept(); 536 }else if ( VBoxGlobal::hasAllowedExtension(file, VBoxExtPackFileExts) 537 } 538 else if ( VBoxGlobal::hasAllowedExtension(file, VBoxExtPackFileExts) 537 539 && pEvent->possibleActions().testFlag(Qt::CopyAction)) 538 540 { … … 934 936 QFontMetrics fm(fontMetric(aIndex, UIVMItemModel::SnapShotFontRole)); 935 937 return QRect(QPoint(0, 0), fm.size(0, QString("(%1)").arg(text))); 936 }else 938 } 939 else 937 940 return QRect(); 938 941 break; -
trunk/src/VBox/Frontends/VirtualBox/src/settings/VBoxSettingsSelector.cpp
r37610 r42261 7 7 8 8 /* 9 * Copyright (C) 2008 Oracle Corporation9 * Copyright (C) 2008-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 438 438 item->setTabWidget (tabWidget); 439 439 result = tabWidget; 440 }else 440 } 441 else 441 442 { 442 443 SelectorActionItem *parent = findActionItem (aParentId); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.cpp
r41819 r42261 7 7 8 8 /* 9 * Copyright (C) 2006-201 1Oracle Corporation9 * Copyright (C) 2006-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 43 43 mCbClipboard->addItem (""); /* KClipboardMode_GuestToHost */ 44 44 mCbClipboard->addItem (""); /* KClipboardMode_Bidirectional */ 45 46 /* Drag'n'drop mode */ 47 mCbDragAndDrop->addItem (""); /* KDragAndDropMode_Disabled */ 48 mCbDragAndDrop->addItem (""); /* KDragAndDropMode_HostToGuest */ 49 mCbDragAndDrop->addItem (""); /* KDragAndDropMode_GuestToHost */ 50 mCbDragAndDrop->addItem (""); /* KDragAndDropMode_Bidirectional */ 45 51 46 52 #ifdef Q_WS_MAC … … 99 105 generalData.m_strSnapshotsHomeDir = QFileInfo(m_machine.GetSettingsFilePath()).absolutePath(); 100 106 generalData.m_clipboardMode = m_machine.GetClipboardMode(); 107 generalData.m_dragAndDropMode = m_machine.GetDragAndDropMode(); 101 108 generalData.m_strDescription = m_machine.GetDescription(); 102 109 … … 124 131 mPsSnapshot->setHomeDir(generalData.m_strSnapshotsHomeDir); 125 132 mCbClipboard->setCurrentIndex(generalData.m_clipboardMode); 133 mCbDragAndDrop->setCurrentIndex(generalData.m_dragAndDropMode); 126 134 mTeDescription->setPlainText(generalData.m_strDescription); 127 135 … … 149 157 generalData.m_strSnapshotsFolder = mPsSnapshot->path(); 150 158 generalData.m_clipboardMode = (KClipboardMode)mCbClipboard->currentIndex(); 159 generalData.m_dragAndDropMode = (KDragAndDropMode)mCbDragAndDrop->currentIndex(); 151 160 generalData.m_strDescription = mTeDescription->toPlainText().isEmpty() ? 152 161 QString::null : mTeDescription->toPlainText(); … … 174 183 /* Advanced tab: */ 175 184 m_machine.SetClipboardMode(generalData.m_clipboardMode); 185 m_machine.SetDragAndDropMode(generalData.m_dragAndDropMode); 176 186 m_machine.SetExtraData(GUI_SaveMountedAtRuntime, generalData.m_fSaveMountedAtRuntime ? "yes" : "no"); 177 187 m_machine.SetExtraData(GUI_ShowMiniToolBar, generalData.m_fShowMiniToolBar ? "yes" : "no"); … … 221 231 setTabOrder (m_pNameAndSystemEditor, mPsSnapshot); 222 232 setTabOrder (mPsSnapshot, mCbClipboard); 223 setTabOrder (mCbClipboard, mCbSaveMounted); 233 setTabOrder (mCbClipboard, mCbDragAndDrop); 234 setTabOrder (mCbDragAndDrop, mCbSaveMounted); 224 235 setTabOrder (mCbSaveMounted, mCbShowToolBar); 225 236 setTabOrder (mCbShowToolBar, mCbToolBarAlignment); … … 245 256 mCbClipboard->setItemText (2, gpConverter->toString (KClipboardMode_GuestToHost)); 246 257 mCbClipboard->setItemText (3, gpConverter->toString (KClipboardMode_Bidirectional)); 258 259 /* Drag'n'drop mode */ 260 mCbDragAndDrop->setItemText (0, gpConverter->toString (KDragAndDropMode_Disabled)); 261 mCbDragAndDrop->setItemText (1, gpConverter->toString (KDragAndDropMode_HostToGuest)); 262 mCbDragAndDrop->setItemText (2, gpConverter->toString (KDragAndDropMode_GuestToHost)); 263 mCbDragAndDrop->setItemText (3, gpConverter->toString (KDragAndDropMode_Bidirectional)); 247 264 } 248 265 … … 256 273 mLbClipboard->setEnabled(isMachineInValidMode()); 257 274 mCbClipboard->setEnabled(isMachineInValidMode()); 275 mLbDragAndDrop->setEnabled(isMachineInValidMode()); 276 mCbDragAndDrop->setEnabled(isMachineInValidMode()); 258 277 mLbMedia->setEnabled(isMachineInValidMode()); 259 278 mCbSaveMounted->setEnabled(isMachineInValidMode()); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.h
r41587 r42261 6 6 7 7 /* 8 * Copyright (C) 2006-201 1Oracle Corporation8 * Copyright (C) 2006-2012 Oracle Corporation 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 37 37 , m_strSnapshotsHomeDir(QString()) 38 38 , m_clipboardMode(KClipboardMode_Disabled) 39 , m_dragAndDropMode(KDragAndDropMode_Disabled) 39 40 , m_strDescription(QString()) {} 40 41 /* Functions: */ … … 49 50 (m_strSnapshotsHomeDir == other.m_strSnapshotsHomeDir) && 50 51 (m_clipboardMode == other.m_clipboardMode) && 52 (m_dragAndDropMode == other.m_dragAndDropMode) && 51 53 (m_strDescription == other.m_strDescription); 52 54 } … … 63 65 QString m_strSnapshotsHomeDir; 64 66 KClipboardMode m_clipboardMode; 67 KDragAndDropMode m_dragAndDropMode; 65 68 QString m_strDescription; 66 69 }; -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.ui
r41387 r42261 3 3 VBox frontends: Qt4 GUI ("VirtualBox"): 4 4 5 Copyright (C) 2008 Oracle Corporation5 Copyright (C) 2008-2012 Oracle Corporation 6 6 7 7 This file is part of VirtualBox Open Source Edition (OSE), as … … 132 132 </item> 133 133 <item row="2" column="0" > 134 <widget class="QLabel" name="mLbDragAndDrop" > 135 <property name="text" > 136 <string>&Drag'n'Drop:</string> 137 </property> 138 <property name="alignment" > 139 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 140 </property> 141 <property name="buddy" > 142 <cstring>mCbDragAndDrop</cstring> 143 </property> 144 </widget> 145 </item> 146 <item row="2" column="1" > 147 <widget class="QComboBox" name="mCbDragAndDrop" > 148 <property name="sizePolicy" > 149 <sizepolicy vsizetype="Fixed" hsizetype="Fixed" > 150 <horstretch>0</horstretch> 151 <verstretch>0</verstretch> 152 </sizepolicy> 153 </property> 154 <property name="whatsThis" > 155 <string>Selects which data will be copied between the guest and the host OS by drag'n'drop. This feature requires Guest Additions to be installed in the guest OS.</string> 156 </property> 157 </widget> 158 </item> 159 <item row="2" column="2" > 160 <spacer name="mSpHor2" > 161 <property name="orientation" > 162 <enum>Qt::Horizontal</enum> 163 </property> 164 <property name="sizeHint" stdset="0" > 165 <size> 166 <width>0</width> 167 <height>0</height> 168 </size> 169 </property> 170 </spacer> 171 </item> 172 <item row="3" column="0" > 134 173 <widget class="QLabel" name="mLbMedia" > 135 174 <property name="text" > … … 141 180 </widget> 142 181 </item> 143 <item row=" 2" column="1" >182 <item row="3" column="1" > 144 183 <widget class="QCheckBox" name="mCbSaveMounted" > 145 184 <property name="sizePolicy" > … … 160 199 </widget> 161 200 </item> 162 <item row=" 3" column="0" >201 <item row="4" column="0" > 163 202 <widget class="QLabel" name="mLbToolBar" > 164 203 <property name="text" > … … 170 209 </widget> 171 210 </item> 172 <item row=" 3" column="1" >211 <item row="4" column="1" > 173 212 <widget class="QCheckBox" name="mCbShowToolBar" > 174 213 <property name="sizePolicy" > … … 189 228 </widget> 190 229 </item> 191 <item row=" 4" column="1" >230 <item row="5" column="1" > 192 231 <widget class="QCheckBox" name="mCbToolBarAlignment" > 193 232 <property name="sizePolicy" > … … 212 251 </item> 213 252 <item> 214 <spacer name="mSpVer 2" >253 <spacer name="mSpVer3" > 215 254 <property name="orientation" > 216 255 <enum>Qt::Vertical</enum> -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIProgressDialog.cpp
r41587 r42261 7 7 8 8 /* 9 * Copyright (C) 2006-201 0Oracle Corporation9 * Copyright (C) 2006-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 277 277 } 278 278 m_progressBar->setValue(m_progress.GetPercent()); 279 }else 279 } 280 else 280 281 m_pEtaLbl->setText(m_strCancel); 281 282 } -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/VBoxFilePathSelectorWidget.cpp
r41370 r42261 7 7 8 8 /* 9 * Copyright (C) 2008 Oracle Corporation9 * Copyright (C) 2008-2012 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 131 131 /* Installing necessary event filters */ 132 132 lineEdit()->installEventFilter (this); 133 }else 133 } 134 else 134 135 { 135 136 if (lineEdit())
Note:
See TracChangeset
for help on using the changeset viewer.