VBoxGlobalSettingsDlg.ui revision b9042bb7a5efd07d617a8a7d812b669d75682779
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>VBoxGlobalSettingsDlg</class>
<comment>
:mode=html:tabSize=4:indentSize=4:noTabs=true:
:folding=explicit:collapseFolds=1:
# Copyright (C) 2006 InnoTek Systemberatung GmbH
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License as published by the Free Software Foundation,
# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
# distribution. VirtualBox OSE is distributed in the hope that it will
# be useful, but WITHOUT ANY WARRANTY of any kind.
#
# If you received this file as part of a commercial VirtualBox
# distribution, then only the terms of your commercial VirtualBox
# license agreement apply instead of the previous paragraph.
</comment>
<widget class="QDialog">
<property name="name">
<cstring>VBoxGlobalSettingsDlg</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>520</width>
<height>370</height>
</rect>
</property>
<property name="caption">
<string>VBoxGlobalSettingsDlg</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;i&gt;Select a settings category from the list on the left side and move the mouse over a settings item to get more information&lt;i&gt;.</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>10</number>
</property>
<property name="resizeMode">
<enum>Minimum</enum>
</property>
<widget class="QListView" row="0" column="0" rowspan="3" colspan="1">
<column>
<property name="text">
<string>Category</string>
</property>
<property name="clickable">
<bool>false</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>[id]</string>
</property>
<property name="clickable">
<bool>false</bool>
</property>
<property name="resizable">
<bool>false</bool>
</property>
</column>
<column>
<property name="text">
<string>[link]</string>
</property>
<property name="clickable">
<bool>false</bool>
</property>
<property name="resizable">
<bool>false</bool>
</property>
</column>
<item>
<property name="text">
<string> General </string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="text">
<string>#general</string>
</property>
<property name="pixmap">
<pixmap>machine_16px.png</pixmap>
</property>
<property name="pixmap">
<pixmap></pixmap>
</property>
<property name="pixmap">
<pixmap></pixmap>
</property>
</item>
<item>
<property name="text">
<string> Input </string>
</property>
<property name="text">
<string>1</string>
</property>
<property name="text">
<string>#input</string>
</property>
<property name="pixmap">
<pixmap>hostkey_16px.png</pixmap>
</property>
<property name="pixmap">
<pixmap></pixmap>
</property>
<property name="pixmap">
<pixmap></pixmap>
</property>
</item>
<property name="name">
<cstring>listView</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="allColumnsShowFocus">
<bool>true</bool>
</property>
<property name="itemMargin">
<number>3</number>
</property>
</widget>
<widget class="QLabel" row="0" column="1">
<property name="name">
<cstring>titleLabel</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="backgroundMode">
<enum>PaletteBase</enum>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
<bold>1</bold>
</font>
</property>
<property name="frameShape">
<enum>Box</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="lineWidth">
<number>1</number>
</property>
<property name="margin">
<number>7</number>
</property>
<property name="text">
<string></string>
</property>
<property name="buddy" stdset="0">
<cstring></cstring>
</property>
</widget>
<widget class="QWidgetStack" row="1" column="1">
<property name="name">
<cstring>widgetStack</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="QWidget">
<property name="name">
<cstring>pageGeneral</cstring>
</property>
<attribute name="id">
<number>0</number>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="QGroupBox">
<property name="name">
<cstring>groupBox1</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Default &amp;Folders</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="spacing">
<number>5</number>
</property>
<widget class="QLineEdit" row="0" column="1">
<property name="name">
<cstring>leVDIFolder</cstring>
</property>
<property name="frameShape">
<enum>LineEditPanel</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="whatsThis" stdset="0">
<string>Displays the path to the default VDI folder. This folder is
used, if not explicitly specified otherwise, when adding existing or creating new virtual hard disks.</string>
</property>
</widget>
<widget class="QLabel" row="1" column="0">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
<property name="text">
<string>Machines</string>
</property>
</widget>
<widget class="QLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="text">
<string>VDI files</string>
</property>
</widget>
<widget class="QToolButton" row="1" column="3">
<property name="name">
<cstring>tbResetMachineFolder</cstring>
</property>
<property name="focusPolicy">
<enum>TabFocus</enum>
</property>
<property name="text">
<string></string>
</property>
<property name="iconSet">
<iconset>delete_16px.png</iconset>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Resets the virtual machine folder path to the default value.
The actual default path will be displayed after accepting the changes and opening this dialog again.</string>
</property>
</widget>
<widget class="QToolButton" row="0" column="3">
<property name="name">
<cstring>tbResetVDIFolder</cstring>
</property>
<property name="focusPolicy">
<enum>TabFocus</enum>
</property>
<property name="text">
<string></string>
</property>
<property name="iconSet">
<iconset>delete_16px.png</iconset>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Resets the VDI folder path to the default value.
The actual default path will be displayed after accepting the changes and opening this dialog again.</string>
</property>
</widget>
<widget class="QLineEdit" row="1" column="1">
<property name="name">
<cstring>leMachineFolder</cstring>
</property>
<property name="whatsThis" stdset="0">
<string>Displays the path to the default virtual machine
folder. This folder is used, if not explicitly specified otherwise, when creating new
virtual machines.</string>
</property>
</widget>
<widget class="QToolButton" row="0" column="2">
<property name="name">
<cstring>tbSelectVDIFolder</cstring>
</property>
<property name="focusPolicy">
<enum>TabFocus</enum>
</property>
<property name="text">
<string></string>
</property>
<property name="iconSet">
<iconset>select_file_16px.png</iconset>
</property>
<property name="textLabel">
<string>Select</string>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Opens a dialog to select the
default VDI folder.</string>
</property>
</widget>
<widget class="QToolButton" row="1" column="2">
<property name="name">
<cstring>tbSelectMachineFolder</cstring>
</property>
<property name="focusPolicy">
<enum>TabFocus</enum>
</property>
<property name="text">
<string></string>
</property>
<property name="iconSet">
<iconset>select_file_16px.png</iconset>
</property>
<property name="textLabel">
<string>Select</string>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Opens a dialog to select the
default virtual machine folder.</string>
</property>
</widget>
</grid>
</widget>
<spacer>
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>31</height>
</size>
</property>
</spacer>
</vbox>
</widget>
<widget class="QWidget">
<property name="name">
<cstring>pageKeyboard</cstring>
</property>
<attribute name="id">
<number>1</number>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>10</number>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout47</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layoutHostKey</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>txHostKey</cstring>
</property>
<property name="text">
<string>Host &amp;Key</string>
</property>
</widget>
</hbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer22</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="QCheckBox">
<property name="name">
<cstring>chbAutoCapture</cstring>
</property>
<property name="text">
<string>&amp;Auto capture keyboard</string>
</property>
<property name="accel">
<string>Alt+A</string>
</property>
<property name="whatsThis" stdset="0">
<string>When checked, the keyboard is automatically
captured every time the VM window is activated.</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer23</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>120</height>
</size>
</property>
</spacer>
</vbox>
</widget>
</widget>
<widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout57</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QPushButton">
<property name="name">
<cstring>buttonHelp</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Help</string>
</property>
<property name="accel">
<string>F1</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Displays the dialog help.</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>warningSpacer</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>16</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QLabel">
<property name="name">
<cstring>warningPixmap</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>warningLabel</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Invalid settings detected</string>
</property>
<property name="alignment">
<set>AlignVCenter</set>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer49</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>16</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>buttonOk</cstring>
</property>
<property name="text">
<string>&amp;OK</string>
</property>
<property name="accel">
<string>Alt+O</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Accepts (saves) changes and closes the dialog.</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>buttonCancel</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
<property name="accel">
<string></string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Cancels changes and closes the dialog.</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QLabel" row="2" column="1">
<property name="name">
<cstring>whatsThisLabel</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="backgroundMode">
<enum>PaletteMidlight</enum>
</property>
<property name="frameShape">
<enum>Box</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="margin">
<number>7</number>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="alignment">
<set>WordBreak|AlignJustify|AlignTop</set>
</property>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>buttonOk</sender>
<signal>clicked()</signal>
<receiver>VBoxGlobalSettingsDlg</receiver>
<slot>accept()</slot>
</connection>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>VBoxGlobalSettingsDlg</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>listView</sender>
<signal>currentChanged(QListViewItem*)</signal>
<receiver>VBoxGlobalSettingsDlg</receiver>
<slot>listView_currentChanged(QListViewItem*)</slot>
</connection>
<connection>
<sender>tbResetVDIFolder</sender>
<signal>clicked()</signal>
<receiver>VBoxGlobalSettingsDlg</receiver>
<slot>tbResetFolder_clicked()</slot>
</connection>
<connection>
<sender>tbSelectVDIFolder</sender>
<signal>clicked()</signal>
<receiver>VBoxGlobalSettingsDlg</receiver>
<slot>tbSelectFolder_clicked()</slot>
</connection>
<connection>
<sender>tbResetMachineFolder</sender>
<signal>clicked()</signal>
<receiver>VBoxGlobalSettingsDlg</receiver>
<slot>tbResetFolder_clicked()</slot>
</connection>
<connection>
<sender>tbSelectMachineFolder</sender>
<signal>clicked()</signal>
<receiver>VBoxGlobalSettingsDlg</receiver>
<slot>tbSelectFolder_clicked()</slot>
</connection>
</connections>
<tabstops>
<tabstop>listView</tabstop>
<tabstop>chbAutoCapture</tabstop>
<tabstop>leVDIFolder</tabstop>
<tabstop>tbSelectVDIFolder</tabstop>
<tabstop>tbResetVDIFolder</tabstop>
<tabstop>leMachineFolder</tabstop>
<tabstop>tbSelectMachineFolder</tabstop>
<tabstop>tbResetMachineFolder</tabstop>
<tabstop>buttonHelp</tabstop>
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
<includes>
<include location="global" impldecl="in implementation">qvalidator.h</include>
<include location="global" impldecl="in implementation">qmessagebox.h</include>
<include location="global" impldecl="in implementation">qfont.h</include>
<include location="global" impldecl="in implementation">qobjectlist.h</include>
<include location="global" impldecl="in implementation">qfiledialog.h</include>
<include location="global" impldecl="in implementation">qfocusdata.h</include>
<include location="global" impldecl="in implementation">qtimer.h</include>
<include location="local" impldecl="in declaration">COMDefs.h</include>
<include location="local" impldecl="in declaration">QIWidgetValidator.h</include>
<include location="local" impldecl="in declaration">QIHotKeyEdit.h</include>
<include location="local" impldecl="in declaration">VMGlobalSettings.h</include>
<include location="local" impldecl="in implementation">VBoxUtils.h</include>
<include location="local" impldecl="in implementation">VBoxGlobal.h</include>
</includes>
<variables>
<variable access="private">bool valid;</variable>
<variable access="private">QTimer *whatsThisTimer;</variable>
<variable access="private">QWidget *whatsThisCandidate;</variable>
<variable access="private">QIHotKeyEdit *hkeHostKey;</variable>
<variable access="private">QIWidgetValidator *wvalGeneral;</variable>
<variable access="private">QIWidgetValidator *wvalKeyboard;</variable>
<variable access="private">QString warningString;</variable>
</variables>
<slots>
<slot>listView_currentChanged( QListViewItem * item )</slot>
<slot>enableOk( const QIWidgetValidator * wval )</slot>
<slot>revalidate( QIWidgetValidator * )</slot>
<slot>updateWhatsThis( bool gotFocus = false )</slot>
<slot>tbResetFolder_clicked()</slot>
<slot>tbSelectFolder_clicked()</slot>
</slots>
<functions>
<function access="private">init()</function>
<function>getFrom( const CSystemProperties &amp; props, const VMGlobalSettings &amp; gs )</function>
<function>putBackTo( CSystemProperties &amp; props, VMGlobalSettings &amp; gs )</function>
<function access="protected">setWarning( const QString &amp; )</function>
<function returnType="bool">eventFilter( QObject * watched, QEvent * e )</function>
</functions>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>