VBoxVMSettingsDlg.ui.h revision fcf45157f73bd761076e3e105820b314655397cd
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * VBox frontends: Qt GUI ("VirtualBox"):
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * "VM settings" dialog UI include (Qt Designer)
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * Copyright (C) 2006 InnoTek Systemberatung GmbH
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * available from http://www.virtualbox.org. This file is free software;
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * you can redistribute it and/or modify it under the terms of the GNU
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * General Public License as published by the Free Software Foundation,
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * distribution. VirtualBox OSE is distributed in the hope that it will
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * be useful, but WITHOUT ANY WARRANTY of any kind.
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * If you received this file as part of a commercial VirtualBox
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * distribution, then only the terms of your commercial VirtualBox
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * license agreement apply instead of the previous paragraph.
59190ecd61435d19ba3515b876272aee7bd12298vboxsync/****************************************************************************
59190ecd61435d19ba3515b876272aee7bd12298vboxsync** ui.h extension file, included from the uic-generated form implementation.
59190ecd61435d19ba3515b876272aee7bd12298vboxsync** If you wish to add, delete or rename functions or slots use
59190ecd61435d19ba3515b876272aee7bd12298vboxsync** Qt Designer which will update this file, preserving your code. Create an
59190ecd61435d19ba3515b876272aee7bd12298vboxsync** init() function in place of a constructor, and a destroy() function in
59190ecd61435d19ba3515b876272aee7bd12298vboxsync** place of a destructor.
59190ecd61435d19ba3515b876272aee7bd12298vboxsync*****************************************************************************/
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * Calculates a suitable page step size for the given max value.
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * The returned size is so that there will be no more than 32 pages.
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * The minimum returned page size is 4.
59190ecd61435d19ba3515b876272aee7bd12298vboxsync /* reasonable max. number of page steps is 32 */
59190ecd61435d19ba3515b876272aee7bd12298vboxsync /* make it a power of 2 */
59190ecd61435d19ba3515b876272aee7bd12298vboxsync while ((p >>= 1))
59190ecd61435d19ba3515b876272aee7bd12298vboxsync return (int) p2;
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * QListView class reimplementation to use as boot items table.
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * It has one unsorted column without header with automated width
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * resize management.
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * Keymapping handlers for ctrl-up & ctrl-down are translated into
59190ecd61435d19ba3515b876272aee7bd12298vboxsync * boot-items up/down moving.
59190ecd61435d19ba3515b876272aee7bd12298vboxsync BootItemsTable (QWidget *aParent, const char *aName)
59190ecd61435d19ba3515b876272aee7bd12298vboxsync QWhatsThis::add (this, tr ("Defines the boot device order. "
59190ecd61435d19ba3515b876272aee7bd12298vboxsync "Use checkboxes to the left to enable or disable "
59190ecd61435d19ba3515b876272aee7bd12298vboxsync "individual boot devices. Move items up and down to "
59190ecd61435d19ba3515b876272aee7bd12298vboxsync "change the device order."));
59190ecd61435d19ba3515b876272aee7bd12298vboxsync setSizePolicy (QSizePolicy::Expanding, QSizePolicy::Preferred);
void moveItemDown();
if (!aItem)
~BootItemsList() {}
void fixTabStops()
int minimumWidth = 0;
while (item)
while (item)
void moveItemUp()
if (!itemAbove) return;
void moveItemDown()
if (!itemBelow) return;
// 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;
valid = true;
f.setBold (true);
cbHDA);
cbHDB);
cbHDD);
mLastUSBFilterNum = 0;
mUSBFilterListModified = false;
#if defined Q_WS_WIN32
#ifdef VBOX_WITH_WINMM
#ifdef VBOX_WITH_ALSA
updateInterfaces (0);
if (polished)
polished = true;
#if defined Q_WS_WIN
if (aWidget)
if (!aWidget) return;
#if defined Q_WS_WIN
updateInterfaces (0);
return notAttached;
if (!gotFocus)
updateWhatsThis (true);
if (item)
QWidget *p = w;
w->setFocus();
bool newValid = true;
++it;
delete l;
if (valid)
setWarning(0);
valid = true;
valid = false;
valid = false;
if (found)
if (valid)
valid = false;
if (found)
if (valid)
if (!valid)
if (!valid)
int index = 0;
if (!valid) break;
if (!valid)
valid = true;
} data;
diskSet[] =
int id = 0;
++ id;
int id = 0;
++ id;
if (usbItem)
if (vrdpItem)
} data;
diskSet[] =
return res;
mUSBFilterListModified = false;
return COMResult();
void VBoxVMSettingsDlg::showImageManagerISOFloppy() { showVDImageManager(&uuidISOFloppy, cbISOFloppy); }
#if defined Q_WS_WIN
if (isNew)
if (item)
mUSBFilterListModified = true;
mUSBFilterListModified = true;
mUSBFilterListModified = true;
if (!itemAbove)
mUSBFilterListModified = true;
mUSBFilterListModified = true;