<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0" stdsetdef="1"> <author></author> <comment>********************************************************************* ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the autotests of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commercial Usage ** This file contains pre-release code and may not be distributed. ** You may use this file in accordance with the terms and conditions ** contained in the Technology Preview License Agreement accompanying ** this package. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain additional ** rights. These rights are described in the Nokia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** If you have questions regarding the use of this file, please contact ** Nokia at qt-info@nokia.com. ** ** ** ** ** ** ** ** ** $QT_END_LICENSE$ ** *********************************************************************</comment> <exportmacro></exportmacro> <class>SettingsDialogBase</class> <widget class="QDialog" name="SettingsDialogBase"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>389</width> <height>253</height> </rect> </property> <property name="windowTitle"> <string>Qt Assistant - Settings</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QVBoxLayout"> <item> <widget class="QTabWidget" name="settingsTab"> <property name="sizePolicy"> <sizepolicy> <hsizetype>5</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <widget class="QWidget" name="tab"> <attribute name="title"> <string>&General</string> </attribute> <layout class="QVBoxLayout"> <item> <layout class="QGridLayout"> <item row="1" column="1"> <widget class="QComboBox" name="fixedfontCombo"> <property name="sizePolicy"> <sizepolicy> <hsizetype>7</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="TextLabel1"> <property name="text"> <string>Fix&ed font:</string> </property> <property name="buddy" stdset="0"> <cstring>fixedfontCombo</cstring> </property> <property name="wordWrap"> <bool>false</bool> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="TextLabel2"> <property name="text"> <string>Link color:</string> </property> <property name="wordWrap"> <bool>false</bool> </property> </widget> </item> <item row="0" column="1"> <widget class="QComboBox" name="fontCombo"> <property name="sizePolicy"> <sizepolicy> <hsizetype>7</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> <item row="0" column="0"> <widget class="QLabel" name="fontLabel"> <property name="text"> <string>&Font:</string> </property> <property name="buddy" stdset="0"> <cstring>fontCombo</cstring> </property> <property name="wordWrap"> <bool>false</bool> </property> </widget> </item> <item row="3" column="0"> <widget class="QCheckBox" name="linkUnderlineCB"> <property name="text"> <string>&Underline links</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> <item row="2" column="1"> <widget class="QToolButton" name="colorButton"> <property name="sizePolicy"> <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>40</width> <height>20</height> </size> </property> <property name="focusPolicy"> <enum>Qt::TabFocus</enum> </property> <property name="text"> <string/> </property> </widget> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="tab"> <attribute name="title"> <string>&Web</string> </attribute> <layout class="QGridLayout"> <item row="4" column="0"> <spacer name="Spacer11"> <property name="sizeHint"> <size> <width>20</width> <height>30</height> </size> </property> <property name="sizeType"> <enum>QSizePolicy::Expanding</enum> </property> <property name="orientation"> <enum>Qt::Vertical</enum> </property> </spacer> </item> <item row="0" column="0"> <widget class="QLabel" name="TextLabel1_3"> <property name="text"> <string>Web &Browser Application:</string> </property> <property name="buddy" stdset="0"> <cstring>browserApp</cstring> </property> <property name="wordWrap"> <bool>false</bool> </property> </widget> </item> <item row="1" column="0"> <layout class="QHBoxLayout"> <item> <widget class="QLineEdit" name="browserApp"/> </item> <item> <widget class="QPushButton" name="buttonBrowse"> <property name="sizePolicy"> <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>30</width> <height>32767</height> </size> </property> <property name="text"> <string>...</string> </property> </widget> </item> </layout> </item> <item row="2" column="0"> <widget class="QLabel" name="TextLabel1_3_3"> <property name="text"> <string>&Home page</string> </property> <property name="buddy" stdset="0"> <cstring>homePage</cstring> </property> <property name="wordWrap"> <bool>false</bool> </property> </widget> </item> <item row="3" column="0"> <layout class="QHBoxLayout"> <item> <widget class="QLineEdit" name="homePage"/> </item> <item> <widget class="QPushButton" name="buttonHome"> <property name="sizePolicy"> <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>30</width> <height>32767</height> </size> </property> <property name="text"> <string>...</string> </property> </widget> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="pdfTab"> <attribute name="title"> <string>&PDF</string> </attribute> <layout class="QGridLayout"> <item row="0" column="0"> <widget class="QLabel" name="TextLabel1_3_2"> <property name="text"> <string>PDF &Application</string> </property> <property name="buddy" stdset="0"> <cstring>pdfApp</cstring> </property> <property name="wordWrap"> <bool>false</bool> </property> </widget> </item> <item row="2" column="0"> <spacer name="spacer10"> <property name="sizeHint"> <size> <width>20</width> <height>81</height> </size> </property> <property name="sizeType"> <enum>QSizePolicy::Expanding</enum> </property> <property name="orientation"> <enum>Qt::Vertical</enum> </property> </spacer> </item> <item row="1" column="0"> <layout class="QHBoxLayout"> <item> <widget class="QLineEdit" name="pdfApp"/> </item> <item> <widget class="QPushButton" name="buttonPDF"> <property name="sizePolicy"> <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>30</width> <height>32767</height> </size> </property> <property name="text"> <string>...</string> </property> </widget> </item> </layout> </item> </layout> </widget> </widget> </item> <item> <layout class="QHBoxLayout"> <item> <spacer name="Horizontal Spacing2"> <property name="sizeHint"> <size> <width>0</width> <height>20</height> </size> </property> <property name="sizeType"> <enum>QSizePolicy::Expanding</enum> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </spacer> </item> <item> <widget class="QPushButton" name="buttonOk"> <property name="text"> <string>&OK</string> </property> <property name="autoDefault"> <bool>true</bool> </property> <property name="default"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QPushButton" name="buttonCancel"> <property name="text"> <string>&Cancel</string> </property> <property name="autoDefault"> <bool>true</bool> </property> </widget> </item> </layout> </item> </layout> </widget> <layoutdefault spacing="6" margin="11"/> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> <tabstops> <tabstop>settingsTab</tabstop> <tabstop>fontCombo</tabstop> <tabstop>fixedfontCombo</tabstop> <tabstop>colorButton</tabstop> <tabstop>linkUnderlineCB</tabstop> <tabstop>browserApp</tabstop> <tabstop>buttonBrowse</tabstop> <tabstop>homePage</tabstop> <tabstop>buttonHome</tabstop> <tabstop>pdfApp</tabstop> <tabstop>buttonPDF</tabstop> <tabstop>buttonOk</tabstop> <tabstop>buttonCancel</tabstop> </tabstops> <connections> <connection> <sender>buttonOk</sender> <signal>clicked()</signal> <receiver>SettingsDialogBase</receiver> <slot>accept()</slot> </connection> <connection> <sender>buttonCancel</sender> <signal>clicked()</signal> <receiver>SettingsDialogBase</receiver> <slot>reject()</slot> </connection> <connection> <sender>colorButton</sender> <signal>clicked()</signal> <receiver>SettingsDialogBase</receiver> <slot>selectColor()</slot> </connection> <connection> <sender>buttonBrowse</sender> <signal>clicked()</signal> <receiver>SettingsDialogBase</receiver> <slot>browseWebApp()</slot> </connection> <connection> <sender>buttonHome</sender> <signal>clicked()</signal> <receiver>SettingsDialogBase</receiver> <slot>browseHomepage()</slot> </connection> <connection> <sender>buttonPDF</sender> <signal>clicked()</signal> <receiver>SettingsDialogBase</receiver> <slot>browsePDFApplication()</slot> </connection> </connections> </ui>