Files
DCMV/src/form/pqFontPropertyWidget.ui
2022-01-24 10:10:45 +08:00

207 lines
6.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>FontPropertyWidget</class>
<widget class="QWidget" name="FontPropertyWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>500</width>
<height>136</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>500</width>
<height>0</height>
</size>
</property>
<property name="windowTitle">
<string>Text Property</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLineEdit" name="led_TextInput">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Specify the path to a TTF file here.</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="ButtonLayout">
<property name="spacing">
<number>2</number>
</property>
<item>
<widget class="QPushButton" name="pbtn_Accept">
<property name="text">
<string>Apply</string>
</property>
<property name="icon">
<iconset resource="../QDicomViewer.qrc">
<normaloff>:/pqWidgets/Icon/pq/pqApply.png</normaloff>:/pqWidgets/Icon/pq/pqApply.png</iconset>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbtn_Reset">
<property name="toolTip">
<string>Resets any changed properties to their values from the last time 'Apply' was clicked.</string>
</property>
<property name="text">
<string>Reset</string>
</property>
<property name="icon">
<iconset resource="../QDicomViewer.qrc">
<normaloff>:/pqWidgets/Icon/pq/pqCancel.png</normaloff>:/pqWidgets/Icon/pq/pqCancel.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbtn_Delete">
<property name="text">
<string>Delete</string>
</property>
<property name="icon">
<iconset resource="../QDicomViewer.qrc">
<normaloff>:/pqWidgets/Icon/pq/pqDelete.png</normaloff>:/pqWidgets/Icon/pq/pqDelete.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QWidget" name="widget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QComboBox" name="cbx_FontFamily">
<property name="toolTip">
<string>Select font</string>
</property>
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
<property name="minimumContentsLength">
<number>2</number>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spx_FontSize">
<property name="toolTip">
<string>Set font size</string>
</property>
<property name="minimum">
<number>1</number>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbtn_FontColor">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="dspx_Opacity">
<property name="toolTip">
<string>Set font opacity</string>
</property>
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbtn_Bold">
<property name="toolTip">
<string>Bold</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../QDicomViewer.qrc">
<normaloff>:/pqWidgets/Icon/pq/pqBold24.png</normaloff>:/pqWidgets/Icon/pq/pqBold24.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbnt_Italics">
<property name="toolTip">
<string>Italics</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../QDicomViewer.qrc">
<normaloff>:/pqWidgets/Icon/pq/pqItalics24.png</normaloff>:/pqWidgets/Icon/pq/pqItalics24.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tbtn_Shadow">
<property name="toolTip">
<string>Shadow</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../QDicomViewer.qrc">
<normaloff>:/pqWidgets/Icon/pq/pqShadow24.png</normaloff>:/pqWidgets/Icon/pq/pqShadow24.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="../QDicomViewer.qrc"/>
</resources>
<connections/>
</ui>