VBoxVMSettingsDlg.ui.h revision df30dbdfdbce7bc58d1a71d98772953017bc3269
181e56d8b348d301d615ccf5465ae600fee2867berikabele//Added by qt3to4:
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * VBox frontends: Qt GUI ("VirtualBox"):
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * "VM settings" dialog UI include (Qt Designer)
3f08db06526d6901aa08c110b5bc7dde6bc39905nd * Copyright (C) 2006-2007 innotek GmbH
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim * This file is part of VirtualBox Open Source Edition (OSE), as
5a58787efeb02a1c3f06569d019ad81fd2efa06end * available from http://www.virtualbox.org. This file is free software;
3f08db06526d6901aa08c110b5bc7dde6bc39905nd * you can redistribute it and/or modify it under the terms of the GNU
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd * General Public License (GPL) as published by the Free Software
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim * Foundation, in version 2 as it comes in the "COPYING" file of the
af84459fbf938e508fd10b01cb8d699c79083813takashi * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0nd * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd/****************************************************************************
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd** ui.h extension file, included from the uic-generated form implementation.
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim** If you wish to add, delete or rename functions or slots use
c8e71fab0ea4bc3f8cb07693d6917f6b4644fbdcerikabele** Qt Designer which will update this file, preserving your code. Create an
5a58787efeb02a1c3f06569d019ad81fd2efa06end** init() function in place of a constructor, and a destroy() function in
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim** place of a destructor.
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim*****************************************************************************/
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim * QDialog class reimplementation to use for adding network interface.
5a58787efeb02a1c3f06569d019ad81fd2efa06end * It has one line-edit field for entering network interface's name and
5a58787efeb02a1c3f06569d019ad81fd2efa06end * common dialog's ok/cancel buttons.
c8e71fab0ea4bc3f8cb07693d6917f6b4644fbdcerikabele VBoxAddNIDialog (QWidget *aParent, const QString &aIfaceName) :
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim Q3VBoxLayout *mainLayout = new Q3VBoxLayout (this, 10, 10, "mainLayout");
c8e71fab0ea4bc3f8cb07693d6917f6b4644fbdcerikabele /* Setup Input layout */
c8e71fab0ea4bc3f8cb07693d6917f6b4644fbdcerikabele Q3HBoxLayout *inputLayout = new Q3HBoxLayout (mainLayout, 10, "inputLayout");
c8e71fab0ea4bc3f8cb07693d6917f6b4644fbdcerikabele QLabel *lbName = new QLabel (tr ("Interface Name"), this);
c8e71fab0ea4bc3f8cb07693d6917f6b4644fbdcerikabele Q3WhatsThis::add (mLeName, tr ("Descriptive name of the new network interface"));
5a58787efeb02a1c3f06569d019ad81fd2efa06end connect (mLeName, SIGNAL (textChanged (const QString &)),
c8e71fab0ea4bc3f8cb07693d6917f6b4644fbdcerikabele /* Setup Button layout */
709e3a21ba73b8433462959cd56c773454b34441trawick Q3HBoxLayout *buttonLayout = new Q3HBoxLayout (mainLayout, 10, "buttonLayout");
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen QSpacerItem *spacer = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);
dfc515decf0e3a5a980ec4e06af4eb76d4a95440rbowen QPushButton *btCancel = new QPushButton (tr ("Cancel"), this, "btCancel");
c8e71fab0ea4bc3f8cb07693d6917f6b4644fbdcerikabele connect (mBtOk, SIGNAL (clicked()), this, SLOT (accept()));
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim connect (btCancel, SIGNAL (clicked()), this, SLOT (reject()));
5a58787efeb02a1c3f06569d019ad81fd2efa06end /* resize to fit the aIfaceName in one string */
5a58787efeb02a1c3f06569d019ad81fd2efa06end int requiredWidth = mLeName->fontMetrics().width (aIfaceName) +
c8e71fab0ea4bc3f8cb07693d6917f6b4644fbdcerikabele /* Validate interface name field */
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh * Calculates a suitable page step size for the given max value.
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh * The returned size is so that there will be no more than 32 pages.
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh * The minimum returned page size is 4.
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh /* reasonable max. number of page steps is 32 */
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh /* make it a power of 2 */
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh while ((p >>= 1))
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd return (int) p2;
~BootItemsTable() {}
void moveItemUp();
void moveItemDown();
void itemToggled();
if (!aItem)
void stateChange (bool)
~BootItemsList() {}
void fixTabStops()
int minimumWidth = 0;
while (item)
while (item)
void bootSequenceChanged();
void moveItemUp()
if (!itemAbove) return;
void moveItemDown()
if (!itemBelow) return;
void onItemToggled()
// while (it.current() && p < 0)
// if (it.current() == li)
int mId;
QString p;
while (cur)
if (!p.isNull())
p = sep + p;
listView_Category = 0,
lvUSBFilters_Name = 0,
polished = false;
mAllowResetFirstRunFlag = false;
valid = true;
f.setBold (true);
#ifndef DEBUG
cbHDA);
cbHDB);
cbHDD);
#ifndef Q_WS_WIN
mUSBFilterListModified = false;
#if defined Q_WS_WIN32
# ifdef VBOX_WITH_WINMM
# ifdef VBOX_WITH_ALSA
# ifdef VBOX_WITH_PULSE
if (polished)
polished = true;
#if defined Q_WS_WIN
index = 0;
if (m->GetAccessible())
mLockNetworkListUpdate = false;
#if defined Q_WS_WIN
int ifaceNumber = 0;
#if defined Q_WS_WIN
if (!aWidget) return;
#if defined Q_WS_WIN
mAllowResetFirstRunFlag = true;
mResetFirstRunFlag = true;
return notAttached;
if (!gotFocus)
updateWhatsThis (true);
if (item)
QWidget *p = w;
w->setFocus();
bool newValid = true;
if (!newValid)
valid = true;
valid = false;
valid = false;
if (found)
if (valid)
valid = false;
if (found)
if (valid)
if (!valid)
if (!valid)
if (!valid) break;
if (!valid)
valid = true;
int index = 0;
if (!valid)
if (!valid)
valid = true;
int index = 0;
if (!valid)
if (!valid)
if (!valid)
} data;
diskSet[] =
int id = 0;
name :
++ id;
name :
case KDriveState_ImageMounted:
case KDriveState_NotMounted:
int id = 0;
name :
++ id;
name :
case KDriveState_ImageMounted:
case KDriveState_NotMounted:
if (usbItem)
if (vrdpItem)
mResetFirstRunFlag = false;
biosSettings.SetIDEControllerType (vboxGlobal().toIDEControllerType (cbIdeController->currentText()));
} data;
diskSet[] =
if (mResetFirstRunFlag)
return res;
mUSBFilterListModified = false;
return COMResult();
void VBoxVMSettingsDlg::showImageManagerISOFloppy() { showVDImageManager(&uuidISOFloppy, cbISOFloppy); }
#ifdef Q_WS_WIN
mLockNetworkListUpdate = true;
if (pg)
mLockNetworkListUpdate = false;
if (!aOn)
if (isNew)
if (item)
int maxFilterIndex = 0;
while (*iterator)
++ iterator;
mUSBFilterListModified = true;
mUSBFilterListModified = true;
mUSBFilterListModified = true;
if (!itemAbove)
mUSBFilterListModified = true;
mUSBFilterListModified = true;