Changeset 8704 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 8, 2008 12:49:35 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 30642
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp
r8600 r8704 6 6 7 7 /* 8 * Copyright (C) 2006-200 7Sun Microsystems, Inc.8 * Copyright (C) 2006-2008 Sun Microsystems, Inc. 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 3495 3495 3496 3496 /* Setup button's layout */ 3497 QHBoxLayout *buttonLayout = new QHBoxLayout(); 3498 buttonLayout->setSpacing (10); 3499 mainLayout->addLayout (buttonLayout); 3500 QPushButton *pbHelp = new QPushButton (tr ("Help")); 3501 QSpacerItem *spacer = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum); 3502 QPushButton *pbOk = new QPushButton (tr ("&OK")); 3503 QPushButton *pbCancel = new QPushButton (tr ("Cancel")); 3504 connect (pbHelp, SIGNAL (clicked()), &vboxProblem(), SLOT (showHelpHelpDialog())); 3505 connect (pbOk, SIGNAL (clicked()), this, SLOT (accept())); 3506 connect (pbCancel, SIGNAL (clicked()), this, SLOT (reject())); 3507 pbHelp->setShortcut (Qt::Key_F1); 3508 buttonLayout->addWidget (pbHelp); 3509 buttonLayout->addItem (spacer); 3510 buttonLayout->addWidget (pbOk); 3511 buttonLayout->addWidget (pbCancel); 3512 3513 /* Setup the default push button */ 3514 pbOk->setAutoDefault (true); 3515 pbOk->setDefault (true); 3497 QDialogButtonBox *buttonBox = new QDialogButtonBox (QDialogButtonBox::Ok | QDialogButtonBox::Cancel | QDialogButtonBox::Help); 3498 QPushButton *btnHelp = buttonBox->button (QDialogButtonBox::Help); 3499 btnHelp->setText (tr ("Help")); 3500 btnHelp->setShortcut (QKeySequence (tr ("F1"))); 3501 3502 connect (buttonBox, SIGNAL (helpRequested()), &vboxProblem(), SLOT (showHelpHelpDialog())); 3503 connect (buttonBox, SIGNAL (accepted()), this, SLOT (accept())); 3504 connect (buttonBox, SIGNAL (rejected()), this, SLOT (reject())); 3505 mainLayout->addWidget (buttonBox); 3516 3506 } 3517 3507 -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxSharedFoldersSettings.ui
r7919 r8704 1 1 <ui version="4.0" > 2 <comment> 3 VBox frontends: Qt4 GUI ("VirtualBox"): 4 5 Copyright (C) 2008 Sun Microsystems, Inc. 6 7 This file is part of VirtualBox Open Source Edition (OSE), as 8 available from http://www.virtualbox.org. This file is free software; 9 you can redistribute it and/or modify it under the terms of the GNU 10 General Public License (GPL) as published by the Free Software 11 Foundation, in version 2 as it comes in the "COPYING" file of the 12 VirtualBox OSE distribution. VirtualBox OSE is distributed in the 13 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 14 15 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa 16 Clara, CA 95054 USA or visit http://www.sun.com if you need 17 additional information or have any questions. 18 </comment> 2 19 <class>VBoxSharedFoldersSettings</class> 3 20 <widget class="QWidget" name="VBoxSharedFoldersSettings" >
Note:
See TracChangeset
for help on using the changeset viewer.