<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0" stdsetdef="1"> <author></author> <comment>********************************************************************* ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. ** ** This file is part of Qt Assistant. ** ** This file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free ** Software Foundation and appearing in the files LICENSE.GPL2 ** and LICENSE.GPL3 included in the packaging of this file. ** Alternatively you may (at your option) use any later version ** of the GNU General Public License if such license has been ** publicly approved by Nokia Corporation and/or its subsidiary(-ies) (or its successors, if any) ** and the KDE Free Qt Foundation. ** ** Please review the following information to ensure GNU General ** Public Licensing requirements will be met: ** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** If you are unsure which license is appropriate for your use, please ** review the following information: ** http://trolltech.com/products/qt/licenses/licensing/licensingoverview ** or contact the sales department at sales@trolltech.com. ** ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Commercial License Agreement provided with ** the Software. ** ** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, ** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR ** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted ** herein. ** *********************************************************************</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>