Files correlati : cg0.exe cg0700a.msk cg0700b.msk cg3.exe cg4.exe Bug : Commento: Merge 1.0 libraries
319 lines
10 KiB
Groff
319 lines
10 KiB
Groff
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0" stdsetdef="1">
|
|
<author></author>
|
|
<comment>*********************************************************************
|
|
**
|
|
** Copyright (C) 2015 The Qt Company Ltd.
|
|
** Contact: http://www.qt.io/licensing/
|
|
**
|
|
** This file is part of the autotests of the Qt Toolkit.
|
|
**
|
|
** $QT_BEGIN_LICENSE:LGPL$
|
|
** Commercial License Usage
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
** accordance with the commercial license agreement provided with the
|
|
** Software or, alternatively, in accordance with the terms contained in
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
** and conditions see http://www.qt.io/terms-conditions. For further
|
|
** information use the contact form at http://www.qt.io/contact-us.
|
|
**
|
|
** 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 or version 3 as published by the Free
|
|
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
** following information to ensure the GNU Lesser General Public License
|
|
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
**
|
|
** As a special exception, The Qt Company gives you certain additional
|
|
** rights. These rights are described in The Qt Company LGPL Exception
|
|
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
**
|
|
** GNU General Public License Usage
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
** General Public License version 3.0 as published by the Free Software
|
|
** Foundation and appearing in the file LICENSE.GPL included in the
|
|
** packaging of this file. Please review the following information to
|
|
** ensure the GNU General Public License version 3.0 requirements will be
|
|
** met: http://www.gnu.org/copyleft/gpl.html.
|
|
**
|
|
** $QT_END_LICENSE$
|
|
**
|
|
*********************************************************************</comment>
|
|
<exportmacro></exportmacro>
|
|
<class>RichTextFontDialog</class>
|
|
<widget class="QDialog" name="RichTextFontDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>255</width>
|
|
<height>158</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Font Properties</string>
|
|
</property>
|
|
<property name="sizeGripEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QGridLayout">
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<layout class="QGridLayout">
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="1" rowspan="1" colspan="2">
|
|
<widget class="QComboBox" name="fontCombo">
|
|
<item>
|
|
<property name="text">
|
|
<string>default</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="TextLabel1_2">
|
|
<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="1" column="0">
|
|
<widget class="QLabel" name="TextLabel2">
|
|
<property name="text">
|
|
<string>Rel. &Size:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>fontSizeCombo</cstring>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<spacer name="Spacer13">
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>20</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 row="2" column="0">
|
|
<widget class="QLabel" name="TextLabel1">
|
|
<property name="text">
|
|
<string>C&olor:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>colorButton</cstring>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" rowspan="1" colspan="2">
|
|
<widget class="QComboBox" name="fontSizeCombo">
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="insertPolicy">
|
|
<enum>QComboBox::InsertAtTop</enum>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>0</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>-4</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>-3</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>-2</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>-1</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>+1</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>+2</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>+3</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>+4</string>
|
|
</property>
|
|
</item>
|
|
</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>
|
|
<item row="1" column="0">
|
|
<spacer name="Spacer14">
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>20</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Expanding</enum>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="Line" name="Line1">
|
|
<property name="frameShape">
|
|
<enum>QFrame::HLine</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<layout class="QHBoxLayout">
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<spacer name="Spacer12">
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>20</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="okButton">
|
|
<property name="text">
|
|
<string>&OK</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="cancelButton">
|
|
<property name="text">
|
|
<string>&Cancel</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
|
|
<tabstops>
|
|
<tabstop>fontCombo</tabstop>
|
|
<tabstop>fontSizeCombo</tabstop>
|
|
<tabstop>colorButton</tabstop>
|
|
<tabstop>okButton</tabstop>
|
|
<tabstop>cancelButton</tabstop>
|
|
</tabstops>
|
|
<connections>
|
|
<connection>
|
|
<sender>colorButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>RichTextFontDialog</receiver>
|
|
<slot>selectColor()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>okButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>RichTextFontDialog</receiver>
|
|
<slot>accept()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>cancelButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>RichTextFontDialog</receiver>
|
|
<slot>reject()</slot>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|